File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where should I place the *.shtml file in the Java Web Server

 
Muffazal Tikiwala
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written a servlet and a *.shtml file for Server Side Include to pass parameters to the servlet. But when I try to invoke the .shtml file from the browser I got an error message "File not found".
The method I used to invoke the .shtml file is:
http://localhost:8080/filename.shtml
I had saved the .shtml file in the Java Web Server directory
I want to know where I should place the .shtml file in the Java Web Server so that it can be run from the browser and the result sent to the client.
Please help
 
Suneel Setlur
Ranch Hand
Posts: 202
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Put the .shtml file in your document root.In the public_html directory of the javawebserver.

------------------
Suneel
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic