Link to home
Start Free TrialLog in
Avatar of letsbedecent
letsbedecent

asked on

sessioID in a jsp.

Hi,

<a href="R_MunicipalLocations.do?crudEvent=retrieve&nextPage=viewAll&orderBy=NAME&sessionID=<%= request.getRequestedSessionId() %>" alt="View Municipal Locations"><img name="icon_location" src="images/icon_location.gif" border="0"></a></td>

in this above line of code :

sessionID=<%= request.getRequestedSessionId() %>  what does this do ?? in the form there is no sessionID parameter !!

And also, what does alt="View Municipal Locations"  this do ??

Thank you.
Avatar of Kuldeepchaturvedi
Kuldeepchaturvedi
Flag of United States of America image

sessionID is the id of the session that system has created for this particular browser.. its used to make sure that there is not session overlap is going on.
alt parameter is a little bubble description when user moves his/her mouse over the image...
its used in the event the image fails to load...
Avatar of letsbedecent
letsbedecent

ASKER

so there is no need to have a sessionID parameter in the struts  form ??
ASKER CERTIFIED SOLUTION
Avatar of Kuldeepchaturvedi
Kuldeepchaturvedi
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial