File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Advanced Applet Question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Advanced Applet Question" Watch "Advanced Applet Question" New topic
Author

Advanced Applet Question

Richard Wilson
Ranch Hand

Joined: Jan 12, 2002
Posts: 57
Hi,everyone,I am developing a web site for my school.
I use applet tree menu as a link to a certain jsp page.But getAppletContext.showDocument(URL,Frame)
didn't seems to effectively reload a certain page if that page's state has changed.
For example, as for my site, if a admin has properly configured all the system infomation and confirm, the timer will be set to next period and if the admin want to re-enter the configure page,he will get a negative response.
But when i clicked my applet's tree menu link,it just returned my previous configure page.The browser seems not to retrieve the page again but use the cache.
Any one can help me?It is very very urgent!


Richard Wilson
qnzu
Greenhorn

Joined: Mar 08, 2003
Posts: 2
address of web site of your school ???


I wish to make friends of friendly you !
Richard Wilson
Ranch Hand

Joined: Jan 12, 2002
Posts: 57
i just think that the showDocument()method doesnot has the function of properly reload a page. It just take the page it previously visited.
Richard Wilson
Ranch Hand

Joined: Jan 12, 2002
Posts: 57
No One can help me?
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1865
hi,
you can try "no-cache" directive for the pages you don't want the browser to cache...
there are multiple options for this cache header specification..
1. META tag - <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
please look into no-cache header for html pages on google to see if you can find more..
i guess it is the browser/html issue rather than applet showing the page issue..
regards
maulin


1. Have fun @ http://faq.javaranch.com/java/JavaRaq
2. Looking for simple infix2postfix conversion and postfix evaluation package? Click here
Richard Wilson
Ranch Hand

Joined: Jan 12, 2002
Posts: 57
hi,could you tell me how to use this meta tag?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Advanced Applet Question
 
Similar Threads
Applets and overlapping menu items
complex gui in web browser
JSP losing its style after an ActionForward
JSP n javascript problem
Applets and overlapping menus in web browsers