Hi,
BEA Weblogic 6.0 fails to set the charset properly because it gets the
writer before the content-type is set.
Refer to http://tagunov.newmail.ru/i18n/i18n.html for details.
Chris.
-Original Message-
From: Aroui, Dr. Djelloul [mailto:[EMAIL PROTECTED]]
Sent: 01 March 2002 10:28
To:
It already is under Ask Smart Questions at
http://jakarta.apache.org/site/mail.html
-Original Message-
From: Jakkampudi, ChandraseKhar [mailto:[EMAIL PROTECTED]]
Sent: 01 March 2002 16:40
To: 'Struts Users Mailing List'
Subject: RE: Struts MySQL Hosting
Anyone notice that the quality
Hi,
I was hoping someone could point me to an elegant solution for the
following.
I have an ArrayList of objects which I use the Iterate tag view, lets say
there are 10 objects in it. My requirement is to display the contents of
each object in a table cell and have three cells per row. I cant
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject: Re: Development Environment
Glad to see someone else using JEdit. Thought I was the lone sole.
- Original Message -
From: Chris Birch [EMAIL PROTECTED
Does your html:form tag have the enctype attribute on the end? e.g.
html:form method=POST enctype=multipart/form-data
Regards,
Chris.
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: 21 February 2002 21:37
To: Struts Users Mailing List
Subject: Error 500 using
Jedit and make on Solaris at work.
Apple ProjectBuilder at home with Ant (great for C and Apple only Java, OK
ish for straight forward java).
Best team IDE I've ever used is Visual Age for Java, drop the visual bits
and its outstanding. Can easily view class in their package hierarchy or
class
Are you running MVS on OS/390? If so, can you ask the mainframe admin to
put AIX or Linux on an MVS partition? Then, as Keith says, it should be a
straight forward unix install. If you're attempting to run it on TSO then I
think you'll be entering a whole world of pain...
Getting IBM's help
Mike,
The bean write tag defaults to filtering String for sensitive HTML chars.
You must set filter=false to stop the filtering, e.g.
bean:write name=foo property=bar filter=false/
Should do the trick.
Chris.
-Original Message-
From: Mike Dewhirst [mailto:[EMAIL PROTECTED]]
Sent: 18
Hertzel,
The property files get loaded using ISO-8859-1 Encoding but they understand
unicode escapes. Convert your file using the java tool (jdk/bin)
'native2ascii' and that should load the strings into the JVM correctly.
The only other possible problem occurs in some Containers (see Tagunov's
Jim,
These comments are really guesses about how to do this rather than
knowledge... None of it relies on Struts in particular.
You have three pages: Form, Working and Results.
On the form page, you submit the data to the Working page which will store
the query request somewhere (possibly in
Hi,
The following is taken from javax.servlet.ServletResponse:
---
The charset for the MIME body response can be specified with
setContentType(java.lang.String). For example, "text/html;
charset=Shift_JIS". The charset can alternately be set using
setLocale(java.util.Locale). If no charset is
fully that should do the trick.
Regards,
Chris.
-Original Message-
From: Antony Stace [mailto:[EMAIL PROTECTED]]
Sent: 07 February 2002 13:11
To: Struts Users Mailing List
Subject: Re: Problem with UTF encoding with Action Form
Hi Chris
Thanks for the reply.
On Thu, 7 Feb 2002 12:32:27 -
Tony,
Try sending your request to your server via a telnet connection. That way
you will be able to see in the headers if the correct content type has been
set and what the character values are that are returned. I'd suggest
creating a file with the HTTP POST in and having telnet read it. Bit
Hi,
In your Action classes, when the perform() method is called, do you assign
the ActionForm to an instance variable?
e.g.
public class MyAction extends Action
{
private ActionForm actionForm = null;
perform(ActionMapping mapping, ActionForm form, HttpServletRequest
request,
In your save preferences action, after the user has just updated their
preferences, try:
javax.servlet.http.Cookie c = new javax.servlet.http.Cookie(preference,
widget);
response.addCookie(c);
and then when they visit the page next time using ammend preferences
action:
Cookie[] cookies =
-Original Message-
From: Chris Birch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 10:04 AM
To: Struts Users Mailing List
Subject: RE: Help, How to display chinese in jsp by using message tag ?
Hi,
My guess is that the code being used to load the file off disk is
decoding
Hi,
My guess is that the code being used to load the file off disk is decoding
the text using the wrong charset to decode. In the UK, the JVM's default
charset is normally iso-8859-1 and this is used when loading any text files
from disk and converting them into double byte unicode (Java
Jeff,
As you're are using Tomcat4 you can reload a web apps context using the
built-in Tomcat management web app.
If your web-apps context is /myWebApp/
Simply enter http://localhost:8080/manager/reload?path=/myWebApp
This should return a simple string that tells you your context has been
.
-Original Message-
From: Shri [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2001 00:37
To: Struts Users Mailing List
Subject: RE: Escaped HTML characters in bean:write/
add filter=false in your bean:write tag.
Shri
-Original Message-
From: Chris Birch [mailto:[EMAIL PROTECTED]]
Sent
Hi,
I have a simple CRUD struts application which stores text in a
database. The text stored is often something like:
Struts is a bbrilliant/b framework
The idea is that simple html formatting can be applied to the text when
it is output in a JSP.
The text above gets stored in the DB
20 matches
Mail list logo