Adding unique params to the url.
I am getting a list from the database and making the primary keys links so that a individual record from the db can be used.
I can quite easily display the rows using html:link tags (not shown) but I have been having trouble adding the dynamic unique param to the end of the url.(simple stuff but seems tricky in
struts).
Links would look like:
/iNet/execute/viewSelectedNews?newsId=1
/iNet/execute/viewSelectedNews?newsId=2
/iNet/execute/viewSelectedNews?newsId=n
This is my current working solution. But its not ideal.
The Collection holds NewsVO objects.
It only has a single field for simplicty (newsId).
Can some liet me know if there is a way to lose the scriptlet code?
Thanks in advance.