A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Applets
Author
Please help: AppletContext.showDocument, yet servlet reports different url
Ken Flor
Ranch Hand
Joined: Aug 01, 2006
Posts: 34
posted
Aug 31, 2006 20:43:00
0
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
Marshal
Joined: Mar 22, 2005
Posts: 35428
9
posted
Sep 01, 2006 00:35:00
0
What is the URL you're requesting in the applet, and which one is returned by getRequestURL?
Android apps
–
ImageJ plugins
–
Java web charts
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Please help: AppletContext.showDocument, yet servlet reports different url
Similar Threads
Post request from applet?
Connect to a web site from Applet (java application ?)
How can I connect to a Web-site from applet/java application
session problem in jsp
Physical Path of a file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter