You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mohan Radhakrishnan <Mo...@hclcomnet.co.in> on 2002/11/09 08:28:31 UTC

Selected value population

Hi,
   Checking if I understand the form flow right.

    1. Tag handlers populate values in my JSP.
    2. User hits "submit" button.
    3. Reset is called.
    4. Selected values go right back to the same form if the getters and
setters are right.
    5. Validate is called if validate=true
    4. Action is called.

    Now if I print the values by accessing the getters in the form ( in my
action ), it should print. 

Why would I get nulls for all values ? What could be wrong ? Appreciate any
pointers.
Thanks,
Mohan
    

   

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


I18n and Oracle Database fails

Posted by Mr Alireza Fattahi <af...@yahoo.com>.
Hi,

I did a lot about i18n but I still have problem. I do
every thing that was said in :
http://www.anassina.com/struts/i18n/i18n.html

Every thing works fine. Now in my action form I read
the form inputs and want to insert the data into
Oracle
tables. The data will be inserted in wrong encoding. 

I did the below test:
I entered a Farsi string with 2 charcters in my form.
After submit, In the action form, 
when I print the length of this charcter I get 2. But
shouldn't I get 4 as character length, because it is
all unicode.

Should I say oracle that I am inserting unicode? How?


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>