Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » jsp source not found
jsp source not found [message #534385] Tue, 18 May 2010 18:42 Go to next message
Eclipse UserFriend
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 00:27 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: jsp source not found [message #540411 is a reply to message #534385] Wed, 16 June 2010 01:31 Go to previous message
Eclipse UserFriend
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: Wed Jul 02 14:46:18 EDT 2025

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

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

Back to the top