Hi All, Can anyone please give me some information about Java Struts, My next project is based on Jsp and struts thanks, Sanjay
Joined: Aug 10, 2001
You'd probably get a better response for this if you posted it in the Apache forum in JavaRanch (the one that has "Struts" in the subtitle). Also, do a search on JavaRanch for Struts and you'll find DOZENS of posts answering this question. Kyle
Sanjay Struts provides an open source implementation of MVC architecture. It uses JSP/Taglibs for View, Beans as Model and Servlets as Controller(s). It also provides some custom tags. The userguide on struts site explains this in more detail. Hope this helps Cheers Jayram
Sanjay Professional JSP Site Design (another big red Wrox book) has a good overview on struts as well
- Jim Petersen <br />SCJP2<br />SCWCD<p>- but then again, I could be wrong...
Joined: Feb 21, 2002
Hello, I'm just starting to look at struts. I've done MVC pattern programming for some time. Prior to the struts project I had already designed something similar (albeit not as elaborate). As I look at struts, however, I don't see at least one the capabilitiest that I would expect. That is... Working with complex or structured data in requests Getting simple unstructured data out of a request and persisting it to a database is easy. What gets a bit more complicated is getting structured data from a request and persisting it to a database. For example: Let's say our application is a simple inventory system where list of items in the inventory are displayed and maintained. If you want to display a table of records and allow them to maintain the table (...not just a single record), you need to be able to relate individual fields to a row. So that all the impacted records can be updated. The request will return the data as name/value pairs that unless you use some naming conventions cannot be reassembled into structured data. Also, the order of data in a request is not guaranteed. This is further complicated if you want to have complex table operations like... updating one of more records while deleting and/or one or more other records. In this case we need to be able not only to relate fields on the form to their logical record, but associate an action to take with each logical record. The concept here is similar to what sybase does with PowerBuilder's data window. Does struts provdide anything to simplify the the programmer job when working with structured data? I have an existing solution for this that I can probably use with struts, but I was wondering if it was already built into the framework. Thanks very much, Byron Estes
If you want to display a table of records and allow them to maintain the table (...not just a single record), you need to be able to relate individual fields to a row. So that all the impacted records can be updated. The request will return the data as name/value pairs that unless you use some naming conventions cannot be reassembled into structured data. Also, the order of data in a request is not guaranteed.
There is nested struts an extension to struts which kind of fits into the scenario you describe http://www.keyboardmonkey.com/struts/index.html Here's a link worth looking at http://www.dbforms.org. It's a framework geared towards creating frontends for databases. I played around with it a bit and it's pretty decent. HTH Ravi (junilu: edited URL) [ February 22, 2002: Message edited by: Junilu Lacar ]