i18 support for dynamic pages.

2002-03-20 Thread Årun.N



Hi All,
        
    I have doubt before i start something with i18 support 
provided by cocoon.
We have a site up and running in Japanese language, for 
that i have set encoding to SJIS in the serializers.
 
Now there is a need for support Korean language and 
English. My problem is most of the stuff in the pages are not static 
contents.
I read xml string from a socket and then append to the 
XSP page using 
message 

 
Now the xml string i read from socket will be of 
any of 3 character encoding. 
If i just append like this will it work? I had problems 
displaying SJIS so  i added SJIS in the 
serialize...
 
Now how should my serializers know using which encoding 
it has to handle ???
Is there any work around, or is it quite easy to 
achieve so that i can spend time on this or search for some alternatives 
??
 
Any kind of comments and suggestions are 
welcome.
 
regards,
Arun.N
 
 


Re: Question - Problem

2002-01-24 Thread Årun.N


response.sendRedirect(response.encodeRedirectURL(site));

i think 

- Original Message -
From: "Vercesi Paolo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 1:58 PM
Subject: R: Question - Problem


Hello Anthony,

I don't know why rd.forward() method doesn't redirect your users, I use a
similar schema and I haven't any problem. Are there some error messages ?
Instead, to mantain session information through response.sendRedirect(site)
you may use:
response.sendRedirect(response.encodeURL(site));

Regards
Paolo

> -Messaggio originale-
> Da: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> Inviato: mercoledì 23 gennaio 2002 20.25
> A: '[EMAIL PROTECTED]'
> Oggetto: Question - Problem
>
>
> Hello All,
>
> Here is my scenario.
> I have Tomcat 3.2.4 running on IIS 5.0
>
> I have an html page as my entrance to the website.
> (http://www.domainname.com/index.html)
> On this site is a form to login, with you user name and password.
>
> When the user clicks submit, they get sent to a servlet that I wrote.
> This servlet verify's their username and password, and should
> re-direct them
> to a certain pace depending on who they are.
> If I use response.sendRedirect(site);
> it sends them to the right webpage, but it doesn't seem like
> the session is
> created.
>
> I test the page to see if there is a valid session, and I get a Null
> Pointer.
> Here is what Im doing there.
>
> if (userSesson.getValue("userName") == null) {
> // redirect them to login because the session isn't valid
> } else {
> // display the page..
> }
>
> If I use the rd.forward() method
> they never get re-directed anywhere
>
>
> Here is my doPost() code...
>
[...]

> Any thoughts would be greatly appreciated.
> Thanks
> Anthony
>

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>