User Profile

Collapse

Profile Sidebar

Collapse
samarinder
samarinder
Last Activity: May 17 '11, 08:42 AM
Joined: Feb 7 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • As suggested by support person i am copying the code which may has a problem

    Below is the code snipet from header.jsp, Which i am including in index.jsp

    Code:
    <%!String username;%>
     <% username = (String) session.getAttribute("username");
     
    session.setAttribute("username", username);
     %>
    On page refresh session is getting invalidating in Firefox...
    See more | Go to post
    Last edited by Meetee; May 18 '11, 08:05 AM. Reason: code tags added

    Leave a comment:


  • Session is getting invadate on page refresh in Mozilla

    I am stuck in quite a tricky problem, That is - My page session which contains username is getting invalidating on page refresh in Firefox Mozilla. Same is working fine in IE-9

    I am pasting the code of both header and index.jsp file.


    Header.jsp

    Code:
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    ...
    See more | Go to post
    Last edited by Niheel; May 16 '11, 03:55 PM. Reason: that's a lot of code, highly unlikely anyone will read through it, you should paste the bare minimum to explain your situation.

  • Thanks much sir for replying.....
    The problem is like this - When my search results page loads first time, I iterate the list(Search Result Object) and displays the results in resultsdiv.As i need to do refine search on this list, i have used ajax on change event on price slider which passes these parameters to my js file and then to JSP file something like this
    Code:
    requestUrl = "refinerealestateresults.jsp?" + param
      
    xmlHttp.onreadystatechange=stateChanged;
    ...
    See more | Go to post

    Leave a comment:


  • Sir,

    Thanks much for replying, I am really stuck in this :(
    Tried my best to work this out with the knowledge i had but i am still missing out some where. I am not able to get refined list back to my main result page
    Code:
    <%@ page language="java" import="java.sql.*,com.project.db.*,java.util.*,com.project.web.*,com.project.vo.*" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    ...
    See more | Go to post

    Leave a comment:


  • How to refresh div on page after ajax call?

    I am displaying the results by iterating the list in div tag say "results" in my case.For refining of search i am using ajax call. But when i am getting response back from this below snippet

    Code:
    document.getElementById("results").innerHTML=xmlHttp.responseText;
    Its showing me content of JSP in which i am refining my list.

    I am copying down the code for better understanding
    Code:
    Result.jsp
    ...
    See more | Go to post
No activity results to display
Show More
Working...