Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

convert html values to xml file

Status
Not open for further replies.

lovinasd

Programmer
Jan 23, 2005
23
US
hi,
I have a jsp file in which i have two html elements like
<form name="form1" action="test.xml" method="post">
<input type="text" name="para1">
<input type="text"name="para2">
<input type="submit" name="ok" value="ok">
</form>
when this for gets submitted i send it to a xml which has tags defined but how do i get to fit these html variables values in the xml.
if i use request.getparameter("para1") it give an error ..
as java code can't be wriiten in xml.
Is there a way that i can get dynamic values of the jsp/html into my xml ???
thanks
 
Whats your xml?

Jon

"I don't regret this, but I both rue and lament it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top