Jump to content

Search the Community

Showing results for tags 'servlet jsp'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi, I'm softlab on Johnny. In my servlet I have these lines of code: request.getSession().setAttribute("paginaUtente",paginaUtente); RequestDispatcher dispatcher = contesto.getRequestDispatcher(paginaJSP); dispatcher.forward(request,response); and the attribute is set to "../sicurezza/accesso.jsp". When the jsp page is served, there are these lines of code: String paginaUtente = (String)session.getAttribute("paginaUtente"); paginaUtente = paginaUtente == null ? "" : paginaUtente.trim(); but now the attribute is empty. Why the value set in the session by the servlet is not available for the JSP? Do not they use the same session? Thanks
×
×
  • Create New...