This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Tomcat and the fly likes how to change  jsp location Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to change  jsp location" Watch "how to change  jsp location" New topic

how to change jsp location

Raghda Ismail

Joined: Feb 22, 2009
Posts: 23
Hi everybody ,
I have a simple question here.
I am using tomcat and i have a project name Signin
I used to put my jsp files directly under Signin folder (beside WEBINF folder) and every thing works fine
but now i want to organize the project and i want to create JSP folder under which i put all my jsp files
how to tell tomcat that my JSP folder is where it will find my jsp files??

Thanks in advance
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62127

You don't have to tell Tomcat anything. The address to the JSP will simply be part of the URL.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Raghda Ismail

Joined: Feb 22, 2009
Posts: 23
Thanks Beer ,it worked for me and sorry if the question was so trivial
I agree. Here's the link:
subject: how to change jsp location