RE: [S2] Chinese encoding problem

2007-06-27 Thread Emilia Ipate
Vincent, Your server must have as a Java VM Argument this line: -Dclient.encoding.override=UTF-8 (search on google client.encoding.override and you will find more) Emilia -Original Message- From: Vincent Lin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 12:56 PM To: St

RE: [S2] Chinese encoding problem

2007-06-27 Thread Emilia Ipate
IE, the Chinese characters will be scramble. But when I use firefox, it works correctly. The funny thing is that the browser language setting of my IE is "zh_TW" while the setting in firefox is "en". Is there any interceptor in S2 changing the encoding of request? On 6/27/07, Emi

problems when migrating Struts 1.0 to Struts 1.1 on WebSphere?

2006-05-16 Thread Emilia Ipate
Hello!   I am trying to upgrade Struts 1.0.2 to Struts 1.1 on WebSphere Application Server.   At beginning, the application was developed on WebSphere version 3.5.4  with Struts 1.0.2. The application used a Struts1.0.2 patch, because: "The JASPER version used by the WebSphere 3.5.4 s

RE: Finalize back hitting the "back"-button?

2006-05-17 Thread Emilia Ipate
Hello! Could you be more explicit? What do you understand when saying action? Are you referring to a HTTP request action? Anyway, you should remember that, when the user hits the "back" button of the browser, there is no interaction (no request sent) between the client (browser) and the server

commons-io-1.1.jar + WSAS problems!

2006-05-26 Thread Emilia Ipate
Title: Message Hello, all!   I have the following problem: after putting a new version of commons-io.jar in my web application project, I get different exceptions depending on the mode the server is started (debug or start).   Here are the details of this problem: with the new struts

RE: Go Back

2006-05-29 Thread Emilia Ipate
There are 2 ways for doing it: 1. on client side: - use javascript: history.back() or history.go(-1) This solution is very fast because the browser loads the page quite fast as from the client's PC (does not go to the server) 2. on the server side - in the your RequestProces

RE: Custom tag info

2006-05-29 Thread Emilia Ipate
You can't put the value of a custom-tag another cutom-tag! You should use scriptlet or el-expressions or somthing else! -Original Message- From: Jean-Marie Pitre [mailto:[EMAIL PROTECTED] Sent: maandag 29 mei 2006 14:36 To: user@struts.apache.org Subject: Custom tag info Hi, I ha

RE: Sending run time value to custom tag

2006-05-30 Thread Emilia Ipate
You can indeed use scriptlet like this: Note: he scriptlet <%=myform.getSampleIndicator()%> must return exactly the type the setIndicatorType() method (of the tag class that provides the implementation of indicatorEndDisplay) expects!!! -Original Message- From: Hanmay Udgiri [mailto:[EM

javabeans explanation

2006-06-05 Thread Emilia Ipate
Title: Message Hello, all!   I have a question: why if I have in a ActionForm these 2 methods:     public Age getAge();     public void setAge(int age); (note that I do not have a property age in the form, because I do a delegation) and I receive the request parameter "age", why does it

RE: javabeans explanation

2006-06-05 Thread Emilia Ipate
as 16:25, Emilia Ipate escribió: > Hello, all! > > I have a question: > why if I have in a ActionForm these 2 methods: > public Age getAge(); > public void setAge(int age); > (note that I do not have a property age in the form, because I do a > delegation) > and

best way to send parameters through more requests

2006-06-09 Thread Emilia Ipate
Title: Message Hello, all!   Is there a solution besides using session, to send some request parameters from one request to another? I would like to implement something like a shopping cart (a functionality which needs about4-5 steps) and I do not want to store the objects in the session (i

RE: best way to send parameters through more requests

2006-06-09 Thread Emilia Ipate
Newton [mailto:[EMAIL PROTECTED] Sent: 09 June 2006 12:33 To: Struts Users Mailing List Subject: Re: best way to send parameters through more requests Emilia Ipate wrote: > Is there a solution besides using session, to send some request > parameters from one request to another? > I woul

RE: best way to send parameters through more requests

2006-06-09 Thread Emilia Ipate
I was more thinking of something like: - store the complex object in the session and remove it when it becomes useless! Now the question comes: when does the object come useless? It is useless when users gets to step 5 and also when from a middle step (like 3) decides to get out of the this 5 step

RE: best way to send parameters through more requests

2006-06-09 Thread Emilia Ipate
Newton [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 9:06 AM To: Struts Users Mailing List Subject: Re: best way to send parameters through more requests Emilia Ipate wrote: > Now the question comes: when does the object come useless? It is > useless when users gets to step 5 and als

RE: best way to send parameters through more requests

2006-06-09 Thread Emilia Ipate
juni 2006 16:20 To: Struts Users Mailing List Subject: Re: best way to send parameters through more requests Emilia Ipate wrote: > Hello, all! > > Is there a solution besides using session, to send some request > parameters from one request to another? > I would like to impl

RE: regarding loging

2006-06-13 Thread Emilia Ipate
In the log4j.properties file you should and the following lines: # setting loglevel for specific packages and classes log4j.logger.org.hibernate=OFF log4j.logger.org.apache.struts=OFF Kind regards, Emilia -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: dinsda

RE: Pass dates between two windows

2006-06-13 Thread Emilia Ipate
Hello, Jose! Depending on your application requirement, you should choose one of the following solutions: 1. in window2: after the user selects some employers, save the selected employers in DB and in window1 retrieve the saved employers from the DB. 2. in form-bean put a propert

RE: Pass dates between two windows

2006-06-14 Thread Emilia Ipate
#x27;t refresh all the window?. Thank you. -Mensaje original- De: Emilia Ipate [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 14 de junio de 2006 8:49 Para: Struts Users Mailing List Asunto: RE: Pass dates between two windows Hello, Jose! Depending on your application requirement, you sh

RE: About ActionServlet

2006-07-20 Thread Emilia Ipate
Hello! The Struts framework is based on the Front Controller pattern. This means that is has a mean class which delegates the main work to aother classes. And this is what ActionServlet does. It is a servlet that based on the user's request and struts-cofig delegates the process of the request par

RE: Constructor of Action is executed but getting a blank screen

2006-09-11 Thread Emilia Ipate
Hi! It might sound stupid, but just check: Your execute method from Action is actually called "excecute" instead of "execute". -Original Message- From: krishan rathi [mailto:[EMAIL PROTECTED] Sent: Monday, September 11, 2006 1:33 PM To: Struts Users Mailing List Subject: Constructor of

RE: UTF-8 encoding problems

2007-03-22 Thread Emilia Ipate
You also have to enable your server to accept UTF-8, for WSAS I had to use: -D client.encoding.override=UTF-8 Emilia -Original Message- From: Mike Parsonson [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 2:39 PM To: user@struts.apache.org Subject: UTF-8 encoding problems Hi,