tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 2smart4u <rc4...@googlemail.com>
Subject Re: Hide JSP name using web.xml
Date Wed, 31 Mar 2010 12:42:50 GMT
hm, might be a bit of typo-work, but why not specify them in your
deployment-descriptor (aka web.xml)?

example (snippet):

        <servlet>
                <description></description>
                <display-name>SomeName</display-name>
                <servlet-name>MyServlet</servlet-name>
                <jsp-file>/WEB-INF/yourJSPFile.jsp</jsp-file>
        </servlet>
        <servlet-mapping>
                <servlet-name>MyServlet</servlet-name>
                <url-pattern>/MyServlet</url-pattern>
        </servlet-mapping>

Hope I got your requirements correctly.

Cheers

Gregor
-- 
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

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


Mime
View raw message