You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Xavier Combelle <xc...@kaptech.com> on 2002/11/12 13:44:35 UTC

RE: From old JSP and Servlets to STRUTS

I think that all the complex traitment on objects returned by logic
should be simplified by the Action layer so the jsp work only with 'trivial'
beans.



Xavier

> -----Message d'origine-----
> De : Fernando Hernandez [mailto:fernando@bit-bang.com]
> Envoyé : lundi 12 novembre 2001 13:13
> À : STRUTS Mailing-List
> Objet : From old JSP and Servlets to STRUTS
>
>
> Hi,
>
> I am student doing an intership and i just started to learn about Struts
> because I'm currently transforming a J2EE web application composed by
> servlets and old-java-embedded-JSPs so it can adopt Model 2.
>
> To acomplish this i found that using Struts is the prefect
> answer. To reach
> my goal, at first I thought that maybe the best way to do it was to first
> address the interface by taking out all the Java embedded in all the JSPs,
> and change it with Struts, JSTL, custom made taglibs. After doing this, i
> was going then to think about the Model and the framework itself...
>
> But i have found that to take out the embedded java from the JSP has been
> very difficult, since the objects(I'd like to say JavaBeans, bur they 're
> not exactly that, and actually that is part of the problem) which were
> sended from the logic to the presentation were very complex in nature and
> the content an not be presented just by using the strut's, JSTL or many
> other libraries i have looked exhaustively.
>
> So, should i leave some Java embedded in the JSPs?
> If the answer to the previous question is "yes", should I maybe put the
> embedded Java into custom tag libraries made by me? or maybe use
> includes or
> imports?
>
>
> I please ask your help on this since I'm running out of time.
>
> Thanks from Madrid.
>
>
> Fernando Hernandez.
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: From old JSP and Servlets to STRUTS

Posted by Fernando Hernandez <fe...@bit-bang.com>.
First, I'll like to thank Robert Taylor for his really helpful answer on how
to address the issues I'm working, it seems definitely much better to attack
the problem in a top-bottom view rather than bottom-top as I was thinking. I
also liked the idea of having diferent logic segments and have different
controlers for each one of them (besides other helpful suggestions he
pointed).

Second, thanks for telling me about the date, i just correct it ;-)

Fernando.


-----Mensaje original-----
De: Peter A. J. Pilgrim [mailto:peterp@xenonsoft.demon.co.uk]
Enviado el: martes, 12 de noviembre de 2002 17:18
Para: Struts Users Mailing List
Asunto: Re: From old JSP and Servlets to STRUTS


Fernando Hernandez wrote:
> Thanks a lot, makes a lot of sense... I think I'll do that.

Are you exactly one year behind everyone?. Message dated 12/11/2001 !
--
Peter Pilgrim
ServerSide Java Specialist

My on-line resume and for interview videos about myself, J2EE
Open Source, Struts and Expresso.
    ||
    \\===>  `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: From old JSP and Servlets to STRUTS

Posted by "Peter A. J. Pilgrim" <pe...@xenonsoft.demon.co.uk>.
Fernando Hernandez wrote:
> Thanks a lot, makes a lot of sense... I think I'll do that.

Are you exactly one year behind everyone?. Message dated 12/11/2001 !
-- 
Peter Pilgrim
ServerSide Java Specialist

My on-line resume and for interview videos about myself, J2EE
Open Source, Struts and Expresso.
    ||
    \\===>  `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: From old JSP and Servlets to STRUTS

Posted by Fernando Hernandez <fe...@bit-bang.com>.
Thanks a lot, makes a lot of sense... I think I'll do that.

-----Mensaje original-----
De: Xavier Combelle [mailto:xcombelle@kaptech.com]
Enviado el: martes, 12 de noviembre de 2002 13:45
Para: Struts Users Mailing List
Asunto: RE: From old JSP and Servlets to STRUTS


I think that all the complex traitment on objects returned by logic
should be simplified by the Action layer so the jsp work only with 'trivial'
beans.



Xavier

> -----Message d'origine-----
> De : Fernando Hernandez [mailto:fernando@bit-bang.com]
> Envoyé : lundi 12 novembre 2001 13:13
> À : STRUTS Mailing-List
> Objet : From old JSP and Servlets to STRUTS
>
>
> Hi,
>
> I am student doing an intership and i just started to learn about Struts
> because I'm currently transforming a J2EE web application composed by
> servlets and old-java-embedded-JSPs so it can adopt Model 2.
>
> To acomplish this i found that using Struts is the prefect
> answer. To reach
> my goal, at first I thought that maybe the best way to do it was to first
> address the interface by taking out all the Java embedded in all the JSPs,
> and change it with Struts, JSTL, custom made taglibs. After doing this, i
> was going then to think about the Model and the framework itself...
>
> But i have found that to take out the embedded java from the JSP has been
> very difficult, since the objects(I'd like to say JavaBeans, bur they 're
> not exactly that, and actually that is part of the problem) which were
> sended from the logic to the presentation were very complex in nature and
> the content an not be presented just by using the strut's, JSTL or many
> other libraries i have looked exhaustively.
>
> So, should i leave some Java embedded in the JSPs?
> If the answer to the previous question is "yes", should I maybe put the
> embedded Java into custom tag libraries made by me? or maybe use
> includes or
> imports?
>
>
> I please ask your help on this since I'm running out of time.
>
> Thanks from Madrid.
>
>
> Fernando Hernandez.
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>