Vita Rara: A Life Uncommon

Mark's Struts 2 Cookbook


Categories: | |

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.

Cookbook is definitely my

Cookbook is definitely my favorite...thanks for sharing me the good news!
prodigy adjustable bed

thanks

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;)

Displaying action errors, field errors and action messages

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

Could not find a Content-Type for upload

I am not able to get the contents for the csv file but for other files its working fine.

The code is

File Upload Example

---------------------------------------------------------------------------
in Struts.xml i have placed the below code

/pages/uploadsuccess.jsp

---------------------------------------------------------------------------
uploadsuccess.jsp has

Showcase

File Upload Example

File:

Can you please tell me how to upload a csv file. I badly need this to be solved. So please help me out

Struts2 and Soap

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

cookbook.war ?

It's possible to download directly the cookbook in a war file?

Struts 2 Sample App not deploying in Tomcat 5.5, 6.0

Struts 2 Sample App not deploying in Tomcat 5.5, 6.0

Thanks

Thankyou very much for the healthy tips.
rent villa

OK Thank you

OK Thank you

Ok, thx

Well that's ultra healthy tips, keep up postings, your website is really great.
holiday villa

free pdf of struts2

hello

i need pdf

hai
hello

how to get it

I want to know how to get the pdf document?

re: how to get it

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

Printer Friendly View

I have turned on the printer friendly view option.

Mark

I'm not have printer

pls send struts2 cook book pdf to me

Install pdfcreator

If you're on windows you can install pdfcreator that basically behaves as a real printer, but outputs pdf files.