• 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:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Struts

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
Can anyone please give me some information about Java Struts, My next project is based on Jsp and struts
thanks,
Sanjay
 
author
Posts: 3892
5
Redhat Quarkus Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I will move this to the Jakarta project forum.
 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try these:
http://www.husted.com/struts/
http://jakarta.apache.org/struts/
 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sanjay
Professional JSP Site Design (another big red Wrox book) has a good overview on struts as well
 
Ranch Hand
Posts: 313
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 313
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ravi, I'll check those out!
Regards,
Byron
 
reply
    Bookmark Topic Watch Topic
  • New Topic