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

Web application works when put in webapps\examples directory, otherwise gives HTTP Status 404 error

 
mani manisha
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

For my web application- If i put it in the '\examples' directory (...\Tomcat 6.0\webapps\examples\MyWebAppln) it works fine for 'http://localhost:8080/examples/MyWebAppln/index.html'

But if I put it in webapps directory (...\Tomcat 6.0\webapps\MyWebAppln ) it gives a HTTP Status 404 error for 'http://localhost:8080/MyWebAppln/index.html'

Please help

Thanks in advance...
 
lee kolb
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
don't you have to update your web.xml file to reflect to move?

never mind It's not necessary.
 
Vijitha Kumara
Bartender
Posts: 3908
9
Chrome Fedora Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mani manisha wrote:...But if I put it in webapps directory (...\Tomcat 6.0\webapps\MyWebAppln ) it gives a HTTP Status 404 error for 'http://localhost:8080/MyWebAppln/index.html'

You have to put your own web applications in their own directories as you have done in this case. What are the contents of your application (files/directory structure etc...)?

And welcome to the Ranch, Lee Kolb!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic