aspose file tools*
The moose likes Struts and the fly likes  Eclipse ganymede using Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " Eclipse ganymede using Struts" Watch " Eclipse ganymede using Struts" New topic
Author

Eclipse ganymede using Struts

guthula lakshman
Greenhorn

Joined: Sep 24, 2007
Posts: 21
Hi folks

i am using ecilpse ganymede using struts. i am new to using eclipse ganymede. Actually my problem is Right now my requirement struts application
using Eclipse ganymede in that no plugin support for struts capabilities.


previously i used MyElcipse i used in that Right click the project after that in MyElipse Right click ---> add struts capabilities i used.
But in this in that i never such requirement

2) where it generate the struts-config.xml file.. i searched so may forum but i could get the solution.

please help me could anybody use the tool and suggest me the correct procedure to execute the struts application.


Thanks for advance



Regards
Lakshman
kranthi
Greenhorn

Joined: Dec 17, 2008
Posts: 10
Hi ,

you have to create "struts-config.xml" file in your project.

projectfolder/WEB-INF/lib/struts-config.xml.

I think this is help ful to you.


Regards<br />kranthi
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2718
    
    6

"kranthi "please check your private messages for an important administrative matter. You can see them by clicking the My Private Messages link above.


SCJP, SCWCD.
|Asking Good Questions|
guthula lakshman
Greenhorn

Joined: Sep 24, 2007
Posts: 21
Hi kranti
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2718
    
    6

"lakshman" please check your private messages for an important administrative matter. You can see them by clicking the My Private Messages link above.
kranthi
Greenhorn

Joined: Dec 17, 2008
Posts: 10
Hi,

no need to use any tools/plug-ins to create and run struts application in eclipse.

Assume that you create a Dynamic-web-project named "struts-Example".

Then Struts-Example/javaresources/src/yourpackagename/Actionclass.java
struts=Example/javaresources/src/yourpackagename/ActionForm.java

like that you can create your Action class and form bean.

And create an xml file named struts-config under Struts-Example/WEB-INF folder.

As well as required JSP pages under Struts-Example/WEB-INF folder.

keep the required jars under /WEB-INF/lib folder.

After you can run your struts application.

If it is a Java application. right click on Struts-Example folder, select Runas/javaapplication.

if it is a tomcat/webapplication select Runas/run on server.


I think it will be helpful for you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse ganymede using Struts