aspose file tools*
The moose likes Spring and the fly likes Is the Spring:Bind tag needed for display only data? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Is the Spring:Bind tag needed for display only data?" Watch "Is the Spring:Bind tag needed for display only data?" New topic
Author

Is the Spring:Bind tag needed for display only data?

Kim Kantola
Ranch Hand

Joined: May 17, 2001
Posts: 274
Hello,
I have a page in my app that is displaying data only, there is no data input there. Does this mean I do not need to use Spring:Bind tags? I am trying to figure out if these are only needed for the case when a user may edit/enter data on the page, so that error messages can be reached. I have the following code in my jsp, which works fine without the bind tag:

I am just wondering if there is another reason I might want to use it. I am having trouble finding this "why" info online and in my Spring book, I know how to use the tag, just not sure if I always SHOULD use it.
Thanks !
Kim
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
No need.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Kim Kantola
Ranch Hand

Joined: May 17, 2001
Posts: 274
Thank you!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is the Spring:Bind tag needed for display only data?