You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Caroline Jen <ji...@yahoo.com> on 2005/03/30 17:30:41 UTC
Is It Possible to Code Using Struts and JSF at the Same Time?
I am working on a big J2EE project. The project is at
its initial stage. The leaders of the project have not
quite made up their mind on whether we are going to
use the Struts framework or JSF. But, all members of
the team think that we should start coding.
Is it possible to use the Struts framework and JSP at
the same time? And once the final decision is made, we
can move to that particular direction? How can it be
done?
-Caroline
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Is It Possible to Code Using Struts and JSF at the Same Time?
Posted by Dakota Jack <da...@gmail.com>.
Sure you can. It is just the same as coding both .NET and Sruts.
Nuts, but you can do it.
Jack
On Mar 30, 2005 7:30 AM, Caroline Jen <ji...@yahoo.com> wrote:
> I am working on a big J2EE project. The project is at
> its initial stage. The leaders of the project have not
> quite made up their mind on whether we are going to
> use the Struts framework or JSF. But, all members of
> the team think that we should start coding.
>
> Is it possible to use the Struts framework and JSP at
> the same time? And once the final decision is made, we
> can move to that particular direction? How can it be
> done?
>
> -Caroline
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Is It Possible to Code Using Struts and JSF at the Same Time?
Posted by Dakota Jack <da...@gmail.com>.
I agree with this. The html tags are boss.
On Apr 1, 2005 6:45 AM, NetSQL <ma...@friendvu.com> wrote:
> Craig McClanahan wrote:
>
> >
> > I would caution new projects, however, to *not* use the Struts HTML
> > tags. That part of Struts has received fairly little developer
> > attention, and should be considered legacy at this point.
>
> I would disagree. JSTL replaced some tag, but HTML tag is IMO best
> practice and production tested stable.
>
> It's easy for graphic artists to work w/.
>
> .V
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Is It Possible to Code Using Struts and JSF at the Same Time?
Posted by Dakota Jack <da...@gmail.com>.
Who he is, Dave, is someone paid by the people bringing you JSF. Doh!
I think I will just have to do my own evaluation all by myself, and
then I can say "The best thing about it is that I did it myself".
Like they said about me in the 3rd grade: he always does a little more
than asked. ///;-)
Jack
On Apr 1, 2005 8:20 AM, Dave Newton <ne...@pingsite.com> wrote:
> NetSQL wrote:
>
> > Craig McClanahan wrote:
> >
> >> I would caution new projects, however, to *not* use the Struts HTML
> >> tags. That part of Struts has received fairly little developer
> >> attention, and should be considered legacy at this point.
> >
> > I would disagree. JSTL replaced some tag, but HTML tag is IMO best
> > practice and production tested stable.
>
> Er...
>
> In general I'd tend to listen to Craig on issues like this, considering
> who he is and stuff.
>
> Even if you choose not to, there's a reason the "S" is in "JSTL".
>
> Let's face it--if one of the developers calls something "legacy" we
> should pay attention.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Is It Possible to Code Using Struts and JSF at the Same Time?
Posted by Dave Newton <ne...@pingsite.com>.
NetSQL wrote:
> Craig McClanahan wrote:
>
>> I would caution new projects, however, to *not* use the Struts HTML
>> tags. That part of Struts has received fairly little developer
>> attention, and should be considered legacy at this point.
>
> I would disagree. JSTL replaced some tag, but HTML tag is IMO best
> practice and production tested stable.
Er...
In general I'd tend to listen to Craig on issues like this, considering
who he is and stuff.
Even if you choose not to, there's a reason the "S" is in "JSTL".
Let's face it--if one of the developers calls something "legacy" we
should pay attention.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Is It Possible to Code Using Struts and JSF at the Same Time?
Posted by NetSQL <ma...@friendVU.com>.
Craig McClanahan wrote:
>
> I would caution new projects, however, to *not* use the Struts HTML
> tags. That part of Struts has received fairly little developer
> attention, and should be considered legacy at this point.
I would disagree. JSTL replaced some tag, but HTML tag is IMO best
practice and production tested stable.
It's easy for graphic artists to work w/.
.V
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Is It Possible to Code Using Struts and JSF at the Same Time?
Posted by Craig McClanahan <cr...@gmail.com>.
On Wed, 30 Mar 2005 07:30:41 -0800 (PST), Caroline Jen
<ji...@yahoo.com> wrote:
> I am working on a big J2EE project. The project is at
> its initial stage. The leaders of the project have not
> quite made up their mind on whether we are going to
> use the Struts framework or JSF. But, all members of
> the team think that we should start coding.
>
> Is it possible to use the Struts framework and JSP at
> the same time? And once the final decision is made, we
> can move to that particular direction? How can it be
> done?
>
You are certainly not the only project team in this position :-).
My standard advice nowdays is to evaluate JSF and Struts separately
against your needs. If JSF by itself does what you need, then you
should use it by itself -- this is where the future is going to be.
If you need Struts functionality in addition, you can use the
struts-faces integration library to make that happen (even though the
library is primarily oriented towards supporting migration of existing
applications).
To gain experience with the integration library, download a nightly build from:
http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/
and peruse the README.txt file in the top level directory.
I would caution new projects, however, to *not* use the Struts HTML
tags. That part of Struts has received fairly little developer
attention, and should be considered legacy at this point. In
addition, there is no real UI component model there; JSF deals with a
large number of issues for you.
For more adventurous developers, you might also consider what I've
proposed for the next generation of Struts -- a framework called Shale
(which is now a formal Struts sub-project) that presumes you are using
JavaServer Faces and adds value behind it. Nightly builds of that are
available at:
http://cvs.apache.org/builds/jakarta-struts/nightly/struts-shale/
> -Caroline
Craig McClanahan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Is It Possible to Code Using Struts and JSF at the Same Time?
Posted by Himanshu Shah <hi...@iteamic.com>.
Hi,
Its all depend on your project's domain.
But I can tell you boldly that you can use Struts and JSP together without
worried your project size.
So, at present if you want to start coding you can start design your JSP
pages, and later on add struts tags.
Regards,
Himanshu Shah
-----Original Message-----
From: Caroline Jen [mailto:jiapei_jen@yahoo.com]
Sent: Wednesday, March 30, 2005 9:01 PM
To: struts-user@jakarta.apache.org
Subject: Is It Possible to Code Using Struts and JSF at the Same Time?
I am working on a big J2EE project. The project is at
its initial stage. The leaders of the project have not
quite made up their mind on whether we are going to
use the Struts framework or JSF. But, all members of
the team think that we should start coding.
Is it possible to use the Struts framework and JSP at
the same time? And once the final decision is made, we
can move to that particular direction? How can it be
done?
-Caroline
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org