File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Problem in passing dataaftr a link is clicked Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem in passing dataaftr a link is clicked" Watch "Problem in passing dataaftr a link is clicked" New topic
Author

Problem in passing dataaftr a link is clicked

Debasmita Dash
Greenhorn

Joined: Apr 07, 2009
Posts: 19

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........
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in passing dataaftr a link is clicked