• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

pass object from one jsp to other using html:link

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all!

I have one oject on jsp from where i have to pass it in <html:link> and render it on other one. There are attribute paramId and paramName through which bean can be set. I have passed one string like--

<bean efine id="foo" value="teststring"/>

<html:link forward="edit" paramId="userpass" paramName="foo" scope="request">Edit</html:link>

and rendered it on other jsp --

<% out.println(request.getParameter("userpass"));%>


but in case of any object say user of class User How to do that and how i will get it on other jsp?
reply
    Bookmark Topic Watch Topic
  • New Topic