I am using http://www.mydomain.com/index.jsp
On Mon, Dec 8, 2008 at 9:45 PM, <[EMAIL PROTECTED]> wrote: > What address are you typing into the address/location bar? > > --- On Mon, 12/8/08, Gaurav Pruthi <[EMAIL PROTECTED]> wrote: > > > From: Gaurav Pruthi <[EMAIL PROTECTED]> > > Subject: Tomcat not displaying jsp files. > > To: "Tomcat Users List" <users@tomcat.apache.org> > > Date: Monday, December 8, 2008, 5:27 AM > > Hi, > > > > I am facing a strange issue infact from past one year. I am > > using tomcat > > virtual hosting but i am not able to run jsp pages in the > > root directory. > > Every time i have to create a directory in the AppBase and > > have to put all > > the jsp pages into it so that they could get executed. > > > > Here are my VirtualHost configured in server.xml file. > > > > <Host name="www.mydomain.com" > > debug="0" > > appBase="/usr/local/tomcat/webapps/www.mydomain.com" > > unpackWARs="true"> > > <Valve > > className="org.apache.catalina.valves.AccessLogValve" > > directory="/usr/local/tomcat/logs" > > prefix="www.mydomain.com.access." > > suffix=".log" pattern="common" > > resolveHosts="false"/> > > <Context path="/servlet" > > docBase="servlet" debug="0" > > reloadable="true" > > crossContext="true"> > > <Logger > > className="org.apache.catalina.logger.FileLogger" > > directory="/usr/local/tomcat/logs" > > prefix="www.mydomain.com.access" > > suffix=".log" timestamp="true"/> > > </Context> > > <Alias>mydomain.com</Alias> > > </Host> > > > > > > When i am keeping jsp files in > > /usr/local/tomcat/webapps/www.mydomain.com/Folder, blank > > page is > > displayed. > > > > But If i am keeping jsp file in /usr/local/tomcat/webapps/ > > www.mydomain.com/newfolder/ directory, then page is > > displayed. > > > > Using apache-tomcat 6.0.16 > > > > Kindly let me know if any other information is required > > > > I am totally confused on this issue. I checked on the net > > but in vain. > > > > > > > > Kindly Help. > > > > > > > > > > > > Thanks & Regards, > > Gaurav Pruthi > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Gaurav Pruthi