Re: display my index.jsp as default

2005-03-03 Thread Justin Crabtree
bhupendra bendale wrote:
I have placed my directory under %catalina_home%/webapps/
now i want to configure tomcat to display my index.jsp
page by entering only http://localhost:8080/; what 
changes should i make.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

The following will set the default page to display for the web 
application.

welcome-file-list
welcome-fileindex.jsp/welcome-file
/welcome-file-list
As far as mapping the root to your app, you could put a redirect in the 
root index.jsp to the jsp page of your choice.  Not very elegant, but it 
would work.

--
Justin Crabtree
Java Programmer
Ozarks Technical Community College
447-7533

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: display my index.jsp as default

2005-03-03 Thread Dan
Add the Context tag to your Host section of the Engine section in the 
conf/server.xml file

(look for this section):
Host name=localhost debug=0 appBase=webapps
   unpackWARs=true autoDeploy=true
   xmlValidation=false xmlNamespaceAware=false
then add this below that:
   Context path= docBase=myDirectory/ debug=0/
At 09:19 AM 3/3/2005, you wrote:
bhupendra bendale wrote:
I have placed my directory under %catalina_home%/webapps/
now i want to configure tomcat to display my index.jsp
page by entering only http://localhost:8080/; what changes should i make.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


display my index.jsp as default

2005-03-02 Thread bhupendra bendale
I have placed my directory under %catalina_home%/webapps/
now i want to configure tomcat to display my index.jsp
page by entering only http://localhost:8080/; what 
changes should i make.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com