|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Tomcat context problem
I have jk2 apache and tomcat working together. Now I need to add a new application folder and have that be the root application displayed:
Right now I can hit URL and it is displaying the Tomcat welcome screen. How can I change that to the root document of the new application folder. -and- Where can I determine the root document name. Instead of index.html I want myfile.jsp. Thank you for your help. |
|
#2
|
||||
|
||||
|
Ti change the root document name you'll have to change web.xml adding
<welcome-file>myfile.jsp</welcome-file> in <welcome-file-list>. To add a context you should really RTFM (in recent Tomcats there is a web administration interface to do this).
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Tomcat context problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|