• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP pages is not working with tomcate

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
servlets is working fine with tomcate but
when i use jsp pages in examples directory of tomcate
there is an error.. 500 error
class notdefFound javac main tools.
can anybody help me pls. i'm still beginner in jsp.
thanks
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Make sure javac is on Tomcat's System Path (not Classpath). It needs to compile the JSP pages and therefore must be able to find the compiler (javac in this case). Once to add the appropriate path entry and things should work fine.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi there,
Even i had the same problem , the reasons r many to name a few r claspath setting ,wher u have stored the files , if u have two versions of servlet.jar, registry error.
Wat i did was i formatted n made a fresh installation n they r workin now , why dont u tyr tht .
bye take care
send me the reply wat happened
 
Author
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is going to sound strange...
Look for tools.jar in your JDK directory.
Make sure it is on the classpath for Tomcat or drop it in the extention directory.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic