facebook

JSP Debugging with TOMCAT

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #261258 Reply

    jaffar_ramay
    Member

    I have a project which I deploy with ANT build.xml and can’t deploy it with Eclipse’s provided deployment methods

    I am using
    Eclipse SDK Version: 3.2.1
    MyEclipse Version 5.0 Milestone 2

    I want to debug my JSP after deployment with ANT build.xml
    I have configured TOMCAT also
    Marked the breakpoints as well
    But failed to Debug the JSP

    Please anyone could help me ??
    Please give brief answer, I am new to MyEclipse

    #261266 Reply

    Riyad Kalla
    Member

    Jaffar,
    First things first, please remove MyEclipse 5.0M2 and reinstall a clean copy of MyEclipse 5.0.1 GA from our site. The Milestone 2 release is old and there have been a number of bug fixes in the 5.0.1 and then the 5.0.3 release that will be out in 2 weeks.

    What does your project layout look like?

    #261294 Reply

    jaffar_ramay
    Member

    src -> for my classes
    ui – > for my jsps
    build.xml -> ANT deployment file
    other folders are not relevant to me, however they are used by ANT during deployment
    could you help me out with upgrading MyEcplise because its my office machine and i don’t want to spend time on such times at this time, we have to finish our project as soon as possible

    #261295 Reply

    jaffar_ramay
    Member

    I have upgraded to MyEclipse 5.0 GA from your site
    but please could u guide me how could I debug JSP in MyEclipse

    My Web Project Structure is as below :-

    src -> for classes
    ui -> for jsps
    stencils -> un-compiled report files (these will compiled but ANT at the time of deployment)
    tld -> containing my TAB libs
    libs -> containing lib
    build.xml -> for deployment

    I have configured TOMCAT, it is starting from MyEclipse
    I have configured ANT build, it is also deploying my project

    Please guide me how could I debug JSPs

    NOTE: I want to deploy my project through ANT build file only

    #261301 Reply

    Riyad Kalla
    Member

    Jaffar,
    After you deploy your project can you debug your Java files at all?

    Also I’m trying to see what the layout of your project looks like, can you take a screenshot of your project layout in the package explorer and PM it to me? MyEclipse needs to know what the “web root” of your project is, which means your project has to be a web project. If it doesn’t know that, it doesn’t know from where to resolve JSP paths.

    If you open your project properties and select the MyEclipse item, you can see which capabilities are enabled on your project from the icons. We want to make sure the Web capabilities are enabled from here.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: JSP Debugging with TOMCAT

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