wood burning stoves*
The moose likes Servlets and the fly likes how to create XML element tag using JSP? 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 » Java » Servlets
Bookmark "how to create XML element tag using JSP? " Watch "how to create XML element tag using JSP? " New topic
Author

how to create XML element tag using JSP?

fan mo
Ranch Hand

Joined: Mar 14, 2000
Posts: 36
I want to create XML file using JSP
To create the element dynamically, I want to put JSP expression in a "< >" tag.
such as:
<<%= request.getParameter("name") %>>
But this will give me a error in creating the XML file, it is not allowed when the JSP contentType is "text/XML".
anyone know how to do with it? thanks.
[This message has been edited by fan mo (edited July 19, 2001).]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15959
    
  19

Can you get hold of a copy of the June 2001 issue of "Java Report"? It has an example.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create XML element tag using JSP?
 
Similar Threads
How to insert brackets into an XML element value?
Checking the attribute value before extracting its data
XML help
display xml in jsp - urgent
how comws varaible in the tag