wood burning stoves 2.0*
The moose likes Tomcat and the fly likes where to put JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "where to put JSP" Watch "where to put JSP" New topic
Author

where to put JSP

sandeep kumar jangra
Greenhorn

Joined: Jan 12, 2005
Posts: 29
hi everybody, I m new to jsp and tomcat. when i store my application in examples folder in tomcat webapps then everything works fine but when i put it in webapps folder it gives error 404. Where shud I put my application. do I need to do anything so that my files run from webapps.
kindly help and tell full procedure
thanx in advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60776
    
  65

Since this is a Tomcat setup issue, moving to the Tomcat forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Tim Baker
Ranch Hand

Joined: Oct 04, 2003
Posts: 541
Well, the jsp-examples folder is a context. if you want them in another folder, you create another context. so read a tomcat tutorial on how to create contexts in your tomcat configs. If you want them to just show up in the root of your server ie http://localhost:8080/my.jsp then you can just put them in the ROOT folder and you can safely delete whats already in there. Thats proably the easiest solution


Kim Jong II (North Korea's Dear Leader) said:Nuclear weapons don't kill people, people kill people.
 
 
subject: where to put JSP
 
Similar Threads
apache doesn't run jsp
problem with struts in weblogic
simple JSP and JavaBean, error 500
question about JSP - Tomcat
where to put my application?