wood burning stoves 2.0*
The moose likes Struts and the fly likes In struts problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "In struts problem" Watch "In struts problem" New topic

In struts problem

Jayesh Sisodiya

Joined: Apr 12, 2007
Posts: 11
Hi Frineds,

i have problem in struts. i am using <html:link >

with this link i have to pass some value then how i will pass ?

i m using <html:link aciont="" page=""> but i didn't get value in action form.

how i will get value in action form.

pls tell me.

Christophe Verré

Joined: Nov 24, 2005
Posts: 14687


The way to pass request parameters is explained in the API. Please check it first : http://struts.apache.org/1.3.8/struts-taglib/tlddoc/html/link.html

NOTE : there is a forum dedicated to Struts. Please post your struts-related questions there. Thank you :thumb:

[My Blog]
All roads lead to JavaRanch
Jayesh Sisodiya

Joined: Apr 12, 2007
Posts: 11
Hi Dear,

First of Thanks.

i am not getting exactly so please tell me with full example.

if you have example then give me example..

Thanks you
Milan Jagatiya
Ranch Hand

Joined: Jan 01, 2007
Posts: 164
say you have one parameter "user" and have one property "name" . see below line

now you can have this property in your action ....


Milan.<br />I can because I think I can...
subject: In struts problem
Similar Threads
Difference between action and forward attribute in html:link tag
How to pass a data through html:link in struts
Passing parameters
In struts problem