Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Are there any editors for Struts?

 
Rajani Deshpande
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • 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
 
Pete Cassetta
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • 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".
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EasyStruts isn't too bad. It is available as a plugin for JBuilder and Eclipse.
 
Ted Husted
Author
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic