Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : J2EE : JSP : develop one JSP page to modify an XML document Signup · Login
Author Thread
develop one JSP page to modify an XML document
Posted in tutorial: Forwarding and Including Response from other Servlets
·  chinnamimmy
User
Joined: 21 Oct 2003
Total Posts: 1
develop one JSP page to modify an XML document
Posted: 21 Oct 2003
I need a JSP pae where user can enter following details
URL
UID
UserName
Password
package name
scenario name
payload name
path
intrusive
datafile
frequency

After entering all these details user will click on Start Payload Generator, Then you need to update following xml template
with the user entered details and call One A Java Program.

This java program is our payload generator, which will read the xml file and generates the payloads scenario server.

Here is the XML template:
-----------------------------------

<config>
<server url="http://localhost:8080/exam1"/>
<uid>ADDD</uid>
<username>Administrator</username>
<password>admin</password>
<package name="testShPack">
<scenario name="Scenario1"/>
<payload name="XMLFile1" path="salesorder.xml" intrusive="false" datafile="salesorder.csv" frequency="100"/> </package>
</config>

I am always follows "something is better than nothing, but nothing is better than nonsence".

Users Who Have Visited This Thread In Last 24 Hours
3 Visitors

Login
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2009 Stardeveloper.com, All Rights Reserved.