RE: Help: Internationalization:I can't see Arabic or Chinese script?

2002-03-01 Thread Chris Birch
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:

RE: Struts MySQL Hosting

2002-03-01 Thread Chris Birch
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

Complex display logic (was RE: speed of struts)

2002-02-27 Thread Chris Birch
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

RE: Development Environment

2002-02-25 Thread Chris Birch
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

RE: Error 500 using property of type FormFile

2002-02-22 Thread Chris Birch
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

RE: Development Environment

2002-02-21 Thread Chris Birch
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

RE: Howto struts on OS/390??

2002-02-19 Thread Chris Birch
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

RE: bean:write

2002-02-18 Thread Chris Birch
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

RE: Character Encoding wrong just for ApplicationResources!

2002-02-14 Thread Chris Birch
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

RE: Showing a result after a long running query

2002-02-14 Thread Chris Birch
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

RE: Problem with UTF encoding with Action Form

2002-02-07 Thread Chris Birch
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

RE: Problem with UTF encoding with Action Form

2002-02-07 Thread Chris Birch
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 -

RE: Problem with UTF encoding with Action Form

2002-02-07 Thread Chris Birch
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

RE: ActionFormperform() action is getting passed the same forminstance when accessed by two clients at the same time.

2002-01-08 Thread Chris Birch
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,

RE: How to realize it?

2001-12-18 Thread Chris Birch
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 =

RE: Help, How to display Chinese in jsp by using message tag ?

2001-12-13 Thread Chris Birch
-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

RE: Help, How to display chinese in jsp by using message tag ?

2001-12-12 Thread Chris Birch
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

RE: Reloadable Class

2001-12-07 Thread Chris Birch
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

RE: Escaped HTML characters in bean:write/

2001-11-28 Thread Chris Birch
. -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

Escaped HTML characters in bean:write/

2001-11-27 Thread Chris Birch
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