RE: xwork validation dtd no longer on web (opensymphony.com is down)

2011-06-02 Thread Jonathan.Lewis
Apparently there is an error in xwork that prevents the dtd from being found inside the jar. Here is the corresponding thread at java ranch: http://www.coderanch.com/t/540261/Struts/validation-dtd#2451689 Putting the dtd inside the DOCTYPE works for now. ]> I will use the public DTD w

RE: xwork validation dtd no longer on web (opensymphony.com is down)

2011-06-01 Thread Jonathan.Lewis
I just extracted the file from xwork-core-2.2.1.jar, copied it into WEB-INF and replaced the opensymphony dtd reference with 1. It seems to work like a champ. However, these dtds should be re-hosted somewhere PUBLIC since the opensymphony site is now defunct. Regards, Jonathan Lewis HHS

re: xwork validation dtd no longer on web (opensymphony.com is down)

2011-06-01 Thread Jonathan.Lewis
Hi all, I am wondering which url to point to for my struts 2 validations. The dtd that was hosted on opensymphony.com is no longer in existence. I know that the dtd is included in the xwork jar, but I don't know how to reference it from my xml validation files. http://www.opensymphony.com/xwo

RE: Q: How do I combine struts 2 and another servlet in one application?

2010-12-17 Thread Jonathan.Lewis
Thanks, I just added the Filter interface to my servlet, put the my filter before the struts filter, and now the servlet works like a champ. You simply call the servlet service() method without forwarding to the next filter chain. public void doFilter(ServletRequest servletrequest, ServletRes

Q: How do I combine struts 2 and another servlet in one application?

2010-12-17 Thread Jonathan.Lewis
Hi all, I am trying to incorporate a servlet into my struts 2 application. It seems that the struts 2 filter fires before the servlet has a chance to execute, thereby causing the struts engine to process the servlet url as a struts action. This of course results in a "no action found for url /