• 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

Linux class path for JSP and Servlets!!!

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
I have a problem with updating my classpath in linux...
I tried including boith the servlet-api.jar and the jsp-api.jar to the classpath...when i do that i cannot compile my servlet class...if i include just the servlet api i manage to compile the class , invoking a servlet from a n html works fien then...but bot when i wasnt to use my jsp...
How do i manage to work with both the servelt and the jsp???
regards
Menon
 
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Arundhati,

Somebody might be able to help you if you can post more specific details of your problems, where are the jarfiles places, what is your classpath, and the most important, what is the error message you get when you try to compile your classes.
 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I hope the order of including jar files also matters some-time. In-case if you have given jsp-api.jar first and servlet-api.jar second try giving servlet first and jsp second since some of the servlet dependent files might over-written or taken from wrong place. Hope this might solve or give a hint to your problem.

Shankar
SCJP,SCWCD
 
Let's go to the waterfront with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic