This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Where to place HTML file in Tomcat 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Where to place HTML file in Tomcat 5" Watch "Where to place HTML file in Tomcat 5" New topic
Author

Where to place HTML file in Tomcat 5

Annie Murray
Greenhorn

Joined: Jun 09, 2004
Posts: 4
Hi everyone,

Which directory should I put my HTML form which calls a servlet. I have my servlet in C:\jakarta-tomcat-5.0.25\webapps\ROOT\WEB-INF\classes\showParameters . So where do I put the HTML file showParametersForm.html.

thanks
Annie
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
you'd put that in webapps/ROOT or any subdirectory of it except WEB-INF


42
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Where to place HTML file in Tomcat 5
 
Similar Threads
TOMCAT - Where should GIFs be placed ?
small doubt Please Clarify!!!
deploying Servlets in Apache (w/ Tomcat plug-in)
cocoon
PUT method is not working in Tomcat