BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Scrum
  2. Apache Maven 2
  3. Essential MySQL
  4. Node.js
  5. Groovy
  1. jQuery Selectors
  2. Ajax
  3. Java
  4. Spring Config.
  5. Java Concurrency

Link Details

Link 6503 thumbnail
User 207905 avatar

By techmag
via techmag.biz
Published: Nov 10 2006 / 07:55

When You deploy the JSP on server the JSP gets transformed into Java servlet. Then this servlet gets compiled at run time And the Java file will be deleted by the server. Incase while debugging if you need the Java servlet class then you need to make changes the JSP engine configuration parameters. Below I have shown setting for two famous servers websphere and tomcat.
  • 6
  • 0
  • 1607
  • 0

Comments

Add your comment
User 201068 avatar

dbaxps replied ago:

0 votes Vote down Vote up Reply

I used to work with ant for compiling and
deploying apps to TomCat.
Modify build.xml as required in standard TomCat's deployer folder and issue:

$ ant -f build.xml
$cd build
$ls -CR

Regarding TomCat, view also:
http://librenix.com/?inode=9205
for details if needed.

User 201716 avatar

unchqua replied ago:

0 votes Vote down Vote up Reply

Tomcat 3.3, link to which documentation is given in the article, is very old now; current stable Tomcat branch is 5.5. Here's actual link: http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html . Additionally, article says that context-related configuration resides in $TOMCAT_HOME/conf/server-name.xml . This is not true now as in latest versions it must be placed in $TOMCAT_HOME/conf/<Engine name>/<Host name>/<Context name>.xml , or, preferrably, in <Your application>.war$META-INF/context.xml .

User 207999 avatar

Weave replied ago:

0 votes Vote down Vote up Reply

Correct me if I'm wrong but with Tomcat 5.0+ the generated servlet files are output to the "$TOMCAT_HOME/work/Catalina/[hostname]/[webapp]/org/apache/jsp/" directory by default and no extra configuration is needed.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (0)