wood burning stoves 2.0*
The moose likes JSP and the fly likes session in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "session in JSP" Watch "session in JSP" New topic

session in JSP

naga eswar
Ranch Hand

Joined: Jan 25, 2012
Posts: 120
Hi all...

I am working on optimization techniques on application developed by other propgramer with struts 1.3.
I observed that in JSP files he explicitly created HttpSession as below

Is there any reason using above code when there is implicit object session in jsp.

Please let me know i need to change this code. Further let me know optimization techniques in struts.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60739

There is no need for such code.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Consider Paul's rocket mass heater.
subject: session in JSP
Similar Threads
JSF Filter prevent direct access certain page
Session object within two servlets and jsp in the single application
creating two different session objects in java
Can i have two sessions inside a single file
HttpSession internally uses cookies and after disabling it, still working: how?