action resolution seems to be not quite correct in Rest and Convention plugins

2010-11-10 Thread Gena Ganebnyi
Hi All, I have a struts2 project(2.2.1) configured to use both rest and conventions plugin. Eevrything is configured according to guides, so nothing special about configuration. Till now everithings worked perfectly, but yesterday I came across strange problem. I had an action

Re: Missing message for key welcome.title in bundle (default bundle) for locale es

2010-11-10 Thread Li Ying
I think there are several problem (1)You have defined the same message key in different resource bundle (ApplicationResource and MessageResources). This may be not a good way to maintenance resource (2)message-resources parameter=com/myapp/struts/MessageResources_es/ is not very good. The

Re: Struts2 - implementing SSL

2010-11-10 Thread Paweł Wielgus
Hi Miguel, do You have or know of any real life benchmarks that shows that tomcat ssl is slower than apache mod_ssl? Best greetings, Paweł Wielgus. 2010/11/9 Miguel miguel...@gmail.com: Hello, I haven't used that plugin, but I recomend you to use the SSL provided by tomcat or your web

Re: Missing message for key welcome.title in bundle (default bundle) for locale es

2010-11-10 Thread bladu
Hi Steven and Li, I have found out that my locale is [es]. But the problem still continues because, when I create the Welcome Struts application in Netbeans, In the package com.myapp.struts there is a default properties file create called ApplicationResource.properties, which has in English.

Re: Struts2 - implementing SSL

2010-11-10 Thread Miguel
Hello Pawel, No, I don't have any benchmarks about the speed of mod_ssl vs tomcat ssl. I prefer apache with mod_ssl because I'm familiar with the configuration of open_ssl, I have the perception of being more secure to separate the application web server from the front webserver, and because

Problem with Struts 1 form

2010-11-10 Thread Anjib Mulepati
I am writing file upload application in Struts 1.3.8. The problem I am having is whenever I have file over 200MB to be upload application doesn't work properly. I have couple of text field beside files upload and those field value are shown null if I try to upload file over 200MB. JSP File

Re: Problem with Struts 1 form

2010-11-10 Thread Dave Newton
It can be either container upload limitation or the upload library (commons-fileupload) configuration. Or both. Dave On Wed, Nov 10, 2010 at 9:56 AM, Anjib Mulepati anji...@hotmail.com wrote: I am writing file upload application in Struts 1.3.8. The problem I am having is whenever I have file

Re: Problem with Struts 1 form

2010-11-10 Thread Anjib Mulepati
I have no clue where to check that for. Can u tell me which file? Anjib On 11/10/2010 10:13 AM, Dave Newton wrote: It can be either container upload limitation or the upload library (commons-fileupload) configuration. Or both. Dave On Wed, Nov 10, 2010 at 9:56 AM, Anjib

Re: Missing message for key welcome.title in bundle (default bundle) for locale es

2010-11-10 Thread bladu
I think there are several problem (1)You have defined the same message key in different resource bundle (ApplicationResource and MessageResources). This may be not a good way to maintenance resource (2)message-resources parameter=com/myapp/struts/MessageResources_es/ is not very good. The

Interceptor attempt

2010-11-10 Thread Altenhof, David Aron
Hello all, I'm trying to write my own interceptor, and have a question or two... I'd like to write a simple interceptor that will manage hibernate sessions for me. I know that there are more sophisticated ways to do this using Spring, etc. but this is mainly a learning experience. So, given

Re: Interceptor attempt

2010-11-10 Thread Greg Lindholm
Hi David, I've written a couple of these so let me give you some advice: Create an Interface HibernateAware that your actions will implement if they want a Hibernate Session and Transaction injected. public interface HibernateAware { } On Wed, Nov 10, 2010 at 3:45 PM, Altenhof, David Aron

Re: Interceptor attempt

2010-11-10 Thread Greg Lindholm
(Sorry - premature post) Hi David, I've written a couple of these so let me give you some advice: Create an Interface HibernateAware that your actions will implement if they want a Hibernate Session and Transaction injected. public interface HibernateAware { void setSession(Session session);

Re: Problem with Struts 1 form

2010-11-10 Thread Li Ying
(1)Is there any Proxy Server between the client PC and the Web App Server? (2)When the action going wrong, is there any Error or Exception message on the Server side? (3)There is a configuration item to control the max-file-size you can upload. You may need change it to more than 200MB.

Re: Problem with Struts 1 form

2010-11-10 Thread Anjib
1. No proxy server in between client PC and Web App Server If yes how it will affect? 2. No exception just give me error message for null value of those fields. 3. No such value is set. So I guess it is taking default value right now. Anjib On 11/10/2010 8:56 PM, Li Ying wrote: (1)Is

Re: Problem with Struts 1 form

2010-11-10 Thread Li Ying
3. No such value is set. So I guess it is taking default value right now. As I said, You may need change it to more than 200MB. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: