struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GF <>
Subject Alternative UrlRenderer bean
Date Mon, 15 Nov 2010 11:37:06 GMT
Hello everyone.
i want to use a custom UrlRenderer bean.
reading Struts2 source code i found that is used to "render" the URLs
generated by <s:url ..>

If in my struts.xml I insert:

<bean type="org.apache.struts2.components.UrlRenderer" name="mystruts"

Nothing happens, probably because Struts2 continue to inject the
renderer with "struts" name.

If in my struts.xml I insert

<bean type="org.apache.struts2.components.UrlRenderer" name="struts"

the struts inizialization fails, since that bean with "struts" name is
already defined.

Any idea?

Thank you

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message