Re: How to make URL shorter?
Re: How to make URL shorter?
- Subject: Re: How to make URL shorter?
- From: Pierre Frisch <email@hidden>
- Date: Tue, 18 May 2004 09:01:36 -0700
Why not use a simple header redirect:
<HTML>
<HEAD>
<META HTTP-EQUIV="content-type"
CONTENT="text/html;charset=iso-8859-1">
<META HTTP-EQUIV="REFRESH"
CONTENT="0;URL=http://host/cgi-binMyWebApp.woa">
</HEAD>
</HTML>
This appears to work all the time.
Pierre
On May 18, 2004, at 7:49, Kieran Kelleher wrote:
> I use a simple HTML file with contents like this to redirect to the
> correct URL. For example the html file may be named "MyWebApp.html"
> and placed in the web server document root and contains:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <title>MyWebApp</title>
> </head>
>
> <body bgcolor="#FFFFFF">
> <script type="text/javascript" language="javascript" charset="utf-8">
> // <![CDATA[
>
> location.href="cgi-bin/WebObjects/MyWebApp.woa"
>
> // ]]>
> </script>
> </body>
>
> </html>
>
>
> ________________________________________________________________
> Config = OS X 10.3.3 / Java 1.4.1 / WO 5.2.2 / XCode v1.1 / MySQL
> 4.0.18 / Connector-J 3.0.11
> Blog: http://webobjects.webhop.org/
>
>
> On May 18, 2004, at 10:03 AM, john XUE wrote:
>
>> Hi All,
>> I started an App from JavaMonitor,the url for the
>> browser is
>> ,say,"http://host/cgi-bin/WebObjects.exe/AnApp.woa/1",how
>> do I make it like "http://host/webapp" ? .
>>
>> Thanks!
>>
>> John
>>
>>
>>
>>
>> __________________________________
>> Do you Yahoo!?
>> SBC Yahoo! - Internet access at a great low price.
>> http://promo.yahoo.com/sbc/
>> _______________________________________________
>> webobjects-dev mailing list | email@hidden
>> Help/Unsubscribe/Archives:
>> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>> Do not post admin requests to the list. They will be ignored.
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.