Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Newbie help using html:link action

 
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:
 
Author
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.
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic