• 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
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

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 ActionForm.is 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 attribute.my 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
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic