I have run into this when changing deployments from dev at localhost
and a standalone jetty instance.

Standalone Jetty URL and web.xml
https://ajax.abc.com:443/HR/cyberobjects/CyberObjects.html
<url-pattern>/cyberobjects/CyberObjects.html</url-pattern>

Dev mode url and web.xml
https://ajax.abc.com:443/HR/CyberObjects.html
<url-pattern>/HR/cyberobjects/CyberObjects.html</url-pattern>


HTH.

Ed


On Fri, Apr 8, 2011 at 4:32 AM, Magnus <[email protected]> wrote:
> Sorry,
>
> its "ptl". I made a mistake in my posting.
>
> Magnus
>
> On Apr 8, 7:19 am, "A. Stevko" <[email protected]> wrote:
>> Is it ptl or portal ?
>>
>>
>>
>> On Thu, Apr 7, 2011 at 8:53 PM, Magnus <[email protected]> wrote:
>> > Hello,
>>
>> > in my webProject "myProject" is a directory "war/portal" which
>> > contains a file "login.jsp":
>> > myProject/war/portal/login.jsp
>>
>> > Within my code I want to redirect to this page.
>>
>> > In development mode, this works:
>> > Window.Location.assign ("/ptl/login.jsp");
>>
>> > In production mode, this does not work. I found out that "/myProject/
>> > ptl/login.jsp" would be the correct path.
>> > However, this does not work in development mode.
>>
>> > How can I do this so that it works the same in development and
>> > production mode?
>>
>> > Thanks
>> > Magnus
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "Google Web Toolkit" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to
>> > [email protected].
>> > For more options, visit this group at
>> >http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>> --
>> -- A. Stevko
>> ===========
>> "If everything seems under control, you're just not going fast enough." M.
>> Andretti
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to