This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 203
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: find equivalent java file for a jsp in weblogic
 
Similar Threads
Complied JSP classes in Weblogic
Class loading
JBoss deployment descriptor files ?
JCA weblogic-ra.xml equiv for jboss3.2.2
Where can i see the java file of a container converted JSP file in weblogic