• Post Reply Bookmark Topic Watch Topic
  • New Topic

where to find JSP generated servlet codes  RSS feed

 
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: 18531
61
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!