A long time ago, I submitted a bug report pointing out that when JSP pages are
generated to servlets, the directory structure in the "work" directory doesn't
match the package structure of the generated class.  When I checked the bug
report later, I believe it was marked as "Cosmetic".  I believe this issue is
more than cosmetic, although certainly not critical.

The difficulty this creates (I think) is if you want to load Tomcat in a
debugger as an application in order to debug generated JSP code, not using the
fancy integrated web server and JSP debugger.  The debugger doesn't seem to
like it if the directory structure that a class lies in doesn't match the
package structure, unless I'm misunderstanding what I'm seeing.

When I try to do this in NetBeans (and Tomcat4.0latest), I'm able to set a
breakpoint in the generated code, and the output window says that it hit the
breakpoint, but it says "Unavailable source file", even though I can display
the source file in the integrated source editor.

So am I understanding this situation correctly, or is there something basic
that I'm overlooking?

-- 
===================================================================
David M. Karr          ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

Reply via email to