Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Newbie help using html:link action

 
John Zwick
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic