SV: SV: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing?

2009-05-28 Thread Niklas Johansson
igure out--I was looking in all the wrong places. The short answer is that you need to use a different font. The longer answer--check out the filename of your validation file. Dave Niklas Johansson wrote: > Hello, > > Thanks for the information, but seriously, I think things are getti

Re: SV: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing?

2009-05-27 Thread Niklas Johansson
en Sie nicht der vorgesehene Empfaenger > sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung > oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich > dem Austausch von Informationen und entfaltet keine rechtliche > Bindungswirkung.

SV: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing?

2009-05-27 Thread Niklas Johansson
RegisterQAFormAction"> > /jsp/forms/registerqa.jsp > /jsp/forms/registerqa.jsp > > > /jsp/forms/registerqa.jsp > > > > > registerqa.jsp: > > > <%@ page language="java" contentType="text/html; charset=UTF-8" &g

Re: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing?

2009-05-26 Thread Niklas Johansson
"s" uri="/struts-tags" %> http://www.w3.org/TR/html4/loose.dtd";> Insert title here Thanks again! Regards, Niklas 2009/5/25 Dave Newton : > Niklas Johansson wrote: >> >> I want to use Requieredstring validator. The problem is that my >> applicati

Re: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing?

2009-05-26 Thread Niklas Johansson
t for the rest I think, will try it later. Thanks again! Regards, Niklas 2009/5/25 Dave Newton : > Niklas Johansson wrote: >> >> I want to use Requieredstring validator. The problem is that my >> application is not complaining if I do leave the input field empty. >

RequiredString Validation doesn't work and AbstractV alidationActionSupport is missing‏

2009-05-25 Thread Niklas Johansson
Hello, I am trying to create my first validation. I have two problems: First one: I want to use Requieredstring validator. The problem is that my application is not complaining if I do leave the input field empty. Here is my code: reqisterqa.jsp: <%@ page language="java" contentType="text/htm

RE: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing

2009-05-25 Thread Niklas Johansson
wton.d...@yahoo.com > To: user@struts.apache.org > Subject: Re: RequiredString Validation doesn't work and > AbstractValidationActionSupport is missing > > Niklas Johansson wrote: >> Such a beginner error... But after renaming the validation.xml file >> to what you s

RE: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing

2009-05-24 Thread Niklas Johansson
edString Validation doesn't work and > AbstractValidationActionSupport is missing > > Niklas Johansson wrote: >> I did put the RegisterQAForm-validator.xml [...] >> Can anyone tell me what is the problem? > > RegisterQAForm-validation.xml > >> My second prob

RequiredString Validation doesn't work and AbstractValidationActionSupport is missing

2009-05-24 Thread Niklas Johansson
Hello, I am trying to create my first validation. I have two problems: First one: I want to use Vequieredstring validator. The problem is that my application is not complaining if I do leave the input field empty. Here is my code: reqisterqa.jsp (Only the form is needed here, I assume)

RE: Download a Java ME application to mobile using StreamResult

2009-05-03 Thread Niklas Johansson
your help! > > Regards, > Niklas > > >> Date: Sun, 3 May 2009 14:12:56 -0400 >> From: newton.d...@yahoo.com >> To: user@struts.apache.org >> Subject: Re: Download a Java ME application to mobile using StreamResult >> &g

RE: Download a Java ME application to mobile using StreamResult

2009-05-03 Thread Niklas Johansson
ur help! Regards, Niklas > Date: Sun, 3 May 2009 14:12:56 -0400 > From: newton.d...@yahoo.com > To: user@struts.apache.org > Subject: Re: Download a Java ME application to mobile using StreamResult > > Niklas Johansson wrote: >> I guess the link you sent is pointing to a

RE: Download a Java ME application to mobile using StreamResult

2009-05-03 Thread Niklas Johansson
will help. IIRC there's also a download > example in showcase (could be wrong about that). > > http://struts.apache.org/2.x/docs/stream-result.html > > Dave > > Niklas Johansson wrote: >> Hello, >> >> I am trying to create an application for the mobile phone

Download a Java ME application to mobile using StreamResult

2009-05-03 Thread Niklas Johansson
Hello, I am trying to create an application for the mobile phone from which you can download a Java ME application. I have gotten so far that I can download the .jad file but the only thing that happens is that the content it is presented on the screen like this: MIDlet-1: WLListenerMIDlet,,W

RE: Struts and encoding ISO-8859-1

2009-04-28 Thread Niklas Johansson
Wow, finally, it works... Thank you indeed, I wouldn't have solved this without your help. I did missunderstand something in your former instructions, the part where I should move the encoding in my web.xml to before the Struts2 filter. It wouldn't have worked anyway I guess since ISO-8859-

RE: Struts and encoding ISO-8859-1

2009-04-27 Thread Niklas Johansson
Hello, I did download Struts2 trunk and current but count't build any without "BUILD FAILED". Will this be a problem (sorry for being a bit lazy, don't want to switch to 2.1.7 if it doesn't work...)? If I go back to UTF-8, do I need to upgrade to Struts 2.1.7 in order to get åäö working? Do y

RE: Struts and encoding ISO-8859-1

2009-04-26 Thread Niklas Johansson
Hello, Thank you for you quick reply. Sorry if I was a bit unclear: I am posting via a form, in a JSP page, some information that at a later stage is stored in my DB. When I use åäöÅÄÖ it is messed up to ??-signs when extracting it on the server side before trying to save it in the db.

Struts and encoding ISO-8859-1

2009-04-26 Thread Niklas Johansson
Hello, Using Struts 2.1.6 Tomcat 6 Java 1.6 Eclipse Ganymede I am trying to get my first Struts2 application working. Everything works fine except the encoding part. Swede as I am I want to use åäöÅÄÖ, i.e. ISO-8859-1, but it doesn't work. I have searched the net and tried various things, bu

RE: struts 2 and tomcat 6 problem

2009-04-26 Thread Niklas Johansson
Hello, I am kind of novice on this, but couldn't it be that you have the same class twice in the classpath? Regards, Niklas > Date: Sun, 26 Apr 2009 13:06:32 +0200 > Subject: Re: struts 2 and tomcat 6 problem > From: lukasz.len...@googlemail.com > To: u

Designing application using Struts

2009-04-13 Thread Niklas Johansson
Hello, I got some design questions when using Struts. If this is not the right place to post this kind of questions please let me know and I can create a QuickTopic. I am creating an application that contains several forms. Two of the forms belongs to two different parts which can be conside