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 ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • 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
Hi
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}" />
</spring:bind>

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
 
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
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic