Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Browser URL displayed is different from current Servlet

 
Pat Villa
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm just wondering why the Browser URL of the previous screen is the one that is displayed
ex.
1.) I call Servlet1 which loads Jsp1 (URL shown is <a href="http://localhost:9080/Web/<b rel="nofollow">Servlet1</b>)" target="_blank">http://localhost:9080/Web/Servlet1)
2.) I call Servlet2 by submitting (Servlet1 accepts the request, forwards to Servlet2, which loads Jsp2) (URL shown is <a href="http://localhost:9080/Web/<b rel="nofollow">Servlet1</b>)" target="_blank">http://localhost:9080/Web/Servlet1)
3.) I call Servlet3 by submitting (Servlet2 accepts the request, forwards to Servlet3, which loads Jsp3) (URL shown is <a href="http://localhost:9080/Web/<b rel="nofollow">Servlet2</b>)" target="_blank">http://localhost:9080/Web/Servlet2)
I'm using WSAD 5.1 on Win2000
Thanks!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64632
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since the browser hasn't the least inkling that you are forwarding around on the server, it displays the URL that it originally submitted.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic