Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2007

Tip: Looking for answers? Try searching our database.

Debugging jsp's in eclipse

Thread view: 
gwoodhouse@gmail.com - 22 Oct 2007 12:14 GMT
Hello all,

Hopefully you can help me with something.

I'm working on a problem right now and im trying to solve it myself -
unfortunatly the problem involves passing a form bean from one jsp to
another with a field of the bean not being displayed on the other
side.

Now, if only i could have a snoop at the form bean from a debug window
- maybe i could see what the problem was.

In eclipse i can set a debug point in JSP code but i cannot evaluate
or inspect any of the variables in my code - I do however have access
to the page variables -

Could someone please tell me where i actually find things being passed
across (formbeans in particular?). I havn't been able to find out on
google.

Thanks in advance for your help - hopefully it will be a quick liner
for someone out there.

Graeme Woodhouse
Travis James - 22 Oct 2007 20:21 GMT
> Now, if only i could have a snoop at the form bean from a debug window
> - maybe i could see what the problem was.
>
> In eclipse i can set a debug point in JSP code but i cannot evaluate
> or inspect any of the variables in my code - I do however have access
> to the page variables -

I've been able to debug JSPs in Eclipse with the JDT and WST projects
from eclipse.org. (Don't recall which one actually integrates the JSP.)

As far as debugging, I can set a breakpoint and stop in the JSP. I
cannot inspect the data through the "inspect" option, but I can look at
the Variables perspective and see everything in scope.

I hope that helps.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.