tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schalk" <sch...@volume4.co.za>
Subject RE: How do I run servlets on the root directory of localhost?
Date Mon, 14 Jun 2004 21:44:01 GMT
This brings up an interesting point. Is it possible to edit which is the
default app?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:schalk@volume4.co.za
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -----Original Message-----
:: From: Wendy Smoak [mailto:Wendy.Smoak@asu.edu]
:: Sent: Monday, June 14, 2004 11:37 PM
:: To: Tomcat Users List
:: Subject: RE: How do I run servlets on the root directory of localhost?
:: 
:: Seth Carter wrote:
:: > i can get to webMathematica right now by going to
:: > http://localhost/webMathematica , what I want is
:: > when I go to http://localhost
:: > it would bring up webMathematica.
:: 
:: Copying everything to the ROOT subdirectory, which you've already noted
:: is the default root webapp, should have worked.  Try completely stopping
:: Tomcat, renaming ROOT to something else, and then renaming
:: webMathematica to 'ROOT'.  Maybe something didn't copy over correctly.
:: 
:: When the images are not appearing, view the HTML source of the page and
:: see where it's trying to load them from, vs. where they actually are.
:: 
:: Or... Find this part of server.xml, uncomment it, and change the docBase
:: to wherever your files are.  Note that it's relative to 'webapps'.  This
:: is from 4.1.30, adjust as necessary for a different Tomcat version.
:: 
::         <!-- Define properties for each web application.  This is only
:: needed
::              if you want to set non-default properties, or have web
:: application
::              document roots in places other than the virtual host's
:: appBase
::              directory.  -->
:: 
::         <!-- Tomcat Root Context -->
::         <!--
::           <Context path="" docBase="ROOT" debug="0"/>
::         -->
:: 
:: --
:: Wendy Smoak
:: Application Systems Analyst, Sr.
:: ASU IA Information Resources Management
:: 
:: ---------------------------------------------------------------------
:: To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
:: For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message