This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JSP and the fly likes placing JSP files in user application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "placing JSP files in user application" Watch "placing JSP files in user application" New topic
Author

placing JSP files in user application

sumana ar
Greenhorn

Joined: Aug 06, 2003
Posts: 28
hello friends,
i'm new to JSP and i'm using Apache Tomcat4.1.27...i've created a folder named exp and placed my jsp files there and called them using the URL
http://localhost:8080/exp/helloworld.jsp
it was running fine ..then i've created an application called myfirstapp in webapps and placed the same jsp file(helloworld.jsp) in that folder..the directory structure is like this..
c:\tomcat\webapps\myfirstapp\helloworld.jsp
and called it using the URL
http://localhost:8080/myfirstapp/helloworld.jsp
but it isnot working..i'm getting an error message that the file is not found...
please suggest me where all i need to make changes for use of the application..like do i need to make changed in server.xml or web.xml...
please treat this as urgent and respond soon..
thanks ..
--sumana
sumana ar
Greenhorn

Joined: Aug 06, 2003
Posts: 28
please ignore this request..
problem solved..
--sumana
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: placing JSP files in user application