public marks

PUBLIC MARKS from jpcaruana with tags web & struts

December 2007

Get a better handle on Struts actions, with Spring

importing Struts applications into the Spring framework. Follow along as George shows you how to revamp Struts actions so they can be managed just like Spring beans. The result is a boosted web framework that easily reaps the benefits of Spring AOP.

October 2007

Geek Speak: The Web Framework Hell

(via)
Today, what does a developer do when they want to start a project from scratch? Do I go with JSF? Ruby on Rails? JRuby? Groovy on Rails? Struts 2? GWT? Flex?

November 2006

java.net: Sprinkle Some AJAX Magic in Your Struts Web Application

(via)
AJAX is the latest revolution in web development circles, allowing rich dynamic interfaces deployed within a normal web browser. Struts has been one of the de facto standards for Java-Web development for a number of years, with a large number of applications already deployed. This article will show you how to combine the richness of an AJAX user interface with your existing Struts applications. This article shows a simple and elegant way to do this by including a couple of lines of JavaScript on your JavaServer Pages (JSPs). While we show how to reuse existing Struts actions, the techniques are equally applicable to the Java-Web framework of your choice. The method proposed will also allow a move to the next version of Struts (Shale) or JavaServer Faces (JSF) in the future.

Enterprise Java Community: Redirect After Post

(via)
All interactive programs provide two basic functions: obtaining user input and displaying the results. Web applications implement this behavior using two HTTP methods: POST and GET respectively. This simple protocol gets broken when application returns web page in response to POST request. Peculiarities of POST method combined with idiosyncrasies of different browsers often lead to unpleasant user experience and may produce incorrect state of server application. This article shows how to design a well-behaved web application using redirection.