you have to use the servlet mapping, something like this (each for every mapping you need) == <servlet> <servlet-name>myOwnJSPPage</servlet-name> <display-name>myOwnJSPPage</display-name> <description>my own servlet called: myOwnJSPPage</description> <jsp-file>/myJSP.jsp</jsp-file> </servlet> <servlet-mapping> <servlet-name>myOwnJSPPage</servlet-name> <url-pattern>/myJSP</url-pattern> </servlet-mapping> ==
On Thu, 17 Mar 2005 07:05:12 EST, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi there, > i think this is a fairly easy thing to do, but i'm a newbie to tomcat & jsp. > > I am requesting the following url > _http://localhost:8081/webReg.jsp_ (http://localhost:8081/webReg.jsp) which > exists and dsiplays fine. However, i want to be able to request > _http://localhost:8081/webReg_ (http://localhost:8081/webReg) and for > tomcat to display > _http://localhost:8081/webReg.jsp_ (http://localhost:8081/webReg.jsp) . > > What do i need to add in web.xml? > > -- Adobati Omar [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]