This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Deployment?

 
Alice A
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I have installed tomcat4.0.I am able to run the examples.could someone tell me where should i save the servlet?Is it in WEB-INF directory?
Thanx in advance
Alice.
 
Jared Krull
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On my server its WEBINF/CLASSES
 
Alice A
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Thanx for ur reply.I got it.
Regards!
Alice
 
Bal Sharma
Ranch Hand
Posts: 273
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are all JSP examples also running? Just curious I tried but did not work except NUMGUESS example. I am using tomcat 3.2.3 for JSP. BK
Hi!
I have installed tomcat4.0.I am able to run the examples.

 
Frank Carver
Sheriff
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please note that strictly the layout of files in a web application is precise and case-sensitive. Classes and resources to be loaded using ClassLoader.getResource() should be located in a directory called WEB-INF/classes.
Any other combination (missing the "-", wrong case of names etc.) will result in a web application which is NOT portable to other machines or other servlet containers.
 
Frank Carver
Sheriff
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Alice A", "fordy",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in again with a new name which meets the requirements.
Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic