You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ma...@epamail.epa.gov on 2007/04/02 17:24:02 UTC

Configuring struts in IDE

Hi all

For any IDE, it requires to place struts-config.xml, struts-bean.tld, 
struts-html.tld, struts-logic.tld, struts-nested.tld, struts-template.tld, 
struts-tiles.tld in the "WEB-INF" folder. But in Struts 2.0.6, I don't see 
these files in the install directory. They are available only in the "src" 
folder of the installation.

So we should manually copy those files in "src" folder to the "WEB-INF" 
folder?

Thanks

Vignesh Manickam Periaswamy
Web Application Developer Intern, Information Management Section
WPTD,   EPA Region 5         312-886-0887
email: Manickam-Periaswamy.Vignesh@epa.gov


RE: Configuring struts in IDE

Posted by Bruno Melloni <Br...@wnco.com>.
I think that even in the late versions of Struts 1.x the TLD files were
no longer needed in WEB-INF, and were accesible directly from the Struts
JARs.  And as another poster said, the thought continued in 2.0 so that
you need even less.

-----Original Message-----
From: Manickam-Periaswamy.Vignesh@epamail.epa.gov
[mailto:Manickam-Periaswamy.Vignesh@epamail.epa.gov] 
Sent: Monday, April 02, 2007 10:24 AM
To: user@struts.apache.org
Subject: Configuring struts in IDE

Hi all

For any IDE, it requires to place struts-config.xml, struts-bean.tld,
struts-html.tld, struts-logic.tld, struts-nested.tld,
struts-template.tld, struts-tiles.tld in the "WEB-INF" folder. But in
Struts 2.0.6, I don't see these files in the install directory. They are
available only in the "src" 
folder of the installation.

So we should manually copy those files in "src" folder to the "WEB-INF" 
folder?

Thanks

Vignesh Manickam Periaswamy
Web Application Developer Intern, Information Management Section
WPTD,   EPA Region 5         312-886-0887
email: Manickam-Periaswamy.Vignesh@epa.gov


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


Re: Configuring struts in IDE

Posted by Piero Sartini <li...@pierosartini.de>.
Am Montag, 2. April 2007 schrieb Manickam-Periaswamy.Vignesh@epamail.epa.gov:
> Thanks for your response.
>
> I am not migrating from Struts 1 to struts 2. Infact I am new to struts. I
> am just stumbling in configuring my IDE. I am using Eclipse WTP and was
> configuring based on a tutorial http://java.sys-con.com/read/216320.htm
>
> But now realized that article used struts 1.1 and I just read from struts
> 2 documentation that the corresponding tld file struts-tags.tld

There are some good tutorials in the s2 wiki:
http://cwiki.apache.org/WW/home.html

especially 
http://cwiki.apache.org/WW/ready-set-go.html

The easiest way to start is with the maven archetype.

Piero

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


Re: Configuring struts in IDE

Posted by Ma...@epamail.epa.gov.
Thanks for your response.

I am not migrating from Struts 1 to struts 2. Infact I am new to struts. I 
am just stumbling in configuring my IDE. I am using Eclipse WTP and was 
configuring based on a tutorial http://java.sys-con.com/read/216320.htm

But now realized that article used struts 1.1 and I just read from struts 
2 documentation that the corresponding tld file struts-tags.tld

Thanks

Vignesh Manickam Periaswamy
Web Application Developer Intern, Information Management Section
WPTD,   EPA Region 5         312-886-0887
email: Manickam-Periaswamy.Vignesh@epa.gov





Antonio Petrelli <an...@gmail.com> 
04/02/2007 10:40 AM
Please respond to
Struts Users Mailing List <us...@struts.apache.org>



To
Struts Users Mailing List <us...@struts.apache.org>
cc





Subject
Re: Configuring struts in IDE



2007/4/2, Manickam-Periaswamy.Vignesh@epamail.epa.gov
<Ma...@epamail.epa.gov>:
> I am sorry. In struts 2.0.6, those files (struts-config.xml,
> struts-bean.tld, struts-html.tld, struts-logic.tld, struts-nested.tld,
> struts-template.tld, struts-tiles.tld ) are not available. So where do 
we
> get them?

>From your words it seems that you want to migrate from Struts 1 to
Struts 2 and that you don't know that Struts 1.x and 2.x are *very*
different. Different configuration files, different taglibs, different
Tiles support.
So the question is: are you sure that you are not making a big mistake
choosing Struts 2?

Just my 2 eurocents.
Antonio

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



Re: Configuring struts in IDE

Posted by Antonio Petrelli <an...@gmail.com>.
2007/4/2, Manickam-Periaswamy.Vignesh@epamail.epa.gov
<Ma...@epamail.epa.gov>:
> I am sorry. In struts 2.0.6, those files (struts-config.xml,
> struts-bean.tld, struts-html.tld, struts-logic.tld, struts-nested.tld,
> struts-template.tld, struts-tiles.tld ) are not available. So where do we
> get them?

>From your words it seems that you want to migrate from Struts 1 to
Struts 2 and that you don't know that Struts 1.x and 2.x are *very*
different. Different configuration files, different taglibs, different
Tiles support.
So the question is: are you sure that you are not making a big mistake
choosing Struts 2?

Just my 2 eurocents.
Antonio

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


Re: Configuring struts in IDE

Posted by Dave Newton <ne...@yahoo.com>.
--- Manickam-Periaswamy.Vignesh@epamail.epa.gov wrote:
> I am sorry. In struts 2.0.6, those files
> (struts-config.xml, struts-bean.tld,
struts-html.tld, 
> struts-logic.tld, struts-nested.tld, 
> struts-template.tld, struts-tiles.tld ) are not
> available. So where do we get them?

Why would you want them?

d.



 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

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


Re: Configuring struts in IDE

Posted by Ma...@epamail.epa.gov.
I am sorry. In struts 2.0.6, those files (struts-config.xml, 
struts-bean.tld, struts-html.tld, struts-logic.tld, struts-nested.tld, 
struts-template.tld, struts-tiles.tld ) are not available. So where do we 
get them?


Vignesh Manickam Periaswamy
Web Application Developer Intern, Information Management Section
WPTD,   EPA Region 5         312-886-0887
email: Manickam-Periaswamy.Vignesh@epa.gov





Vignesh Manickam-Periaswamy/R5/USEPA/US@EPA 
04/02/2007 10:24 AM
Please respond to
Struts Users Mailing List <us...@struts.apache.org>



To
user@struts.apache.org
cc





Subject
Configuring struts in IDE



Hi all

For any IDE, it requires to place struts-config.xml, struts-bean.tld, 
struts-html.tld, struts-logic.tld, struts-nested.tld, struts-template.tld, 

struts-tiles.tld in the "WEB-INF" folder. But in Struts 2.0.6, I don't see 

these files in the install directory. They are available only in the "src" 

folder of the installation.

So we should manually copy those files in "src" folder to the "WEB-INF" 
folder?

Thanks

Vignesh Manickam Periaswamy
Web Application Developer Intern, Information Management Section
WPTD,   EPA Region 5         312-886-0887
email: Manickam-Periaswamy.Vignesh@epa.gov



Re: Configuring struts in IDE

Posted by Dave Newton <ne...@yahoo.com>.
--- Manickam-Periaswamy.Vignesh@epamail.epa.gov wrote:
> But in Struts 2.0.6, I don't see these files in the 
> install directory. They are available only in the 
> "src" folder of the installation.
> 
> So we should manually copy those files in "src"
> folder to the "WEB-INF" folder?

No.

If your IDE works it should be pulling the TLD (hence
completion/attribute checking) by using the definition
in the <%@ taglib...%> directive.

For instance, I'm running Eclipse 3.2 w/ MyEclipse
5.something and completion/checking are working fine.

d.



 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

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