Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Preferred Packaging for JSP  RSS feed

 
Mandan Happy
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What du u guys recommend ?
1 package without precompiling and add a jsp-file element in the web.xml
2 package with precompiling and add the precompiled jsp servlets in the web.xml
pros and cons ?
Thanks
Mandan
 
Mandan Happy
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...I went thru petstore.war given by weblogic 7.0 and
websphere 4.0...
in weblogic 7.0 ....wev-inf/classes contains the precompiled servlets but no mention about these servlets is given in the
web.xml deployment descriptor ( the JSP 1.2 specification talks about packaging but says thats its non-normative )
in websphere no precompiled JSP servlets are present only the jsp files are preesent under / .
what are the pros and cons of using precompiled JSP s?
"JSP spec says that its more likely that JSP files are shipped in the source form....."
can i create a WAR that doesnt contains JSP source but contains only the precompiled servlets....if one does like that y should
he do it...
the web.xml s DTD in servlet specification 2.3 describes an element named
<!ELEMENT jsp-file (#PCDATA)>
but few war files that I have went thru doesnt use this.
Thanx in advance
Mandan
 
Mandan Happy
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...I went thru petstore.war given by weblogic 7.0 and
websphere 4.0...
in weblogic 7.0 ....wev-inf/classes contains the precompiled servlets but no mention about these servlets is given in the
web.xml deployment descriptor ( the JSP 1.2 specification talks about packaging but says thats its non-normative )
in websphere no precompiled JSP servlets are present only the jsp files are preesent under / .
what are the pros and cons of using precompiled JSP s?
"JSP spec says that its more likely that JSP files are shipped in the source form....."
can i create a WAR that doesnt contains JSP source but contains only the precompiled servlets....if one does like that y should
he do it...
the web.xml s DTD in servlet specification 2.3 describes an element named
<!ELEMENT jsp-file (#PCDATA)>
but few war files that I have went thru doesnt use this.
Thanx in advance
Mandan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!