Struts 2 is the new version of Struts, under development at the Apache Group. It is based on WebWork 2, and has many modern web framework features, like user interface tags, type conversion, and validation. Struts 2 is highly flexible and extensible.
In this cookbook you will find HOWTO guides, and recipes for common scenarios in Struts 2.
I've used Struts2 on various projects and I have to say that the learning curve from Struts1 is high - the framework is totally different and takes some getting used to. Aditionally I heard in the reviews found by mp3 SE and proved myself that Struts 2.0.6 and below suffered from a particularly bad OGNL performance problem with freemarker templates. Which pretty much made it unusable for us a large clustered and high transaction environment. Having said that on smaller projects I've been using Struts 2.0.9 and it works a charm. Still I'm thankful to you for sharing this information. Many men - many minds;)
Hi,
I am having 2 different forms pointing to 2 different actions in a single JSP page. Above both the forms we have tags.
The issue is that validation messages (fielderrors and action errors) of form 1 gets displayed above both the forms.
1) For field errors we are using tag having names of form element depending on the form. With this its displaying different field errors. Is this approach correct?
2) What can we do to filter actionerrors?
Regards,
Arpana
I am not able to get the contents for the csv file but for other files its working fine.
The code is
---------------------------------------------------------------------------
in Struts.xml i have placed the below code
/pages/uploadsuccess.jsp
---------------------------------------------------------------------------
uploadsuccess.jsp has
Showcase
File:
Can you please tell me how to upload a csv file. I badly need this to be solved. So please help me out
I hope this is not the absolutely wrong place to ask ... so here goes. Could u point me in the right direction - I would like to build a web app using struts2 and soap. I successfully compiled with maven and appfuse my struts2 and i read abit on apache soap ... but after that where do i go?
THANKS in ADVANCE.
firebird
It's possible to download directly the cookbook in a war file?
Struts 2 Sample App not deploying in Tomcat 5.5, 6.0
Thankyou very much for the healthy tips.
rent villa
Well that's ultra healthy tips, keep up postings, your website is really great.
holiday villa
I want to know how to get the pdf document?
Click the printer friendly link above and then print it to a PDF. If you don't have a "PDF Printer" there are a number of free ones available that you can download and install.
Mark
I have turned on the printer friendly view option.
Mark
pls send struts2 cook book pdf to me
If you're on windows you can install pdfcreator that basically behaves as a real printer, but outputs pdf files.
Cookbook is definitely my
Cookbook is definitely my favorite...thanks for sharing me the good news!
prodigy adjustable bed