File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes alias name  for jsp file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "alias name  for jsp file" Watch "alias name  for jsp file" New topic

alias name for jsp file

eswar kumar
Ranch Hand

Joined: Oct 20, 2002
Posts: 98
how can i create a alias name for my JSP file
insted of calling like http://localhost:7001/dir/subdir1/subdir2/hi.jsp,
i want to call like http://localhost:7001/hi.jsp
Anil Kumar

Joined: Jan 17, 2004
Posts: 11
1) You can create the application where you map "/" to the root folder where your jsp page exists.
2) You can keep the jsp "hi.jsp" at the root which inturns calls the real "hi.jsp" at your current location. Anyways this will show in the address bar when the actual 'hi.jsp' is displayed'
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

eswar, you had already asked this question earlier. Please do not post the same question twice in either the same or multiple forums. It wastes people's time -- as it did mine -- creating redundant conversations.
JSP Forum Bartender

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: alias name for jsp file
jQuery in Action, 3rd edition