Is there any plugin support for eclipse that can help validate struts2
configuration? 

So if I have a struts.xml mapping like:
<action name="LoginUser" class="userAccounts.action.LoginUserAction">
...

Then some build-time plugin might check and see the
userAccounts.action.LoginUserAction class does not exist

Or perhaps a struts tag in a JSP might look like:
<s:form namespace="/userAccounts" action="RegisterUser" method="post" >
...

And some build-time check might notice that "RegisterUser" has no mapping in
the "userAccounts" package of the struts.xml


Currently my only method of finding these errors (which are CAPABLE of being
detected at compile time) is to start Tomcat. If it starts up successfully
then my struts.xml is okay. Then the only way to verify jsp
s:form,s:action,s:url,etc. tags is to browse the page and look for Tocmat
output. This makes it easy to successfully compile a project, pass all unit
tests, but check in broken code to source control.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to