-----Original Message-----Derek,
From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 9:31 AM
To: [EMAIL PROTECTED]
Subject: Re: Struts Action Graphs
That is really cool!
Thanks,
Bryan
Derek Longmuir wrote:
[EMAIL PROTECTED]" type="cite">Hi everyone,
I have created some XSL that takes the (old) action.xml and (new) struts-config.xml files and produces a graph showing the various forwards, forms, actions, etc. You can then use dot to convert the graph into an image.
I threw together a website where you can check this out at:
http://members.home.net/dlongmuir/struts.html
It isn't quite as enlightening as I thought it would be, but certainly produces interesting pictures. :-) This is primarily due to the fact that the struts-config.xml doesn't hold all the information. I think to produce a better overview you would have to also parse the corresponding JSPs for their tags, and maybe even the action classes themselves.
Let me know if you have comments, bugs, whatever.
Thanks, Derek.
Title: Struts Action Graphs
Derek,
That is super
cool. I showed a graph to my lead designer (of the struts_config.xml
we are using in our project) and he was jumping up and down with joy. Kudos to
your XSL . One question i have is... can it be colorcoded ? I would like
the jpeg image to have some fancy colors in it.. maybe just for the image, the
struts-config.xml file can have additional properties like color codes for
different kinds of objects.
cheers,
Amar..
- Struts Action Graphs Derek Longmuir
- Re: Struts Action Graphs Bryan Field-Elliot
- RE: Struts Action Graphs Nanduri, Amarnath
- RE: Struts Action Graphs Derek Longmuir
- RE: Struts Action Graphs Nanduri, Amarnath
- RE: Struts Action Graphs Kurt Olsen