Re: java.lang.NoClassDefFoundError for beanutils converter

2008-02-08 Thread Arpan Debroy
Can you share what are the jar files you have in your lib folder. On Feb 9, 2008 11:06 AM, hardc0d3r <[EMAIL PROTECTED]> wrote: > > i get an error every time i acces a page that basically, registers a user > (insert to the database) but it still inserts the data in the database.. > here is the er

Re: using disabled attributes in tag

2008-02-08 Thread Arpan Debroy
I have a problem in Internet Explorer. The disabled elements are not grayed up. Have anybody faced the similar situation. On Feb 8, 2008 7:46 PM, Okan Özeren <[EMAIL PROTECTED]> wrote: > Hi, > > This is a bug for old version of strust 2, but fixed on 2.0.8 version. > > You should create a solutio

java.lang.NoClassDefFoundError for beanutils converter

2008-02-08 Thread hardc0d3r
i get an error every time i acces a page that basically, registers a user (insert to the database) but it still inserts the data in the database.. here is the error: java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter at java.lang.Class.getDeclaredConstructors0(Native M

Re: OOT: Too Many Connection

2008-02-08 Thread Jeromy Evans
Hi Frans, You need to isolate what there's too many connections to. Is it the database, the http server or some other resource? My wild "stab in the dark" is that you're using the Session In View pattern with hibernate and a connection pool setup through spring. The pool is probably exhaust

OOT: Too Many Connection

2008-02-08 Thread Frans Thamura
hi there, i am developing system using struts2, hibernate, and spring and show off the error too many connection , and the error show off after there is 300 user log to the systme can help anyone F - To unsubscribe, e-mail: [

Re: [Struts2.011] Best approach for limited view

2008-02-08 Thread Jeromy Evans
lbastil wrote: Please give me advices what would be the best approach in the struts 2 world to realize a limited view (authorization). In struts 1 I would have created a simple tag which is able to render it childs dependent on authorization of user, something like: ... some content ... Is

j4 and retrotranslator

2008-02-08 Thread Brian Relph
Has anyone built a java 1.4 compatible struts2 application with maven2 using the translated jars? I installed the j4 struts2-core and xwork jars in my repository. But, I am still this error when installing my project using maven: ... INFO] war:war [INFO] Packaging webapp [INFO] Assembling webapp

Struts 2 Validation issue

2008-02-08 Thread dfaulcon
I have an interesting problem that I'm dealing with in regards to struts 2 validation. I have XML validation setup throughout my application that appear to work fine. The validation returns the appropriate error messages when needed. However I have a user object that is created when a person lo

Re: File upload issues when maxFileSize is exceeded.

2008-02-08 Thread James Sanders
Thanks Laurie! That's a pretty good idea, and quite possibly what we'll do. The problem with it is that the file is sent along with other form parameters, and if I remember correctly, the Content-Length header is the full length of the body of the post, which would include all the text for those pa

Re: Struts 2 Spring sitemesh hangs on tomcat 6 and jboss

2008-02-08 Thread Emil.I
Hello guys, it turned out that app is whats hanging the server responded to other request not related to this webapp. i had : list.addAll(JobService.retrieveRecent()); after a couple of request it hanged, then i assigned it list = JobService.retrieveRecent(); no its fine list.clear(); also did the

Re: html:hidden as a collection not String

2008-02-08 Thread Laurie Harper
Shanna7463 wrote: Is it possible to assign a collection to a html:hidden component, rather than a string? Basically my webapp allows the user to select different options for access control. I would like to add these selections to a collection and pass that to my Action class. A hidden inpu

What cd be wrong?

2008-02-08 Thread Sam Karl
Hi, I'm new to struts and portlets. I tried out the this tutorial as a start. http://struts.apache.org/2.x/docs/struts-2-portlet-tutorial.html After implementing all functionalities described in that tutorial, the "editBookMark" option doesn't work. I get the following exceptio

Re: File upload issues when maxFileSize is exceeded.

2008-02-08 Thread Laurie Harper
Adam Gordon wrote: We're using Struts 1.2.9 and the problem we're seeing is that if a user tries to upload a file that does not exist or upload a file that exceeds the maxFileSize attribute the FormFile object on the ActionForm is null and so we cannot distinguish between the two. We thought

setTableList(List tableList) not working?

2008-02-08 Thread swaddee
I have the following code in 3 files + struts.xml and the .ftl page displays [errors, mobile, non-parsed] as text unless I remove the comments in file 1. I am expecting an actual 3 element list to display on the second action. (see the partial struts.xml file below) Do I have the wrong code, ide

Re: File upload issues when maxFileSize is exceeded.

2008-02-08 Thread James Sanders
Thanks for your response Martin, but as Dave pointed out, we do not have that interface available as we are using 1.2.9. Does anybody know at what point the framework begins to actually save a FormFile and if there is any way to hook into that and check the length before that happens? On Feb 7, 20

Re: Struts 2 and Weblogic 9.2 - java.net.ConnectException

2008-02-08 Thread Randy Burgess
>From the Struts 1 plugin page: The Struts 1 plugin is currently only intended to allow you to run Strust 1 actions inside a Struts 2 application. It DOES NOT allow you to continue to use the Struts 1 tag libraries in your JSPs. Your JSPs must be converted to use the Struts 2 tag library. Regards

Re: Struts 2 and Weblogic 9.2 - java.net.ConnectException

2008-02-08 Thread Dave Newton
--- Vigneswar <[EMAIL PROTECTED]> wrote: > I have struts-config.xml as well as struts.xml under the WEB-INF folder. The S2 configuration files need to be on the classpath, normally /WEB-INF/classes. > In old JSP, I'm providing action="/HelloWorld" in the html:link tag but > when I click the link

Re: using disabled attributes in tag

2008-02-08 Thread Okan Özeren
Hi, This is a bug for old version of strust 2, but fixed on 2.0.8 version. You should create a solution with javascript. Presumably your js function is wrong. Probably your tag name is wrong. You should look its source code on browser for tags real name. Okan. On Feb 8, 2008 3:32 PM, Johnson ni

Re: Struts 2 and Weblogic 9.2 - java.net.ConnectException

2008-02-08 Thread Vigneswar
Hey Randy, It is not a problem with the web-app. There is a firewall block in my proxy server. So, I couldn't connect outside my network. At the same time, it looks crazy as it works for Struts 1.1 DTD. As a temporary fix, I have provided my local machine path for the DTD

Re: Struts 2 and Weblogic 9.2 - java.net.ConnectException

2008-02-08 Thread Vigneswar
Hey Randy, It is not a problem with the web-app. There is a firewall block in my proxy server. So, I couldn't connect outside my network. At the same time, it looks crazy as it works for Struts 1.1 DTD. As a temporary fix, I have provided my local machine path for the DTD

using disabled attributes in tag

2008-02-08 Thread Johnson nickel
Hi all, How to use enable and disable attributes in but it's not working. what wrong with this, i tried onclick event using html drop down . // Javascript function function enable() { formname.savebutton.disabled="true" } Give me a suggestion for this problem. Reg

Trouble configuring spring plugin

2008-02-08 Thread Toni Lyytikäinen
Hi, I recently started converting an older project to Struts 2.0.11 and maven. The project uses spring plugin for injecting certain dependencies into the actions. The problem is, that I would like to use the constructor autowiring, as described in the configuration file (struts.properties): ### sp