struts2

Does YUI support SMD?

I have a struts 2 smd action and I call it from a YUI DataTable. It doesn't work because the action returns SMD definition information which the DataTable doesn't know how to handle. Is this just something not supported by YUI or am I missing a configuration option somewhere? My Google searches aren't finding anything which isn't maki...

Struts 2 s:action tag doesn't render action errors if any are present

For example I have the following: struts.xml: <action name="personForm"> <result>/jsp/personForm.jsp</result> </action> <action name="savePerson"> <result>/jsp/successSave.jsp</result> <result name="input">/jsp/personForm.jsp</result> </action> <action name="countries"> <result>/jsp/countries.jsp</result> </action> pe...

Serve static files (javascript) with struts 2

Hello! I want to put some javascript files in one of my packages and make struts serve those on /struts/js/foo.js Struts does that for files in 'template' package (that's where jquery plugin's files are located, guarded by struts.ui.templateDir option). However I want to put those files into another package; If I redefine struts.ui.temp...

Error - Can not find the tag library descriptor for "/struts-tags"

Hi, I'm receiving this error on my jsp file - 'Can not find the tag library descriptor for "/struts-tags"' Strange thing is my app still seems to work. I'm following the tutorials at - http://struts.apache.org/2.x/docs/using-struts-2-tags.html Here is the code. <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pag...

redirect struts 2 action to struts 1 action..

We have been using struts 1 since long time. I don't know much about struts 2. Our company is going with component based arch. Core UI components are using struts 1. Core components will be used by old struts 1 components as well as new struts 2 components. I am not really sure if struts 1 action request can be redirected to struts 2 act...

Single action class for multiple dynamic URIs throws excption when concurrent requesting

Hello I've developed a web site using Struts2 as a controller and integrated it with Spring and Hibernate to do the business logic and DB stuff. The website's URIs are http://my.domian.com/URI; which {URI} is dynamically generated thorough the admin cms. The mapping of each uri to the servlet are done with help of Apache mod_rewrite, as...

How to build an action url in a Struts 2 action?

I have an Action that returns URLs which need to call another Struts2 action. In a JSP I would do <s:url>. Is there something equivalent to this that I can call inside of the action? ...