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
Joined: Feb 13, 2001
Posts: 23
posted
0
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
Joined: Nov 09, 2000
Posts: 6450
posted
0
EasyStruts isn't too bad. It is available as a plugin for JBuilder and Eclipse.
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.
<a href="http://husted.com/struts/book.html" target="_blank" rel="nofollow">Struts in Action</a>