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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
Selecting a single row in a table, then saving that index in the struts form
Display the contents of folder when the link is clicked
changing the color?
JSF : redirect errors to error page
Get a href id from jsp to servlet