Problem with characters

2005-09-07 Thread lk
Hi, I have a problem with some characters. My application reads some forms and writes them in a db. On my test and developing environment everything works well. The problem comes out when I deploy the application on the production server. When I fill in the form non English characters (for

Re: Problem with characters

2005-09-07 Thread lk
Harland, David wrote: Change you encoding to UTF-8. What database are you using? Dave. mysql 4.0.16 LuKe -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Logos Finanziaria SPA. Società di credito ad erogazione diretta. Fino a 30.000 euro in 24 ore!

Re: Antwort: Problem with characters [ Virenprüfung durchgeführt]

2005-09-07 Thread lk
[EMAIL PROTECTED] wrote: lk [EMAIL PROTECTED] am 07.09.2005 10:23:04 Bitte antworten an Struts Users Mailing List user@struts.apache.org An: user@struts.apache.org Kopie: Thema: Problem with characters [Virenprüfung durchgeführt] Hi, I have a problem with some characters. My

Re: Problem with characters

2005-09-07 Thread lk
Ivan Rodriguez wrote: Check your production default table charset. It must be latin1 or similar. It should be the same I'm using (at least it works well with no-struts contexts). LuKe -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Scarica Sweety sul

Re: AW: Problem with characters

2005-09-07 Thread lk
Martin Kindler wrote: ... at last I installed a little filter on my container (Tomcat 5.0.x) which explicitly sets the encoding for each request and response to UTF-8. This proved to be the real solution. Hi Martin, Could you post the way you used? Thanks LuKe -- Email.it, the professional

How to add a FormFile field at runtime?

2005-08-25 Thread lk
Hi, I need to make a form with an org.apache.struts.upload.FormFile field. The user should be able to add at runtime as many new FormFile fields as he wants. How can I do that if I don't know the exact number of FormFile fields the page will contain? Thanks LuKe -- Email.it, the

How to put the sumbol prime; into an html:text tag

2005-07-21 Thread lk
Hi, I need to show the character ' (prime;) inside an html:text tag. The problem is that the tag html:text renders an html text field substituting the escape sequence with the following sequence: amp;prime; It seems that the amperseand is substituted with the sequence amp. Why? The jstl

How to populate a FormFile?

2005-07-15 Thread lk
Hi, I want an html:select field to show the name of a file I get from a database. I've tried to populate the field with a FormField object I instantiate with the name of the file. But there is something wrong as I get in the html field something like: input type=file name=pdf

Re: Problem with html:select

2005-07-14 Thread lk
Balasubramaniam, Sezhiyan wrote: I usually set the JavaScript add-options statements using logic-iterate and on the event of user clicks a button; this function will be called which will populate the select box. function refreshSelect() { logic:iterate id=MIP_SUBGRP_CD

Problem with html:select

2005-07-11 Thread lk
Hi, I have a html:select that at begin is empty. Using a javascript and clicking over a button the select field can be populated? The problem is that if I try to read in my Action class the select it seems to be empty. (I use (ArrayList)((DynaValidatorForm)form).get(chosen) to get the

What's wrong? [prepopulating a form...]

2005-07-10 Thread lk
Hi, I'm trying to prepopulate a form for editing it and I can't understand what's wrong. From a list of objects I want to edit one. I have an action for that: action path=/polizza_mod type=mypackage.PolizzaFormModAction name=polizza_newForm

Re: What's wrong? [prepopulating a form...]

2005-07-10 Thread lk
Gotcha Oh poor man :-) The problem was in the form: I used the attribute value= for the html:text tag from an old form ByE If I try to print on that form the bean polizza_newForm the properties are correct: c:out value=${polizza_newForm} / gives:

Multiple RequestProcessor

2005-07-06 Thread lk
Hi, I have a problem using a Custom RequestProcessor: in my tomcat context I already have a CustomRequestProcessor that authenticates the user. Now I need to add a new module for my application with a completely different method of authentication. How can I say to the RequestProcessor

Re: Problems with tiles

2005-06-06 Thread lk
Davi G. Friedman wrote: Luke, Your settings look normal. I've checked the 1.2.4 code relating to your error and somehow the struts initialization isn't loading or loading correctly. Have you turned on any sort of debugging and can show the webapp startup messages? Have you done any logging

Re: Problems with tiles

2005-06-05 Thread lk
David G. Friedman wrote: Luke, Can you include some of the code for your TilesRequestProcessor subclass as well as how you initialize it in your struts-config.xml (or modules) ? Regards, David -Original Message- Sure! The CustomRequestProcessor is taken from a book by Mike

What does it mean?

2005-06-05 Thread lk
Hi, I got the following error: Exception initializing TldLocationsCache: XML parsing error on file /WEB-INF/tlds/sql.tld: (line 3, col 8): Document is invalid: no grammar found. I'm using MyEclipseIde 3.8.4 on Eclipse 3.0.2 (linux). I get that exception many times during the running of my

Problems with tiles

2005-06-03 Thread lk
Hi, I'm trying to use the tiles framework. Everything runs well, but if I try to use a custom RequestProcessor I get this error in the console: Jun 3, 2005 4:54:26 PM org.apache.struts.tiles.TilesPlugin initRequestProcessorClass SEVERE: TilesPlugin : Specified RequestProcessor not compatible