To access my jsp's in tomcat, url is <u>http://locatlhost ort/appName/jsp/Logon.jsp</U> <br> but i don't want to see jsp in the above url without changing the name of the folder(jsp in appName.war) in war file. <br> Is there anyway i can specify in the web.xml saying all request starts with demo (for an example) to redirect / refer to jsp. ie if i type <B>http://locatlhost ort/appName/demo/Logon.jsp</B> it should call internally <I>http://locatlhost ort/appName/jsp/Logon.jsp.</I>
Thanks in advance.
Joined: Jul 16, 2004
hi, i got the answer.......... <servlet> <servlet-name>BalanceJSP</servlet-name> <jsp-file>/AccountBalance.jsp</jsp-file> </servlet> <servlet-mapping> <servlet-name>BalanceJSP</servlet-name> <url-pattern>/GetBalance</url-pattern> </servlet-mapping>
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com