• 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

servlet error!!!

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hai everybody ,
My java is in C:\s1studio_jdk\j2sdk1.4.1_02
my system variables are:
JAVA_HOME:C:\s1studio_jdk\j2sdk1.4.1_02
classpath:C:\s1studio_jdk\j2sdk1.4.1_02\bin
Path:C:\s1studio_jdk\j2sdk1.4.1_02\bin
now I downloaded Tomcat server 5.0
it was in D:\Program Files\Apache Software Foundation\Tomcat 5.0
I configured CATALINA_HOME like this
CATALINA_HOME :\Program Files\Apache Software Foundation\Tomcat 5.0
so what else I got to do? to "run a servlet "? I don't know anything else
please help me out.
I appreciate u r help.
 
ramakrishna pydipati
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please help me ut guys I am in trouble!!
 
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your setup should be similar as follows, for example:

I am using the j2ee.jar file from J2EE, but you can set your classpath to point to tomcat's serlvet-api.jar, I believe it is called:


This will give you some idea of how your environment should be setup.
You can startup tomcat by either:

or "cd" to %catalina_home%\bin and then executing startup.bat from the command line.
If you have any questions about tomcat, I believe the good people at the tomcat forum are very helpfull.
craig.
 
I found a beautiful pie. And a 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