my dog learned polymorphism*
The moose likes Struts and the fly likes Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts" Watch "Struts" New topic
Author

Struts

Sanjay Balu
Greenhorn

Joined: Aug 29, 2001
Posts: 11
Hi All,
Can anyone please give me some information about Java Struts, My next project is based on Jsp and struts
thanks,
Sanjay
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
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


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
I will move this to the Jakarta project forum.


Matthew Phillips
jayram
Ranch Hand

Joined: Oct 30, 2000
Posts: 94
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
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
try these:
http://www.husted.com/struts/
http://jakarta.apache.org/struts/


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Jim Petersen
Ranch Hand

Joined: Jul 24, 2001
Posts: 241
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...
Byron Estes
Ranch Hand

Joined: Feb 21, 2002
Posts: 313
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


Byron Estes<br />Sun Certified Enterprise Architect<br />Senior Consulant<br />Blackwell Consulting Services<br />Chicago, IL<br /><a href="http://www.bcsinc.com" target="_blank" rel="nofollow">www.bcsinc.com</a>
Ravi Veera
Ranch Hand

Joined: Jun 23, 2001
Posts: 127
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 ]
Byron Estes
Ranch Hand

Joined: Feb 21, 2002
Posts: 313
Thanks Ravi, I'll check those out!
Regards,
Byron
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts
 
Similar Threads
Struts interview questions
InnerHTML and struts tags
Action class in Struts
URL rewrite to maintain session state
Eclipse IDE - How to set up a Struts 2 project