Of course... data access in a presentation view is bad practice, much
better to unit test a bean (with DAO, such as iBatis.com) in an MVC way.
Then you can reuse you bean for Soap, etc., not just JSP and keep your
JSP code clean.
Michael Duffy wrote:
Do you mean you want to batch commands, the
Display tag (it works with grids) is very popular, open source on sf.net.
It has sorting, etc. and a great example war. You can goolge for display
tag or it's linked on basebeans.com downloads page.
hth,
Yansheng Lin wrote:
For example, sort by columns.
--
Vic Cekvenich,
Struts Instructor,
1
For example, sort by columns.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
All four scopes *were* checked.
However, remember that your property is encapsuled within the formbean
class.
Therefore, it is not actually in any of the scopes directly.
As for it being enclosed by the html:form tags, don't confuse JSTL with
Struts.
Struts will automagically get properties from th