Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to create XML element tag using JSP?

 
fan mo
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18169
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you get hold of a copy of the June 2001 issue of "Java Report"? It has an example.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic