tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-servletapi-5/jsr154/examples/WEB-INF/classes SessionExample.java
Date Wed, 21 May 2003 17:44:51 GMT
remm        2003/05/21 10:44:51

  Modified:    jsr154/examples/WEB-INF/classes SessionExample.java
  Log:
  - Use getSession(true) here.
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/SessionExample.java
  
  Index: SessionExample.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/SessionExample.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SessionExample.java	29 Oct 2002 17:42:57 -0000	1.2
  +++ SessionExample.java	21 May 2003 17:44:51 -0000	1.3
  @@ -52,7 +52,7 @@
   
           out.println("<h3>" + title + "</h3>");
   
  -        HttpSession session = request.getSession();
  +        HttpSession session = request.getSession(true);
           out.println(rb.getString("sessions.id") + " " + session.getId());
           out.println("<br>");
           out.println(rb.getString("sessions.created") + " ");
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message