Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in passing dataaftr a link is clicked

 
Debasmita Dash
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a jsp page that lists the folder names. When a folder name is clicked I have to display the contents of the folder and to do this I need to pass the folder name to the next page when the folder name is clicked.

<html:hidden property="cabinetName" value="<%=collection.getString(attr.getName())%>" onclick="javascript:doSubmit()"/>
<td><a href="DisplayContents.jsp">
<%=collection.getString(attr.getName())%></a></td>

The folder name that is "collection.getString(attr.getName())" need to be passed to the java bean which in turn will pass it to the Action class and I m unable to make it.

Thanks in advance........
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic