Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

where to find JSP generated servlet codes  RSS feed

 
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.
 
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
 
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
 
Bartender
Posts: 19361
86
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!
 
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
 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!