Re: Struts vs JSF newbie questions

2008-09-24 Thread Joachim Rohde
There is a JSF-plugin for Struts. Have a look at http://struts.apache.org/2.1.2/docs/jsf-plugin.html Hopefully this answers some of your questions. Joachim UseTheFork schrieb: Hi, I am still in my quest to understand J2EE technologies. Today, I am reading about JSF. My questions are: i) I u

Re: Struts2 Fileupload user defined messages

2008-07-20 Thread Joachim Rohde
Hi Dirk, I had the same problem and after spending the whole day trying things out, I found something that works. In WEB-INF/classes I created a class struts-messages.properties with following content: struts.messages.error.uploading=Fehler beim hochladen der Datei struts.messages.error.fil

Re: textarea Encoding

2008-07-11 Thread Joachim Rohde
Hi, are the values still correct within your controller? And which Server are you using? I once had a similar problem, but I am not sure, if my solution can be applied to your problem. In my case I tried to deliver strings with umlauts as a GET-request-parameter to my controller, which faile

Re: fileUpload vs custom servlet

2008-07-11 Thread Joachim Rohde
If you don't need the file-upload interceptor then remove it from your interceptor stack or exclude it for those actions which rely on your custom fileupload-servlet. webdev2 schrieb: I upgraded my app to Struts2, which provides file uploading. Now my custom servlet for uploading an attachme

Re: Can't stop console warnings

2008-06-15 Thread Joachim Rohde
Hi, add in your web.xml following snippet: log4jConfigLocation /WEB-INF/classes/log4j.properties And in the log4j.properties you add following line: log4j.category.com.opensymphony.xwork2.util.logging.jdk.JdkLogger=ERROR That should log only error-messages comi

Re: dojo with struts 2.0.11.1.

2008-06-12 Thread Joachim Rohde
As Dave mentioned, the tags are Struts 2.1. So download the 2.1.2 distribution ( http://struts.apache.org/download.cgi#struts212 ) and you'll find the dojo-plugin in the lib-directory. Joachim Lalchandra Rampersaud schrieb: Thanks for the quick reply. I assume that the plugin is in a jar fi

Re: struts 2.1.2 - strange bug

2008-05-09 Thread Joachim Rohde
Hi, you are using spring, aren't you? If so, you have to set the scope of your bean in the applicationContext.xml to "prototype" (or setting the attribute "singleton" to "false", depending on the version of spring you are using). Joachim Alec C4 schrieb: Hi, all. I have a config with