Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

About spring:bind

Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am working in struts integrated spring application(struts MVC integrated with spring DelecgationActionProxy).I want to use the <spring:bind> to bind the value of form in to a pojo with out the need of any it possible in struts-spring application?
my code like

<spring:bind path="customer.username">
user name: <input type="text" value="${customer.username}" />

If it is possible where i have to declare the customer flow is

index.html---->submitAction(I placed here request.setAttribute("customer",new Customer)---->Home.jsp(above logic here)--->ResultAction(request.getAttribute("customer"))

Actually we do not get attribute here.There is no way to put this customer in session because spring:bind tag works for request attribute only.

Any help on this will be greatful

thank you
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic