• 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

if you were writing struts without IDE help...

 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just curious if you were to write struts application without IDE help, which order of would you choose to write?

Would it be web.xml -> all the actionforms -> all the jsps -> struts-config.xml -> actions ?

What order would you prefer?
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tony,
While my IDE supports Struts, I still prefer to write the code by hand. Probably because I want to TDD as much as possible. I use the order:
- Backend (DAO/SessionBean/etc) - Technically this isn't part of Struts, but I find it helpful to start here
- Action and ActionForm to get object to call for backend
- Action and model classes to store back end results in request/session and format as needed
- JSP
- struts-config.xml

Also, note that I am doing this one action at a time. I wouldn't write all the ActionForms in one shot as I wouldn't know what they needed on such a detailed level.
 
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic