Yes.. if you plan to use MVC use Struts (or Spring or whatever framework you
please)
However.. Taglibs are just the View part, so you can use Struts with
whatever presentation components you prefer, still staying inside MVC model.
Actually.. there's nothing that prevents you to not use JSP at all as
presentation layer with Struts.

You have lots of option for your presentation:
- You can use pure JSP with (yuck) scriptlets
- you can use legacy struts tags
- you can use JSTL
- you can use Velocity
- You can use XML + XSLT
- you can use JSF
- you can ever mix Struts with non-java technologies like Flash (There are
several tutorials out there about how to integrate struts with flash
gateways like Macromedia's one or Open AMF)



-----Messaggio originale-----
Da: Rosenberg, Leon [mailto:[EMAIL PROTECTED] 
Inviato: mercoledì 2 giugno 2004 12.31
A: Struts Users Mailing List
Oggetto: AW: Struts Tag Library

<2cents>
If you plan to use model 1 -> use jstl

If you plan to use model 2 -> use struts 

</2cents>
:-)
Leon

> -----Ursprüngliche Nachricht-----
> Von: Andrea M [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 2. Juni 2004 11:55
> An: 'Struts Users Mailing List'
> Betreff: R: Struts Tag Library
> 
> I agree with Rick
> Of corse you could use struts tags without Struts framework, but there's
> no
> point in doing so:
> Tags like bean, logic and iterate are almost entirely supplanted by JSTL
> The only struts tag that is still useful is <html:> but is designed to
> work
> together with ActionServlet, so using it outside the framework would
> probably be more trouble than it's worth.
> 
> So the answer is: yes you can, but it's useless.
> 
> 
> -----Messaggio originale-----
> Da: Rick Reumann [mailto:[EMAIL PROTECTED]
> Inviato: mercoledì 2 giugno 2004 2.04
> A: Struts Users Mailing List
> Oggetto: Re: Struts Tag Library
> 
> Srinivasa Jagannadh Gade wrote:
> 
> > I've a question with Tag Library.
> >
> > Can we use only the Struts Tag Library without using Struts Framework as
> > a whole(Controller ,Action,Form etc).
> 
> It does you no good to use the Struts tags without using tags. The ones
> you need from Struts are used in conjunction with ActionForms, which you
> wouldn't be using if not using the framework.
> 
> Any other tags you 'think' are useful from the Struts tag library you
> cold get from using JSTL.
> 
> --
> Rick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to