title: How can I get the content from a session variable?
body: <p>My situation:</p>
  
  <p>On my jsp site I show a table. When somebody click a row, this row must be marked with an other backround color for example. Also more then one row can be marked. Two things are important.
  First: I bear in mind which rows are marked.
  Secend: In which order.</p>
  
  <p>My idea is:</p>
  
  <p>I have a ArrayList and put all row IDs in this. So I solve both problems. Now I put this ArrayList in the session for the next click and the row ID (  req.getSession().setAttribute(req.getParameter("rowID") , ""+arrayList.size());  ) for the jsp file.</p>
  
  <p>My problem in jsp file:</p>
  
  <p>I don't now what's called session variable name.</p>
  
  <p>if this rowId alrady clicked?
   .. </p>
  
  <p>I have got only the bean name. How can I get the content from the session, if exact this line must be marked?</p>
  
  <p>Normally I set a session variable so: req.getSession.setAttribut("printView", Boolean.TRUE) and get a session variable so: </p>
  
  <p>I work with struts, formbeans and jsp.</p>
  
  <p>Sorry, I haven't good English and this problem is so difficult for me. So I can't declare it better at this time.</p>