Struts2 Rest Plugin + crossdomain.xml

2010-01-21 Thread Brian Ferris
I've been using struts2 + the rest plugin successfully to create a simple rest api web service. I'd like to make that service accessible to Flash and Silverlight clients, which means I need to add a crossdomain.xml access file at the root of my webapp. Normally I would just copy a crossdomain.xml

Struts Taglib + JSP: Best Practices For Complex HTML Attribute Construction

2008-07-25 Thread Brian Ferris
I'm not sure what that Struts Taglib "way" to do the following task would look like: I've got a bean on the ValueStack with a "boolean isActive()" getter. When active, I'd like to construct html like: And when in-active, I'd like to construct: The only real difference is the class att