• 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

pass object from one jsp to other using html:link

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?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic