• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse ganymede using Struts

 
guthula lakshman
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"kranthi "please check your private messages for an important administrative matter. You can see them by clicking the My Private Messages link above.
 
guthula lakshman
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi kranti
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic