Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

where to find JSP generated servlet codes

 
Tom Tang
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone tell me where and how to find the JSP engine slef-generated servlet codes? I think they are very useful for debugging.
 
James Hobson
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on the servlet container (it may be a standard, Im not sure, but it doesnt seem to always be the same.....)
Tomcat has a work directory
(for example D:/JBoss-2.4.1_Tomcat-3.2.3/tomcat/work)
and they live in there.
James
 
Manas Ahlaad
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for tomcat it is in work directory
for weblogic we can specify where it should lie
directory name is _tmp_war/jsp_servlet
 
Tim Holloway
Bartender
Posts: 18422
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check your server docs, too - many of them discard the Java source after it has been compiled into a class unless you tel them not to!
 
Sarath Mohan
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Jrun
it will be
<server-root-dir>\servers\<server-name>\<web-app-name>\WEB-INF\jsp
 
bill williams
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
where is the compiled jsp code in websphere? or how to set it to save the compiled source code? thanks
 
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!