This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts example 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 example" Watch "Struts example" New topic
Author

Struts example

Mandy Smith
Ranch Hand

Joined: Jun 26, 2001
Posts: 62
Hi,
I am pretty new to this struts stuff. I have to try out some struts example first to understand how it works. Can somebody provide me with some details regarding this. Details such as what to add in jsp file, ApplicationResource.properties file, config file entry, etc.,
Any link to try out some struts example would be great.
Thanks.
Appreciate your help.
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
I recommend this article by our very own Thomas Paul.


Matthew Phillips
John Godwin
Greenhorn

Joined: Aug 24, 2001
Posts: 3
Hello Mandy,
I read through the book "Professional JSP 2nd Edition", which provide lots of examples and good explanations on JSP.
Chapter 21 gives an example of using Struts and provides a shopping cart implementation. Download the example application from www.newparticles.com/struts
The example does not implement a persistent layer, which I am interested in doing. If anyone can provide a Strut example which provides a persistent layer to mysql, I would very much appreciate it.
John Godwin
Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
Currently you can download beta-chapters of a not yet published O'Reilly struts-book from theServerSide.com
Don't know if the source code is yet accessible, but the chapters seems to be really good.
http://www.theserverside.com/resources/strutsreview.jsp
Axel
[ June 27, 2002: Message edited by: Axel Janssen ]
Jes Sie
Ranch Hand

Joined: Jul 24, 2001
Posts: 188
Lotsa examples here...
http://jakarta.apache.org/struts/resources/examples.html


Thank you.<br /> <br />- Jess Sie<br /> <a href="mailto:jess@see-consulting.com" rel="nofollow">jess@see-consulting.com</a>
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15959
    
  19

Should I add my own a gratutitous self-plug?
http://www.fawcette.com/javapro/2002_04/magazine/features/tholloway/
This is more a lightweight lead-in to show the high points (When I first got into Struts, all I could see was trees, and I wanted forest!).
What might be especially useful, however, is that the bare-bones Struts app described there is running at
http://www.mousetech.com/strutdemo/index.jsp
AND it's annotated, so you can click on the links down at the bottom of each page to view the components that were involved in the creation and display of the page.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts example
 
Similar Threads
Difficulty running RMI server, Red Hat 7.0
How To Access struts Properties file
Sturts in weblogic
How can I use Struts 2 with Netbeans 6.9
Struts 2 and JDBC