• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please help: AppletContext.showDocument, yet servlet reports different url

 
Ken Flor
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me.
Sigh .. this is driving me insane.


I have an applet that does a showDocument to a Servlet.

The code is :

this.getAppletContext().showDocument(url, "Report");

the url is the path and the "Report" is the name of the frame.


However in my servlet when i did a getRequestURL, the url reported is different. Why is that so?

Since the servlet can be loaded successfully from the applet.showDocument, how come the url reflected is wrong?


How can i get back the original url with the path?

Thanks.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the URL you're requesting in the applet, and which one is returned by getRequestURL?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic