?
Solved

sessioID in a jsp.

Posted on 2005-04-21
3
Medium Priority
?
242 Views
Last Modified: 2011-09-20
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.
0
Comment
Question by:letsbedecent
  • 2
3 Comments
 
LVL 19

Expert Comment

by:Kuldeepchaturvedi
ID: 13836359
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...
0
 

Author Comment

by:letsbedecent
ID: 13836375
so there is no need to have a sessionID parameter in the struts  form ??
0
 
LVL 19

Accepted Solution

by:
Kuldeepchaturvedi earned 1500 total points
ID: 13836394
its not a necessary parameter, unless your servlet is looking for it..
most of the time if its not there, system creates a new session... but it depends on the implementation....
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am posting this in case anyone runs into similar issues that I did, this may save you a lot of grief: Condition: 1. Your NetBIOS domain name contains an ampersand " & " character.  (e.g. AT&T) 2. You've tried to run any Microsoft installation…
Cron is one of the most popular and basic utilities found on Unix systems. Combined with other tools, cron makes it exceptionally easy to automate a broad range of tasks on your server.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question