facebook

Problem in jsp debugging

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

    alamelu
    Member

    As per the tutorial for setting up jsp debugging, I was able to set up everything. But I couldn’t find the option of setting “Precompile jsp” to false. So, if I put a breakpoint in jsp, it takes me to the _jsp file(compiled version).

    window-> preferences -> editors -> JSP doesn’t have the option to disable precompile jsp. Could some one tell how to debug jsp in myeclipseide?

    Here is the configuration information:

    *** Date: Thu Apr 06 17:14:51 PDT 2006

    *** System properties:
    OS=Windows2000
    OS version=5.0
    Java version=1.4.2_03

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.1 GA
    Build id: 20060309-4.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Platform

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse RCP

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Java Development Tools

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Plug-in Development Environment

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Project SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    71c_48
    -clean
    -vm
    C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\javaw.exe

    #249968 Reply

    Riyad Kalla
    Member

    As per the tutorial for setting up jsp debugging, I was able to set up everything. But I couldn’t find the option of setting “Precompile jsp” to false. So, if I put a breakpoint in jsp, it takes me to the _jsp file(compiled version).

    window-> preferences -> editors -> JSP doesn’t have the option to disable precompile jsp. Could some one tell how to debug jsp in myeclipseide?

    Can you tell me which tutorial you were reading that mentioned “precompile JSP”, there is no such option in MyEclipse, so I don’t know wha tyou are referring to.

    #250008 Reply

    alamelu
    Member

    I did the setup based on this tutorial in myeclipseide.com website from the link in the secondary navigation.

    http://www.myeclipseide.com/images/tutorials/webprojectdemo.htm

    Please let me know how to(which document) should I look into to set up the jsp debugging correctly? Thanks in Advance.

    #250016 Reply

    Riyad Kalla
    Member

    Oh I see, that’s an outdated screen cast, we should remove that. In the mean time, check out our updated guide here: http://www.myeclipseide.com/images/tutorials/quickstarts/webprojects/

    You can either run through the whole thing following the tutorial, or start with Section 7 which is deploying, testing and debugging.

    #250159 Reply

    alamelu
    Member

    I tried according to the new tutorial document, I am still getting the same problem. My jsp is compiled and it takes me into login_jsp(not to login.jsp) page. Could you help me figure out this issue? Thanks.

    #250164 Reply

    Riyad Kalla
    Member

    This is very strange because MyEclipse has no knowledge of the work dir that Tomcat uses.

    Did you change the context dir to point to your project in Tomcat or change the working dir from the default somehow?

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Problem in jsp debugging

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