----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Vishal Malhan wrote:
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Hi,
> I have a servlet URL that is too long and i don't want that long a url to be
> written to access it.
> What can we possibly do to have a smaller and more comfortable URL that is
> easier to remember and which will internally go to servlet URL.
For that, you want to utilize URL rewriting on the web server side. In
Apache, you can take the url http://www.foo.com/foo*&$& and map it to
http://www.foo.com/foo or any other combination thereof. Look up the
directives Redirect and Alias.
Not sure what Java can do for you in this case.
Ben Ricker
Web Administrator
US-Rx, Inc.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]