Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generating JSPs dynamically using XSL transformations

 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, sorry in advance for the weird question
Tom, I trust that you'll move this to the JSP forum if you consider it more appropriate.
So, here we go:
Is it possible with some existing tools to generate an XML document to be interpreted as the JSP source by the web container? It can be done the other way (JSP generating XML, which is handled by some filter) but could there (realistically) be a need for this kind of functionality?
 
Sue Spielman
Author
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP 2.0 has a number of XML support improvements so that a JSP document can be an XML document. The extension becomes .jspx . Check out the JSP 2.0 spec, I believe it is section 6 that explains all of this.
Sue
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sue Spielman:
JSP 2.0 has a number of XML support improvements so that a JSP document can be an XML document. The extension becomes .jspx . Check out the JSP 2.0 spec, I believe it is section 6 that explains all of this.
Sue

jsp <---> asp
jspx <---> aspx
hmmmmmm, see a pattern here?
 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Who's the pattern originator here (is it MS or SUN)...
Cheers,
Anil
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sue, what I meant was whether it's possible to generate the JSP code (the XML document) dynamically instead of a static source file, not whether it's possible to write a JSP completely in XML (I knew that one already).
Thanks anyway for bothering to respond to this strange stuff
[ May 30, 2003: Message edited by: Lasse Koskela ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic