Results 1 to 5 of 5
  1. #1
    lpwing is offline Member
    Join Date
    Dec 2007
    Posts
    2
    Rep Power
    0

    Post 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.....

  2. #2
    PortalTeam is offline Member
    Join Date
    Jan 2008
    Posts
    5
    Rep Power
    0

    Default 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

  3. #3
    anki1234 is offline Member
    Join Date
    Dec 2007
    Posts
    28
    Rep Power
    0

    Default

    put cache control in jsp

  4. #4
    anki1234 is offline Member
    Join Date
    Dec 2007
    Posts
    28
    Rep Power
    0

    Default

    <HEAD>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <base href="<&#37;=basePath%>">
    <TITLE>Login Page</TITLE>
    </HEAD>

  5. #5
    anki1234 is offline Member
    Join Date
    Dec 2007
    Posts
    28
    Rep Power
    0

Similar Threads

  1. clear cache
    By Jadellll in forum New To Java
    Replies: 0
    Last Post: 03-20-2008, 10:27 AM
  2. BuffededImage cache
    By tim in forum New To Java
    Replies: 1
    Last Post: 01-24-2008, 01:00 AM
  3. cache problem
    By MichYer in forum Java Applets
    Replies: 3
    Last Post: 07-11-2007, 10:13 AM
  4. Problem with cache
    By Daniel in forum Java Servlet
    Replies: 1
    Last Post: 07-06-2007, 07:05 AM
  5. Caché Monitor 0.35
    By levent in forum Java Software
    Replies: 0
    Last Post: 06-10-2007, 02:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •