• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

In struts problem

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
https://coderanch.com/forums/f-58/Struts
 
Jayesh Sisodiya
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.....
reply
    Bookmark Topic Watch Topic
  • New Topic