• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse ganymede using Struts

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi kranti
 
Amit Ghorpade
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
A tiny monkey bit me and I got tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic