On Sat, Jul 19, 2008 at 9:52 PM, Paul Benedict <[EMAIL PROTECTED]>
wrote:
> Using Struts 2.0.x, is it possible to have multiple unknown handlers?
I am
> using the Codebehind plugin and want to extend it.

On Sat, Jul 19, 2008 at 11:41 PM, Musachy Barroso <[EMAIL PROTECTED]>
wrote:
> You will need this patch: http://jira.opensymphony.com/browse/XW-640

I wanted to do a similar thing, but Paul brings up a good point. To
extend the Codebehind plugin, it would need to be on the classpath, but
if it's on the classpath, Struts 2 will pick it up as a plugin.

Unfortunately, defining a new unknown handler in struts.xml won't
override what's set by the plugin. The new patch (presumably due in
Struts 2.2?) seems like a nice long term fix though.

A temporary (and very hacky) solution that I can think of is to remove
the struts-plugin.xml file from struts2-codebehind-plugin.jar
This is pretty nasty, but it's probably better than running with a
patched xwork.

Brad Cupit
Louisiana State University - UIS

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

Reply via email to