ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhaa <b...@yandex.ru>
Subject RE: Why in Application is worked, but in JSP don't worked?
Date Mon, 24 Aug 2009 14:11:51 GMT

Thinks, I shall look now it.

Poitras Christian wrote:
> Hi,
> You can see JSP as being close to an HTML page. It is better if you never
> put any scripting in a JSP (being <% %>).
> Many frameworks exists to simplify the use of JSP in an MVC framework.
> Strust and Stripes are only a few examples.
> In Struts you would put you database calls in Action class, in Stripes it
> is an ActionBean.
> In both cases, you may want to put your database calls into a service
> class. The service methods would then be called by you Action/ActionBean
> class.
> You are better of reading about MVC framework (Stripes site at
> http://www.stripesframework.org/display/stripes/Home is nice) and
> programming Patterns.
> Christian

View this message in context: http://www.nabble.com/Why-in-Application-is-worked%2C-but-in-JSP-don%27t-worked--tp25115452p25116757.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org

View raw message