The Artima Developer Community
Sponsored Link

Java Answers Forum
Redirect question - Jay Candy

1 reply on 1 page. Most recent reply: Aug 8, 2002 11:07 AM by Jay Kandy

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Boe Darren

Posts: 6
Nickname: boe
Registered: Aug, 2002

Redirect question - Jay Candy Posted: Aug 8, 2002 10:03 AM
Reply to this message Reply
Advertisement
Jay candy had posted what may be a solution to my issue with a redirect not working correctly.

I'll give you what I can - I don't know Java or JavaScript and I have no idea which is the solution to the issue. If there are things I'm missing please ask.

I have a single flash swf called from a single html. The swf has the following code in one frame.
getURL("javascript:document.bgColor='#FFFFFF'; void(0);");

This changes the background on the page the swf is sitting on. This command works fine if you go to the URL directly. However using a url redirect service,
when the call is made, I get the following Page cannot be found. The page properties are:

res://C:\WINDOWS\System32\shdoclc.dll/dnserror.htm#javascript:document.bg Col
or='#FFFFFF'; void(0);

I saw a mention of using this code in this forum but the details are incomplete and I don't know programming well enough to know what I'm
missing.

response.encodeRedirectURL(request.getContextPath() +
"/RegistrationServlet?cmd=login

Another person has suggested window redirect - but I don't know the entire command line I will need to resolve this issue.

I would appreciate anyone's help on this.


Thank you.


Jay Kandy

Posts: 77
Nickname: jay
Registered: Mar, 2002

Re: Redirect question - Jay Candy Posted: Aug 8, 2002 11:07 AM
Reply to this message Reply
Hi Boe! I read your earlier post but didnt have enough details of the problem to answer!

Firstly, that line of code works in a servlet or JSP - a java file.

My guess is you need JavaScript. You mentioned "URL rediret service". Please post that part of code and hopefully we can get some solutions from the forum.

Flat View: This topic has 1 reply on 1 page
Topic: java objects passed by referance Previous Topic   Next Topic Topic: icon

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use