Anyone tell me if I'm wrong, but I doubt if UTF-8 covers Chinese. As I see
it, it only contains 8 bits per character, instead of ASCII's 7 bits, and
for that reason I assume it only covers 2* the number of chars. Maybe you
can try UTF-16 instead?
Jeroen
> -Oorspronkelijk bericht-
> Van:
That's a known issue and is solved in 1.2
> -Oorspronkelijk bericht-
> Van: Le Goff, Yoann [mailto:[EMAIL PROTECTED]
> Verzonden: maandag 17 mei 2004 11:55
> Aan: 'Struts Users Mailing List'
> Onderwerp: Struts 1.1 & XHTML [html:form]
>
> Hi,
>
> My render a form with a name="toto" attr
Hello, I generate an XML file from within a JSP in Tomcat. Especially after
16384 bytes the contents are really interesting. Unfortunately, Tomcat
disagrees and truncates it. It can't be coincidence that this is 16k
precisely, so I hoped to find a configuration item set to 16k (in fact I
hoped not
> <%@ page buffer="64kb" autoFlush="false"
> contentType="text/xml; charset=UTF-8" %>
Hurray, that was the solution :-D
Thanks, Jacob!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
If I understand you right, you want data (in this case the locale) to be
stored at a scope higher than session, because it involves more webapps, but
less than "application", because it is user (session) specific. Far as I
know, there is no such scope defined. Maybe you can simulate this behaviour
For a default language, make sure that there's a file
ApplicationResources.properties without a "_en", "_fr" etc suffix. That
language will be used if there's no match for the preferred language. If you
want German speakers to see English, and still have the rest (default) see
French, you can copy
Do you have a tag inside your ?
> -Oorspronkelijk bericht-
> Van: Mick Wever [mailto:[EMAIL PROTECTED]
> Verzonden: woensdag 26 mei 2004 13:17
> Aan: [EMAIL PROTECTED]
> Onderwerp: Re: Links relative to jsp not action in Opera
>
> On Wed, 26 May 2004 07:14:52 -0400, James Mitchell wrote
bericht-
> Van: Mick Wever [mailto:[EMAIL PROTECTED]
> Verzonden: woensdag 26 mei 2004 13:43
> Aan: [EMAIL PROTECTED]
> Onderwerp: RE: Links relative to jsp not action in Opera
>
> On Wed, 26 May 2004 13:28:23 +0200, Kransen, J. wrote:
>
> > Do you have a tag inside
> [The other problem here is in a cluster the server must be the virtual
> host fronting the cluster not the localhost, although this can be solved
> it's just an extra pain.]
According to
http://jakarta.apache.org/struts/userGuide/struts-html.html#base you can use
two attributes from which one i
> I'm not sure on how to use the htmml:base tag in the opposite manner, ie
> the href to be that of the struts action's path not the jsp's path?
Are you sure you want to have the action path in the base href instead of
the jsp path? I would think that as you write the relative links inside the
jsp
Hello,
I have a .jsp that outputs a XML file. I have another .jsp in which I want
to parse the XML file using an XSL file. So in the latter .jsp I want to do
something like this:
<%
String xslFile = getServletContext().getRealPath("/xml/risc2cvs.xsl");
TransformerFactory tFactory = TransformerF
Yes, it's as simple as that. You only add ApplicationResources_??.properties
files and leave one (default) ApplicationResources.properties file (in your
case English). You need to set
in the JSP's, and I think also
in the struts-config.xml, but I'm not totally sure about that one.
Regards,
This sounds familiar and may relate to a problem I used to have with showing
Bulgarian (Cyrillic). It's too long ago to remember precise details, but
here are some tips:
Look at the text file encoding of your properties file and of the JSP file,
this should be UTF-8, you can set this with IDEs su
This is something I've been wondering: is it absolutely necessary to convert
text files using this tool? I use UTF-8 encoding for the
ApplicationResources.properties_?? files, I indicate that UTF-8 is the
encoding of my web pages, with the tag
and it works just fine. Is this just coincidence an
14 matches
Mail list logo