• Post Reply Bookmark Topic Watch Topic
  • New Topic

In struts problem

 
Jayesh Sisodiya
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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:
http://www.coderanch.com/forums/f-58/Struts
 
Jayesh Sisodiya
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
say you have one parameter "user" and have one property "name" . see below line



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

enjoyyyy.....
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!