wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes find equivalent java file for a jsp in weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "find equivalent java file for a jsp in weblogic" Watch "find equivalent java file for a jsp in weblogic" New topic
Author

find equivalent java file for a jsp in weblogic

Rahul Ba
Ranch Hand

Joined: Oct 01, 2008
Posts: 205
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

Joined: Jan 30, 2006
Posts: 147
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.
 
wood burning stoves
 
subject: find equivalent java file for a jsp in weblogic