This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Learn Java with Math: Using Fun Projects and Games and have Ron Dai on-line!
See this thread for details.
Win a copy of Learn Java with Math: Using Fun Projects and Games this week in the Beginning Java forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Are there any editors for Struts?

 
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
 
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".
 
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.
 
Author
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.
 
Acetylsalicylic acid is aspirin. This could be handy too:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!