Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-12 Thread Bobby Mitch
TED]> wrote: From: Jeromy Evans <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Friday, September 12, 2008, 3:56 AM Bobby Mitch wrote: > hi, > thanks for the

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-12 Thread Bobby Mitch
heme is not "file") To: "Struts Users Mailing List" Date: Thursday, September 11, 2008, 9:32 PM Bobby Mitch wrote: > The Xwork issue is this one : > http://jira.opensymphony.com/browse/XW-649 > > They have not fixed it yet ... > > Can someone fix it

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
08, 7:54 AM A fix in the code I meant: https://issues.apache.org/struts/browse/WW-2653 . Grabbing the latest xwork from trunk or release branch and building it, should fix your problem. On Thu, Sep 11, 2008 at 10:49 AM, Bobby Mitch <[EMAIL PROTECTED]> wrote: What exactly is the fix for

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
L-encode it? [1] > > [1] http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLEncoder.html > > 2008/9/11 Bobby Mitch <[EMAIL PROTECTED]>: > > Well, > > I am willing to try then. > > > > Can someone send me that xwork-2.0.4.jar version, recompiled with the &g

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
uot; ", "%20")); if (uri.isOpaque() && "file".equalsIgnoreCase(uri.getScheme())) { File f = new File(uri); . I think that is the problem you are having, or I am terribly missing something here. On Thu, Sep 11, 2008 at 11:19 AM, Bobby Mitch <[EMAIL PROTE

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
[EMAIL PROTECTED] Date: Thursday, September 11, 2008, 7:54 AM A fix in the code I meant: https://issues.apache.org/struts/browse/WW-2653 . Grabbing the latest xwork from trunk or release branch and building it, should fix your problem. On Thu, Sep 11, 2008 at 10:49 AM, Bobby Mitch <[EMAIL PROTECTED]

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
garuanteed to work. > > > > - Original Message > From: Bobby Mitch <[EMAIL PROTECTED]> > To: Struts Users Mailing List > Sent: Wednesday, September 10, 2008 5:01:14 PM > Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme > i

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Bobby Mitch
Thanks. Applying the workaround with Struts 2.0.11.1 and XWorks 2.0.4, and modifying struts.xml by adding the interceptor-ref tag does not work: 22:58:02,671 ERROR [[default]] Servlet.service() for servlet default threw exception java.lang.IllegalArgumentException: URI scheme is not "file"     a

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Bobby Mitch
nd Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Tuesday, September 9, 2008, 11:10 PM Bobby Mitch wrote: > yes, but i wrote that with this XML file or without this XML file, that is with annotations only (@Validation etc), i

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Bobby Mitch
/08, Jeromy Evans <[EMAIL PROTECTED]> wrote: From: Jeromy Evans <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Tuesday, September 9, 2008, 4:59 PM Bobby Mitch wrote

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Bobby Mitch
On Tue, 9/9/08, Jeromy Evans <[EMAIL PROTECTED]> wrote: From: Jeromy Evans <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Tuesday, September 9, 2008, 4:56 AM Bo

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Bobby Mitch
t" , [EMAIL PROTECTED] Date: Tuesday, September 9, 2008, 12:27 AM Sorry, I was thinking of another JBoss issue with the tld file, not the validators file. Don On Tue, Sep 9, 2008 at 3:31 PM, Bobby Mitch <[EMAIL PROTECTED]> wrote: > hi, > where do you suggest that i modify the ord

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-08 Thread Bobby Mitch
at 3:38 PM, Jeromy Evans <[EMAIL PROTECTED]> wrote: > Bobby Mitch wrote: >> >> Well, >> I upgraded to the beta version and I am getting errors in the >> struts-tags.tld file that i extracted from struts2-core-2.1.2.tld and put >> under WEB-INF/ >> &g

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Bobby Mitch
ember 7, 2008, 2:58 PM In my case, I have downgraded to 2.0.11.1 and it works fine ( I had some issues running the beta code on Websphere). I know ,for sure, that you will not be getting the exception in 2.0.11.1. - Original Message From: Bobby Mitch To: Struts Users Mailing List Sent:

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Bobby Mitch
sing struts version 2.0.12, then this is a known issue (for websphere users). From what I understand,The fix for this problem is not included in xwork-2.0.5. However, if you are using struts 2.1.2 you are not supposed to see this error. ----- Original Message From: Bobby Mitch To: user@stru

JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Bobby Mitch
Hi, I am using JBoss RC 1 and Struts 2 and I am facing a problem when trying to use an XML validation file. The error message i get is : Code: java.lang.IllegalArgumentException: URI scheme is not "file" at java.io.File.(Unknown Source) at com.opensymphony.xwork2.validator.ValidatorFactory.parse