Max file size when upload in struts-1.1b2

2002-11-21 Thread Huynh Ngoc Huy
  Dear group,
  I'm using struts-1.1b2. What should I do to set the
maximum file size over 1M as I want to upload a file?
  Thanks,
  Huy


__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: InputStream from FormFile - OK now

2002-11-20 Thread Huynh Ngoc Huy
  It is al right now!
  Huy

--- Huynh Ngoc Huy <[EMAIL PROTECTED]> wrote:
>   Hi all,
>   How can we store InputStream from FormFile into
> another InputStream to use later?
>   Thanks in advance,
>   Huy
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus – Powerful. Affordable. Sign up
> now.
> http://mailplus.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




InputStream from FormFile

2002-11-20 Thread Huynh Ngoc Huy
  Hi all,
  How can we store InputStream from FormFile into
another InputStream to use later?
  Thanks in advance,
  Huy


__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: What can I do to display unicode-string in struts tag?

2002-11-17 Thread Huynh Ngoc Huy
  Yes it can.
  Thanks,
  Huy

--- David Graham <[EMAIL PROTECTED]> wrote:
> Yes, but you say that the struts textarea tag can't
> display this string.  
> Can a regular, manually coded,  tag
> display it properly?
> 
> David
> 
> 
> 
> 
> 
> 
> >From: Huynh Ngoc Huy <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> >To: Struts Users Mailing List
> <[EMAIL PROTECTED]>
> >Subject: Re: What can I do to display
> unicode-string in struts tag?
> >Date: Sun, 17 Nov 2002 19:09:11 -0800 (PST)
> >
> >   I meant that unicode-string was got from
> database.
> >   Thanks,
> >   Huy
> >--- David Graham <[EMAIL PROTECTED]> wrote:
> > > Did you try coding a regular textarea tag
> without
> > > struts?  Was it able to
> > > display the string?
> > >
> > > David
> > >
> > >
> > >
> > >
> > >
> > >
> > > >From: Huynh Ngoc Huy <[EMAIL PROTECTED]>
> > > >Reply-To: "Struts Users Mailing List"
> > > <[EMAIL PROTECTED]>
> > > >To: Struts Users Mailing List
> > > <[EMAIL PROTECTED]>
> > > >Subject: Re: What can I do to display
> > > unicode-string in struts tag?
> > > >Date: Sun, 17 Nov 2002 16:45:22 -0800 (PST)
> > > >
> > > >   I didn't mean the unicode-string was a
> string
> > > that
> > > >contains non-Latin characters. This is a
> > > >unicode-string "Ŀây là một dòng unicode".
> JSP
> > > >could display this line correctly, but the
> > > > struts tag couldn't.
> > > >   Thanks,
> > > >   Huy
> > > >
> > > >--- Martin Cooper <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > >
> > > > > On Thu, 14 Nov 2002, Huynh Ngoc Huy wrote:
> > > > >
> > > > > >   I'm using struts version 1.1b2. The
> > > followings
> > > > > are
> > > > > > my snippet codes:
> > > > > >
> > > > > > *  struts-config.xml *
> > > > > >   ...
> > > > > >> > > > >
> > > > > >
> > > type="org.apache.struts.action.DynaActionForm">
> > > > > >  > > > > >   
> type="java.lang.String"/>
> > > > > >   ...
> > > > > >> > > > >   type="anAction"
> > > > > >   name="aForm">
> > > > > >  > > path="/result.jsp"/>
> > > > > >   
> > > > > >   ...
> > > > > >
> > > > > > *  anAction.java *
> > > > > >   ...
> > > > > >   String s =  > > > > database>;
> > > > > >   PropertyUtils.setSimpleProperty(form,
> "msg",
> > > s);
> > > > > >   ...
> > > > > >   return mapping.findForward("target");
> > > > > >
> > > > > > *  index.jsp *
> > > > > >   <%@ taglib
> uri="/WEB-INF/struts-html.tld"
> > > > > >   prefix="html" %>
> > > > > >
> > > > > >  page="/aPath.do">go
> > > > > >
> > > > > > *  result.jsp *
> > > > > >   <%@ taglib
> uri="/WEB-INF/struts-html.tld"
> > > > > >   prefix="html" %>
> > > > > >
> > > > > >   
> > > > > >  cols="30"
> > > > > rows="5"/>
> > > > > >   
> > > > > >
> > > > > >
> > > > >
> > >
> >
>
>*
> > > > > >
> > > > > >   In the result.jsp, the textarea cannot
> > > display
> > > > > the
> > > > > > unicode-string correctly.
> > > > >
> > > > > What do you mean by "unicode-string"?
> Strings in
> > > > > Java are always Unicode.
> > > > > Perhaps you mean a string that contains
> > > non-Latin
> > > >

Re: What can I do to display unicode-string in struts tag?

2002-11-17 Thread Huynh Ngoc Huy
  I meant that unicode-string was got from database.
  Thanks,
  Huy
--- David Graham <[EMAIL PROTECTED]> wrote:
> Did you try coding a regular textarea tag without
> struts?  Was it able to 
> display the string?
> 
> David
> 
> 
> 
> 
> 
> 
> >From: Huynh Ngoc Huy <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> >To: Struts Users Mailing List
> <[EMAIL PROTECTED]>
> >Subject: Re: What can I do to display
> unicode-string in struts tag?
> >Date: Sun, 17 Nov 2002 16:45:22 -0800 (PST)
> >
> >   I didn't mean the unicode-string was a string
> that
> >contains non-Latin characters. This is a
> >unicode-string "Ŀây là một dòng unicode". JSP
> >could display this line correctly, but the
> > struts tag couldn't.
> >   Thanks,
> >   Huy
> >
> >--- Martin Cooper <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > On Thu, 14 Nov 2002, Huynh Ngoc Huy wrote:
> > >
> > > >   I'm using struts version 1.1b2. The
> followings
> > > are
> > > > my snippet codes:
> > > >
> > > > *  struts-config.xml *
> > > >   ...
> > > >> > >
> > > >
> type="org.apache.struts.action.DynaActionForm">
> > > >  > > >type="java.lang.String"/>
> > > >   ...
> > > >> > >   type="anAction"
> > > >   name="aForm">
> > > >  path="/result.jsp"/>
> > > >   
> > > >   ...
> > > >
> > > > *  anAction.java *
> > > >   ...
> > > >   String s =  > > database>;
> > > >   PropertyUtils.setSimpleProperty(form, "msg",
> s);
> > > >   ...
> > > >   return mapping.findForward("target");
> > > >
> > > > *  index.jsp *
> > > >   <%@ taglib uri="/WEB-INF/struts-html.tld"
> > > >   prefix="html" %>
> > > >
> > > > go
> > > >
> > > > *  result.jsp *
> > > >   <%@ taglib uri="/WEB-INF/struts-html.tld"
> > > >   prefix="html" %>
> > > >
> > > >   
> > > >  > > rows="5"/>
> > > >   
> > > >
> > > >
> > >
>
>*
> > > >
> > > >   In the result.jsp, the textarea cannot
> display
> > > the
> > > > unicode-string correctly.
> > >
> > > What do you mean by "unicode-string"? Strings in
> > > Java are always Unicode.
> > > Perhaps you mean a string that contains
> non-Latin
> > > characters? If that's
> > > the case, you'll need to specify the encoding
> you
> > > want in the JSP page.
> > > The pages above do not specify an encoding, so
> they
> > > are defaulting to
> > > ISO-8859-1, which may not be what you want.
> > >
> > > Also, I've seen a couple of people mention
> problems
> > > related to storing
> > > non-Latin characters in a MySql database. I
> don't
> > > use MySql, so I can't
> > > help you with that, but you'll probably find
> more
> > > information in the
> > > mailing list archives.
> > >
> > > --
> > > Martin Cooper
> > >
> > >
> > > >   Any help is appreciated !
> > > >   Thanks in advance,
> > > >   Huy
> > > >
> > > >
> > > >
> __
> > > > Do you Yahoo!?
> > > > Yahoo! Web Hosting - Let the expert host your
> site
> > > > http://webhosting.yahoo.com
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > >
> <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > >
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > >
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> >__
> >Do you Yahoo!?
> >Yahoo! Web Hosting - Let the expert host your site
> >http://webhosting.yahoo.com
> >
> >--
> >To unsubscribe, e-mail:   
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail: 
> ><mailto:[EMAIL PROTECTED]>
> 
> 
>
_
> MSN 8 with e-mail virus protection service: 2 months
> FREE* 
> http://join.msn.com/?page=features/virus
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

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




Re: The content of tag

2002-11-17 Thread Huynh Ngoc Huy
  Because I've thought that there's no way to do that.
Is that right?
  Huy

--- Dan Tran <[EMAIL PROTECTED]> wrote:
> Just curious, why do want to have a default value
> for html:file?
> Do you expect most likely that the user would enter
> same full path name of
> the client side file?
> -Dan
> - Original Message -
> From: "Huynh Ngoc Huy" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> Sent: Sunday, November 17, 2002 4:31 PM
> Subject: Re: The content of  tag
> 
> 
> >   Dear,
> >   How can I set the initial value for 
> tag?
> >   Thanks,
> >   Huy
> >
> > --- "Craig R. McClanahan" <[EMAIL PROTECTED]>
> wrote:
> > >
> > >
> > > On Fri, 15 Nov 2002, Huynh Ngoc Huy wrote:
> > >
> > > > Date: Fri, 15 Nov 2002 19:38:26 -0800 (PST)
> > > > From: Huynh Ngoc Huy <[EMAIL PROTECTED]>
> > > > Reply-To: Struts Users Mailing List
> > > <[EMAIL PROTECTED]>
> > > > To: [EMAIL PROTECTED]
> > > > Subject: The content of  tag
> > > >
> > > >   Dear group,
> > > >   How can we get the content of the
> 
> > > struts
> > > > tag ?
> > > >   Thanks,
> > > >   Huy
> > > >
> > >
> > > You might want to look at the source code for
> the
> > > "struts-upload.war"
> > > example application to get a feel for the ways
> you
> > > can do this.
> > >
> > > Craig
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > >
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> > __
> > Do you Yahoo!?
> > Yahoo! Web Hosting - Let the expert host your site
> > http://webhosting.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

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




In which cases should we use DiskFile?

2002-11-17 Thread Huynh Ngoc Huy
  Hi all,
  In which cases should we use DiskFile?
  Thanks,
  Huy


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: What can I do to display unicode-string in struts tag?

2002-11-17 Thread Huynh Ngoc Huy
  I didn't mean the unicode-string was a string that
contains non-Latin characters. This is a
unicode-string "Đây là một dòng unicode". JSP
could display this line correctly, but the
 struts tag couldn't.
  Thanks,
  Huy

--- Martin Cooper <[EMAIL PROTECTED]> wrote:
> 
> 
> On Thu, 14 Nov 2002, Huynh Ngoc Huy wrote:
> 
> >   I'm using struts version 1.1b2. The followings
> are
> > my snippet codes:
> >
> > *  struts-config.xml *
> >   ...
> >>
> > type="org.apache.struts.action.DynaActionForm">
> >  >type="java.lang.String"/>
> >   ...
> >>   type="anAction"
> >   name="aForm">
> > 
> >   
> >   ...
> >
> > *  anAction.java *
> >   ...
> >   String s =  database>;
> >   PropertyUtils.setSimpleProperty(form, "msg", s);
> >   ...
> >   return mapping.findForward("target");
> >
> > *  index.jsp *
> >   <%@ taglib uri="/WEB-INF/struts-html.tld"
> >   prefix="html" %>
> >
> > go
> >
> > *  result.jsp *
> >   <%@ taglib uri="/WEB-INF/struts-html.tld"
> >   prefix="html" %>
> >
> >   
> >  rows="5"/>
> >   
> >
> >
>
*
> >
> >   In the result.jsp, the textarea cannot display
> the
> > unicode-string correctly.
> 
> What do you mean by "unicode-string"? Strings in
> Java are always Unicode.
> Perhaps you mean a string that contains non-Latin
> characters? If that's
> the case, you'll need to specify the encoding you
> want in the JSP page.
> The pages above do not specify an encoding, so they
> are defaulting to
> ISO-8859-1, which may not be what you want.
> 
> Also, I've seen a couple of people mention problems
> related to storing
> non-Latin characters in a MySql database. I don't
> use MySql, so I can't
> help you with that, but you'll probably find more
> information in the
> mailing list archives.
> 
> --
> Martin Cooper
> 
> 
> >   Any help is appreciated !
> >   Thanks in advance,
> >   Huy
> >
> >
> > __
> > Do you Yahoo!?
> > Yahoo! Web Hosting - Let the expert host your site
> > http://webhosting.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

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




Re: The content of tag

2002-11-17 Thread Huynh Ngoc Huy
  Dear,
  How can I set the initial value for  tag?
  Thanks,
  Huy

--- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> 
> 
> On Fri, 15 Nov 2002, Huynh Ngoc Huy wrote:
> 
> > Date: Fri, 15 Nov 2002 19:38:26 -0800 (PST)
> > From: Huynh Ngoc Huy <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List
> <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: The content of  tag
> >
> >   Dear group,
> >   How can we get the content of the 
> struts
> > tag ?
> >   Thanks,
> >   Huy
> >
> 
> You might want to look at the source code for the
> "struts-upload.war"
> example application to get a feel for the ways you
> can do this.
> 
> Craig
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

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




The content of tag

2002-11-15 Thread Huynh Ngoc Huy
  Dear group,
  How can we get the content of the  struts
tag ?
  Thanks,
  Huy


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: File path from

2002-11-14 Thread Huynh Ngoc Huy
  Yes, I have
  Thanks,
  Huy

--- Dan Tran <[EMAIL PROTECTED]> wrote:
> Huy, have you seen the struts-upload example? it is
> in the struts 1.1
> distribution
> -D
> - Original Message -
> From: "Huynh Ngoc Huy" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 14, 2002 6:23 PM
> Subject: File path from 
> 
> 
> >   Dear group,
> >   How can we get the file path from  ?
> >   Thanks,
> >   Huy
> >
> >
> > __
> > Do you Yahoo!?
> > Yahoo! Web Hosting - Let the expert host your site
> > http://webhosting.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:struts-user-help@;jakarta.apache.org>
> >
> 
> --
> To unsubscribe, e-mail:  
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@;jakarta.apache.org>
> 


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




File path from

2002-11-14 Thread Huynh Ngoc Huy
  Dear group,
  How can we get the file path from  ?
  Thanks,
  Huy


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




What can I do to display unicode-string in struts tag?

2002-11-14 Thread Huynh Ngoc Huy
  I'm using struts version 1.1b2. The followings are
my snippet codes:

*  struts-config.xml *
  ...
  

  ...
  

  
  ...

*  anAction.java *
  ...
  String s = ;
  PropertyUtils.setSimpleProperty(form, "msg", s);
  ...
  return mapping.findForward("target");

*  index.jsp *
  <%@ taglib uri="/WEB-INF/struts-html.tld" 
  prefix="html" %>

go

*  result.jsp *
  <%@ taglib uri="/WEB-INF/struts-html.tld" 
  prefix="html" %>

  

  

*

  In the result.jsp, the textarea cannot display the
unicode-string correctly.
  Any help is appreciated !
  Thanks in advance,
  Huy


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




An example of dynabean !

2002-11-13 Thread Huynh Ngoc Huy
  Dear group,
  After extract the zip file, you must copy all libs
of struts-1.1b2 (struts.jar, commons-*.jar) into the
lib directory of the example.
  Regard,
  Huy


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


dynabean-example.zip
Description: dynabean-example.zip
--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


Unicode in struts tag

2002-11-13 Thread Huynh Ngoc Huy
  I'm using struts version 1.1b2. The followings are
my snippet codes:

*  struts-config.xml *
  ...
  

  ...
  

  
  ...

*  anAction.java *
  ...
  String s = ;
  PropertyUtils.setSimpleProperty(form, "msg", s);
  ...
  return mapping.findForward("target");

*  index.jsp *
  <%@ taglib uri="/WEB-INF/struts-html.tld" 
  prefix="html" %>

go

*  result.jsp *
  <%@ taglib uri="/WEB-INF/struts-html.tld" 
  prefix="html" %>

  

  

*

  In the result.jsp, the textarea cannot display the
unicode-string correctly.
  Any help is appreciated !
  Thanks in advance,
  Huy


__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Another problem about unicode in struts

2002-11-12 Thread Huynh Ngoc Huy
  Hi all,
  I can't display the unicode-string correctly in
 tag. In the  tag, if I
didn't set filter to false, it was also been in the
same problem. But the  has no filter
property, so what should I do to solve this problem?
  Any solution, please!
  Thanks in advanced
  Huy


__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: example of dyna.....

2002-11-12 Thread Huynh Ngoc Huy
  You can find it at:
"http://www.scioworks.com/camino_doc/manual/Tutorial/HoroscopeIIExample/index.html";
  Bye,
  Huy
--- Sarath Chandra M <[EMAIL PROTECTED]>
wrote:
> Dear group,
> Is there any good resource or site etc., where I can
> find atleast
> 1 proper complete example of the usage of
> DynaActionForm, DynaBean.
> 
> TIA
> sarath
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: AW: AW: unicode in struts - thank you all of you for your help !

2002-11-12 Thread Huynh Ngoc Huy
  My problem is all right now. Thank you all of you
for your help!
  Huy

--- Michael Delamere <[EMAIL PROTECTED]> wrote:
> That is what we experienced, which is why I
> suggested that you should
> try setting filter="false" in your bean:wtite tag
> ;-) !
> 
> 
> 
> Regards,
> 
> Michael
> 
> 
> 
> -Original Message-
> From: Huynh Ngoc Huy [mailto:huyhngoc@;yahoo.com] 
> Sent: Dienstag, 12. November 2002 10:10
> To: Struts Users Mailing List
> Subject: Re: AW: AW: unicode in struts
> 
>   I've stored the unicode-string "?ay la một
> chuỗi unicode" into 'unicodeMessage' session
> variable. And the following is my code snippet to
> display it in browser:
> 
> <%@ taglib uri="/WEB-INF/struts-bean.tld"
> prefix="bean" %>
> <%@ taglib uri="/WEB-INF/struts-html.tld"
> prefix="html" %>
> <%@ page contentType="text/html; charset=UTF-8" %>
> 
> 
> 
> But when I used jsp tag:
> <%=session.getAttribute("unicodeMessage")%>, it was
> displayed correctly.
> 
>   Best regard,
>   Huy
> 
> --- "Hirschmann, Bernhard"
> <[EMAIL PROTECTED]> wrote:
> > 
> > Huy, you may provide a code snippet for more
> details
> > about your problem. 
> > 
> > Bernhard
> > 
> > --
> > To unsubscribe, e-mail:  
> >
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:struts-user-help@;jakarta.apache.org>
> > 
> 
> 
> __
> Do you Yahoo!?
> U2 on LAUNCH - Exclusive greatest hits videos
> http://launch.yahoo.com/u2
> 
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@;jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@;jakarta.apache.org>
> 


__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Re: AW: AW: unicode in struts

2002-11-12 Thread Huynh Ngoc Huy
  I've stored the unicode-string "ðây là một
chuỗi unicode" into 'unicodeMessage' session
variable. And the following is my code snippet to
display it in browser:

<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"
prefix="html" %>
<%@ page contentType="text/html; charset=UTF-8" %>



But when I used jsp tag:
<%=session.getAttribute("unicodeMessage")%>, it was
displayed correctly.

  Best regard,
  Huy

--- "Hirschmann, Bernhard"
<[EMAIL PROTECTED]> wrote:
> 
> Huy, you may provide a code snippet for more details
> about your problem. 
> 
> Bernhard
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: AW: unicode in struts

2002-11-12 Thread Huynh Ngoc Huy
  I've tried both of them.
  Thanks,

  Huy
--- "Hirschmann, Bernhard"
<[EMAIL PROTECTED]> wrote:
> 
> HOW do you set the charset?
> 
> You should do it this way:
>  <%@ page contentType="text/html; charset=utf-8" %>
> 
> ...instead of this way:
>  
> 
> At least, this is my experience. Websphere on
> Solaris only with the first
> variant.
> 
> Regards,
> Bernhard
> 
> 
> -Ursprüngliche Nachricht-
> Von: Huynh Ngoc Huy [mailto:huyhngoc@;yahoo.com]
> Gesendet: Dienstag, 12. November 2002 09:03
> An: Struts Users Mailing List
> Betreff: Re: unicode in struts
> 
> 
>   Yes, I do. I had set the charset before I did, but
> it was so. Is there anything else I must set?
>   Thanks
>   Huy
> --- Gemes Tibor <[EMAIL PROTECTED]> wrote:
> > 2002. november 12. 02:37 dátummal Huynh Ngoc Huy
> ezt
> > írtad:
> > >   Hi all,
> > >   Does struts tags support unicode? I had stored
> a
> > > unicode-string into a session, but 
> > tag
> > > didn't display it correctly.
> > >   Any help is appreciated!
> > 
> > Yes it does. However if you do not set the
> charset,
> > maybe the browser mess up 
> > the encoding. 
> > 
> > Did you set the content-type correctly in the
> > page-directive? 
> > 
> > Hth,
> > 
> > Tib
> > 
> > --
> > To unsubscribe, e-mail:  
> >
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:struts-user-help@;jakarta.apache.org>
> > 
> 
> 
> __
> Do you Yahoo!?
> U2 on LAUNCH - Exclusive greatest hits videos
> http://launch.yahoo.com/u2
> 
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@;jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:  
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@;jakarta.apache.org>
> 


__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Re: unicode in struts

2002-11-12 Thread Huynh Ngoc Huy
  Yes, I do. I had set the charset before I did, but
it was so. Is there anything else I must set?
  Thanks
  Huy
--- Gemes Tibor <[EMAIL PROTECTED]> wrote:
> 2002. november 12. 02:37 dátummal Huynh Ngoc Huy ezt
> írtad:
> >   Hi all,
> >   Does struts tags support unicode? I had stored a
> > unicode-string into a session, but 
> tag
> > didn't display it correctly.
> >   Any help is appreciated!
> 
> Yes it does. However if you do not set the charset,
> maybe the browser mess up 
> the encoding. 
> 
> Did you set the content-type correctly in the
> page-directive? 
> 
> Hth,
> 
> Tib
> 
> --
> To unsubscribe, e-mail:  
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@;jakarta.apache.org>
> 


__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




unicode in struts

2002-11-11 Thread Huynh Ngoc Huy
  Hi all,
  Does struts tags support unicode? I had stored a
unicode-string into a session, but  tag
didn't display it correctly.
  Any help is appreciated!
  Huy.


__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   
For additional commands, e-mail: