tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Colic" <alex.co...@pop-ware.com>
Subject Can't get precompiled JSP to be welcome page?
Date Wed, 24 Oct 2001 17:39:51 GMT
Hi,

I have a JSP file, pwLogin.jsp that I precompiled. I then added the
following to my web.xml file:

	<servlet>
		<servlet-name>pwLogin</servlet-name>
		<servlet-class>pwLogin</servlet-class>
	</servlet>

...

	<servlet-mapping>
		<servlet-name>pwLogin</servlet-name>
		<url-pattern>/pwLogin.jsp</url-pattern>
	</servlet-mapping>

...

    <!-- The Welcome File List -->
    <welcome-file-list>
        <welcome-file>/pwLogin.jsp</welcome-file>
	  <welcome-file>pwLogin.jsp</welcome-file>
    </welcome-file-list>

When I access my web app without specifiying a JSP I get a page of web apps
root directory. If I specify webapp/pwLogin.jsp I get the page.

Any help, ideas is appreciated.


Alex


Mime
View raw message