• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

find equivalent java file for a jsp in weblogic

 
Rahul Ba
Ranch Hand
Posts: 210
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Where to find equivalent java file for a jsp in weblogic. My JSP is thwoing nullpointerexception. It says __results.java :969
I want to find out this line 969 in equivalent jsp class.

Thanks in advance.
 
Ed Ward
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I recall, I think the first thing you need to do is ensure in your weblogic.xml descriptor the following value is set
<jsp-descriptor>
<keepgenerated>true</keepgenerated>
</jsp-descriptor>

So that the java src files for the jsps are saved.

I can't remember exactly where it saves them, but somewhere under user_projects/domains/yourdomain/servers/yourserver/tmp/_WL_user/yourappname/
seems to ring a bell.
Look for a sub-dir named jsp_servlet a a dir or two below that,

Cheers!

oh almost forgot, you can specify keepgenerated at the app config in the WL10 console as well.

And, the root level package can be defined as well (aka directory), just defaults to jsp_servlet I think.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic