This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Forms in XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Forms in XML" Watch "Forms in XML" New topic

Forms in XML

Raghuraman Muthuswamy
Ranch Hand

Joined: Mar 18, 2003
Posts: 73
Hello All,
I am trying to combine XML and JSP. I have a XML page which should have a form (text field and submit button). I have to send this XML to JSP page and using getParameter, i have to display the name in the text field. I am using XML in the JSP page too. How can i code the XML with Form Fields.

Your help will be very much appreciated.

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

How can i code the XML with Form Fields

Pretty much exactly as you would with HTML, only remembering to make sure it is well formed.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: Forms in XML
Similar Threads
field value displayed wrongly
enabling and disabling text fields and buttons
display text in jsp
Action form is not populated while using html:form enctype="multipart/form-data"
Using struts validation with select boxes