• 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

Are there any editors for Struts?

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I wanted to know if there are any editors which support struts tags and gives a preview of the the jsp page we are developing. Its very furstrating that we have to develop the form bean and action file and edit the struts config.xml file before we can even see the jsp page.
Any thoughts on how to make this part easier are welcome
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are a lot of IDE helper tools for Struts. Some are open source, some are commercial. See:
http://jakarta.apache.org/struts/resources/tools.html
I don't use any of these, so I can't recommend which is "best".
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
EasyStruts isn't too bad. It is available as a plugin for JBuilder and Eclipse.
 
Author
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe the latest version of Macromedia's Dreamweaver may have better support for custom tags, including the Struts JSP tags, but I haven't had a chance to play with it much myself.
Often, you only really need to stub-out the ActionForms to go with the JSPs. An action mapping that just forwards from an input page to an output page is often sufficient for a preview. It can also be helpful to setup a mock Action that posts some preview data in the request, which you can then display on the JSP for testing.
Some people also find that page design can be easier with Velocity templages, since they are more forgiving than JSPs. Chapter 17 of Stuts in Action shows how to migrate a small application from JSP to Velocity
HTH, Ted.
reply
    Bookmark Topic Watch Topic
  • New Topic