File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes HTML in web app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HTML in web app" Watch "HTML in web app" New topic

HTML in web app

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, where do we put the HTML files for MyApps in c:/tomcat/webapps/MyApps?
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
hmmmm......interesting qstn.
Generally I use the ant tool to take care of everything.
Only once did I publish my servlet to my friends, just trying
to see what it all looks like, so I published it in the
home dir on my disk which was being served by MS/Pers. Web Serv.
Also, with the appace web server, I had put the html files
in its home dir.
Having said that, I don't think it matters where we put the HTML
files (unless of course if its for a commercial appli. Its just the .class files which are important
since the tomcat or anyother will look for the servlet
in a specific area. Thats my take anyway.
Any other comments?
- satya

[This message has been edited by Madhav Lakkapragada (edited January 06, 2001).]

Take a Minute, Donate an Hour, Change a Life
I agree. Here's the link:
subject: HTML in web app
It's not a secret anymore!