aspose file tools
The moose likes Tomcat and the fly likes where to put JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply 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: 56216
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: where to put JSP
 
Similar Threads
apache doesn't run jsp
simple JSP and JavaBean, error 500
where to put my application?
problem with struts in weblogic
question about JSP - Tomcat