• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

JSP Compilation issue with Tomcat 4.1 & Eclipse 3.2.1

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,


I need to do JSP debugging in an older application that uses Tomcat 4.1 and jdk 1.4.1 This is running on Windows XP. I am using Eclipse 3.2.1. When Tomcat compiles the JSP page, it generates the Java file with the package name as "package org.apache.jsp;". But the actual directory structure under which the generated class is created is like "...Tomcat\work\Standalone\localhost\AppName\main". When I try to do build using Eclipse, it is giving compilation error because it is expecting the package name to be "package org.apache.jsp.main;". What can I do to make Tomcat generate the proper package name withing the Java class and also to generate under the corresponding directory structure i.e. ""...Tomcat\work\Standalone\localhost\AppName\org\apache\jsp\main"?

PS: The application works fine. But, I cannot do JSP debugging with Eclipse. I do not have this issue with Tomcat 5 as it generates the Java class without any issue with the package name and location.

Thanks for your help or any pointers you can provide.
 
We must storm this mad man's lab and destroy his villanous bomb! Are you with me tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic