Absolutely, JSPs are really just Servlets. In your WEB.XML file. Set up as
you would a servlet:
<servlet>
<servlet-name>myalias</servlet-name>
<jsp-file>MyJsp.jsp</jsp-file>
</servlet>
for alias.. you can even include a .something...
i've used .html to fake it as an html page before.
I dont know why u would.. it made sense at the time :-P
-Tim
-----Original Message-----
From: yilmaz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 11:03 PM
To: [EMAIL PROTECTED]
Subject: Jsp aliases
Hi everybody,
Is there aliases for JSP pages like servlets?
I mean we can use aliases instead of real servlet names,
in the same way , can we use an alias for a Jsp file?
like:
instead of
http://localhost:8080/adirectory/admin.jsp
can we write
http://localhost:8080/admin
thanks a lot.
regards : )
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com