On Mon, Jun 30, 2008 at 4:49 PM, Giovanni Azua <[EMAIL PROTECTED]> wrote:
> Hi Alexander,
>
> The main reason for me to port it to 2.1.2 was creating a Struts blank-style
> application for my company branch having AppFuse as startup example. Our
> existing web applications were already developed on top of Struts 2.x
>
> What I posted was a straight port but there are other nice to have targets I
> have like controlling the mix of ways to do the same things e.g. the AppFuse
> Struts Basic relies a lot on JSP tag libraries for accomplishing things that
> are implemented using the Struts tags. I am aiming to getting rid of:
> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
>
> except when strictly necessary e.g. displaytag.
>
> I have still pending to send a patch, I will then maybe include also some of
> the nice to have in my opinion.
>
> Best regards,
> Giovanni
>
> Alexander Coles wrote:
Hi Giovanni,
Thanks again. I was curious why you commented out the AspectJ
dependency in your pom.xml? Were you encountering a conflict? (I
haven't found one as of yet).
I've started experimenting with the REST-plugin, but I am still
working out how to test REST-style actions, and not sure if I am ready
to use it in a deployable application.
I also seem to be having a few issues with the same package name for
actionPackages as my struts.xml defined actions (i.e. the ones defined
in xml aren't being picked up properly).
<init-param>
<param-name>actionPackages</param-name>
<param-value>*</param-value>
</init-param>
I wondered if you're using purely the annotations and/or codebehind
definitions, or defining your actions in your struts.xml?
Yep, I agree about the Struts tags. I am a new convert from Spring
MVC, but while the Controller-functionality was pretty decent in
SpringMVC, I find the form tag libraries pretty lacking!
Thanks,
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]