This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Newbie help using html:link action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Newbie help using html:link action" Watch "Newbie help using html:link action" New topic
Author

Newbie help using html:link action

John Zwick
Ranch Hand

Joined: Mar 02, 2009
Posts: 34
I am having trouble getting two links to work. When I click on the links, it doesn't forward to the appropriate page. I am not getting any exceptions on the server either.
Can someone show me what I am doing wrong?

The jsp:

The action-mapping in struts-config file:


The DisplaySearchPageAction class:
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I totally can't read that.

Is it rendering correctly? I don't recall if you can create the entire link like that when using the "action" attribute; there are other attributes normally used to specify parameters (paramId, paramName, paramProperty come to mind).
John Zwick
Ranch Hand

Joined: Mar 02, 2009
Posts: 34
David Newton wrote:I totally can't read that.

Is it rendering correctly? I don't recall if you can create the entire link like that when using the "action" attribute; there are other attributes normally used to specify parameters (paramId, paramName, paramProperty come to mind).


Sorry about the formatting on my original post. I have edit it and it looks better now.

Yes, the links are rendering correctly. It's just that when I click on the links, they don't get forwarded to the appropriate page, it just stays on the same page.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Newbie help using html:link action
 
Similar Threads
Getting Bad Request
execute method
DispatchAction:seems fine, but doesn't work
Pass Parameter value to dipatchMethod
Error: DispatchMapping[/login] does not define a handler property