struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: Is struts a hybrid or page-centric and servlet-centric design?
Date Tue, 19 Sep 2000 16:19:11 GMT
"Leland, Robert" wrote:

> I was wrong, and I jumped the gun. In that wheather struts uses
> request parameters,at least in the example,or not doesn't
> determine wheather it is server-centric or not. So it
> is servlet-centric, gotta read those doc's more.

I would agree with that characterization, but I haven't read the book -- only
the quote you cited.

> The fact that I have flexability in how I go about sending
> commands to the servlet from the JSP is good.

Yep.  Lots of people send "commands" with their form submits via hidden fields
-- I was just making it explicit in the example app by using a query parameter
instead so that the form could stay pure data.  The servlet container merges the
query parameters and the posted fields for you, so the action class does not
care how this is done.

> -Rob


See you at ApacheCon Europe <>!
Session VS01 (23-Oct 13h00-17h00):  Sun Technical Briefing
Session T06  (24-Oct 14h00-15h00):  Migrating Apache JServ
                                    Applications to Tomcat

View raw message