Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-12-2007, 06:06 AM
Member
 
Join Date: Dec 2007
Posts: 2
lpwing is on a distinguished road
cache problem in jsp
HI All,
I am having a problem in jsp page ,i'll give clear view over that...i have a textbox in jsp and that is to enter a key field for search once it got submitted with the key and if i try for that search one more time it is still having the word what we entered in the textbox....how could i ovecome this actually i have a little knowledge in jsp's.hope u got the problem correctly ...pls give me some solution.....
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-05-2008, 09:02 AM
Member
 
Join Date: Jan 2008
Posts: 5
PortalTeam is on a distinguished road
I think u might have cleared the problem
Any way when ever u submit the jsp page ie's click for search.Do clear the value of the textr box using Java script like


document.forms[0].txtBoxName.value="";
then submit
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-09-2008, 09:00 AM
Member
 
Join Date: Dec 2007
Posts: 28
anki1234 is on a distinguished road
put cache control in jsp
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 01-09-2008, 09:01 AM
Member
 
Join Date: Dec 2007
Posts: 28
anki1234 is on a distinguished road
<HEAD>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<base href="<%=basePath%>">
<TITLE>Login Page</TITLE>
</HEAD>
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 01-15-2008, 08:43 AM
Member
 
Join Date: Dec 2007
Posts: 28
anki1234 is on a distinguished road
provide method="post" in ur jsp it wl surely work
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
clear cache Jadellll New To Java 0 03-20-2008 10:27 AM
BuffededImage cache tim New To Java 1 01-24-2008 01:00 AM
cache problem MichYer Java Applets 3 07-11-2007 10:13 AM
Problem with cache Daniel Java Servlet 1 07-06-2007 07:05 AM
Caché Monitor 0.35 levent Java Announcements 0 06-10-2007 02:40 PM


All times are GMT +3. The time now is 04:02 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org