facebook

JSP debug problem in tomcat 5

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #228521 Reply

    HenryLai
    Member

    Is this a known bug, debugging jsp using tomcat 5, myeclipse 3.8.4, eclipse 3.1 or is there a fix?

    
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="htm" %>
    <htm:html>
      <head><title>Test page</title></head>
      <body>
        This is my JSP page. <br>
        <% 
        for ( int i=0; i < 10; i++ ) {
            System.out.println("This is line" + i);
        }
        %>
      </body>
    <htm:html>
    

    I can set breakpoint at the scriplet, single step and see the correct changing values in the variable view, but the cursor is always on the <htm:html> tag
    Changing to the following, eliminating the tag lib usage, it works properly

    
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="htm" %>
    <html>
      <head><title>Test page</title></head>
      <body>
        This is my JSP page. <br>
        <% 
        for ( int i=0; i < 10; i++ ) {
            System.out.println("This is line" + i);
        }
        %>
      </body>
    <html>
    

    BTW either jsp debug fine with weblogic 8

    #228530

    Riyad Kalla
    Member

    We are not aware of this issue, I have filed it for us to look into, thank you for bringing it to our attention.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSP debug problem in tomcat 5

You must be logged in to post in the forum log in