The Artima Developer Community
Sponsored Link

Java Answers Forum
Odd sendRedirect behavior

0 replies on 1 page.

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 0 replies on 1 page
Lynn Hollerman

Posts: 67
Nickname: gmholler
Registered: Mar, 2002

Odd sendRedirect behavior Posted: Jun 23, 2009 5:23 PM
Reply to this message Reply
Advertisement
I am having a problem with a response.sendRedirect() command - I am using the command to send control from one server to another, in the same domain. Control is supposed to go from server A to the location coded in the url on server B(this url (absolute) is passed in the sendRedirect command). However, when I execute the program, the redirect will not happen - I have even coded print statements where control leaves one server and then goes to the next, and it never gets to server B! If, instead, I go directly to the url on server B in a web browser, that appears with no issues in the browser, and the print statements print out as normal.

I'm confused as to what is happening and why - both servers are tomcat servers. No messages show up in any log to indicate an error somewhere when I execute the program. Does anyone have any ideas?

Thanks!

Lynn.

Topic: Program to search and react to multiple websites Previous Topic   Next Topic Topic: problem using fast code eclipse plugin

Sponsored Links



Google
  Web Artima.com   

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