Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » jsp source not found
jsp source not found [message #534385] Tue, 18 May 2010 22:42 Go to next message
sasha is currently offline sashaFriend
Messages: 58
Registered: July 2009
Member
I am using WTP in eclipse galileo. I am not able to see the source of jsps,
I a however set breakpoints.
I am doing remote debugging and not using WTP to launch my server. How do I
set up the source locations ?
the "Edit source lookup path" does not seem to do much for jsps. I could
preserve generated java files and put breakpoints in them, but that defeats
the purpose of using jsps and makes it needlessly complicated
thx
Re: jsp source not found [message #534410 is a reply to message #534385] Wed, 19 May 2010 04:27 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

On 5/18/2010 6:42 PM, sasha wrote:
> I am using WTP in eclipse galileo. I am not able to see the source of jsps,
> I a however set breakpoints.
> I am doing remote debugging and not using WTP to launch my server. How do I
> set up the source locations ?
> the "Edit source lookup path" does not seem to do much for jsps. I could
> preserve generated java files and put breakpoints in them, but that defeats
> the purpose of using jsps and makes it needlessly complicated
> thx

Where *are* the JSPs locally? Are you able to find the sources of
Servlet classes you're debugging remotely?

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: jsp source not found [message #540411 is a reply to message #534385] Wed, 16 June 2010 05:31 Go to previous message
Martin Israelsen is currently offline Martin IsraelsenFriend
Messages: 1
Registered: June 2010
Junior Member
To view JSP source files (or rather, the resulting class Java files), go to Run Configurations, select your server and then click the source tab. Click add to add the source path of your JSP java files.

In my setup, the source path is:

\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server .core\tmp0\work\Catalina\localhost\_

Restart the server and you should now be able to view the JSP source during debugging or when clicking on a source line in the console.

Hope this helps.

Martin Israelsen
Previous Topic:org.eclipse.wst.xml.XML_DEFAULT
Next Topic:JSDoc Template/autocomplete
Goto Forum:
  


Current Time: Fri Mar 29 00:16:04 GMT 2024

Powered by FUDForum. Page generated in 0.10288 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top