RE: file upload problems

2001-09-11 Thread Ajay Chitre
Mike, I tried setting the maxFileSize as follows; init-param param-namemaxFileSize/param-name param-value100K/param-value /init-param This throws a MaxLengthExceededException as expected. I would like to catch this exception and show a user friendly message on the screen.

Re: javascript in html:button

2001-09-11 Thread Jishan Li
It really works for me. - Original Message - From: Fang, Frank To: '[EMAIL PROTECTED]' Sent: Tuesday, September 11, 2001 12:46 AM Subject: javascript in html:button I am using struts 1.0, I am trying to use javascript to pick user

Should the Action class implement the java.io.Serializable ?

2001-09-11 Thread Vidar . Alvestad
Are there any reasons for letting the Action class implement the interface java.io.Serializable ? I have seen other projects have a class definition like: public class MyAction extends Action implements java.io.Serializable If Struts is deployed in a clustered environment, is this recommended?

Struts and JBuilder

2001-09-11 Thread Shea Kelly
Hi all, Anyone know how to setup struts to be used with JBuilder4 EE?? regards Shea Kelly Consultant Software EngineerObject Oriented Pty LtdPO Box 528, North Sydney NSW 2059Phone: +61 2 9957-1092Direct: +61 2 9459-3335Fax: +61 2 9956-5089 Mobile: 0416 110 499Email: [EMAIL

Bug in Struts validator !

2001-09-11 Thread juraj Lenharcik
hi all, In the class GenericValidator, when you use an another locale than the default you get a null pointer exception. i tried it with the german locale settings. i fixed the bug in this lines: DateFormat formatter = null; if (locale != null){ ==

Unit Testing Actions

2001-09-11 Thread dion
We test them using our own test framework sitting on top of HTTPUnit. It uses an XML file as input (e.g with urls and expected text/errors etc), rather than writing code. -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au JavaNews: http://www.multitask.com.au/JavaNews

AW: Unit Testing Actions

2001-09-11 Thread juraj Lenharcik
yes i had user httunit too. it used not only xml as input, but also a xml file as output for reports. ths xml reports were transformed with xsl to html for nightly reports like gump (apache). juraj -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet:

RE: Struts and JBuilder

2001-09-11 Thread markus.colombo
I know the setup for JBuilder 5: http://www.netstore.ch/mesi/strutstutorial/ I never worked with JBuilder 4, but it might be a starting point... Regards Markus -Original Message-From: Shea Kelly [mailto:[EMAIL PROTECTED]]Sent: Dienstag, 11. September 2001 09:44To: [EMAIL

html:base tag ommitting port number?

2001-09-11 Thread Andras Balogh
Hi friends, I am new to Struts i have just started using it. I am writing a simple jsp that includes html:base/ in the head If i acces my jsp trough http://virtual1.myhost.com:8080/login.jsp and viewing the source the base href is ommitting the port number. What could be wrong in my

Re: setting classpath

2001-09-11 Thread Keith Bacon
Peter, If you're on windows this batch file can be adapt to your environment. I think this is a good way to get started, for proper big projects people seem to use the Ant tool. regards, Keith. @echo off rem --Biff1Compile.bat - Compile a java file in biff1 web-app. rem --servlet.jar

Form-Bean for several html:text fields with the same name in one Form

2001-09-11 Thread Friedli Beat [UFA AG Her]
Title: Form-Bean for several html:text fields with the same name in one Form I'm constructing an shopping-cart with struts. The user can choose several artikels at the same time just by adding an amont. The browser will send several values for the property amount back to the server. My

Re: Should the Action class implement the java.io.Serializable ?

2001-09-11 Thread Ted Husted
The actions are multithreaded, and shouldn't have any class data to serialize ;-) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/about/struts/ [EMAIL PROTECTED] wrote: Are there any reasons for letting

Unsubscribe me

2001-09-11 Thread baris.guzelordu
Please unsubscribe me! Thanks. Iyi alismalar Baris Gzelordu IT-Customer Services * +90 212 449 23 35 * +90 532 210 19 57 * [EMAIL PROTECTED] *** This e-mail and any files transmitted with it are confidential and

RE: file upload problems

2001-09-11 Thread Ricky Frank
I have the exact same problem and am looking for the same answer At 11:55 PM 9/10/2001 -0700, you wrote: Mike, I tried setting the maxFileSize as follows; init-param param-namemaxFileSize/param-name param-value100K/param-value /init-param This throws a

RE: Does html:errors not work proper?

2001-09-11 Thread Marcel Andres
Hi all I finally could solve my problem...ufff. Special thank to Andre, Tobias and Keith which leaded me to the solution. For thus who are interested what went wrong, here a short description (maybe, it can help someone else on an other opportunity): In my case, the problem was not only part

need help to work with struts1.0, tomcat4, jb5 PE

2001-09-11 Thread Ricco Lee
hi all, i am new in struts tomcat. how can i set up n start my development with tomcat4, struts1.0 n jbuilder5 personal edition? or where can i get hints? thx in advance. _ Get your FREE download of MSN Explorer at

Re: Unsubscribe me

2001-09-11 Thread Ted Husted
http://jakarta.apache.org/site/mail2.html [EMAIL PROTECTED] wrote: Please unsubscribe me! Thanks. Iyi Çalismalar Baris Güzelordu IT-Customer Services * +90 212 449 23 35 * +90 532 210 19 57 * [EMAIL PROTECTED]

RE: javascript in html:button

2001-09-11 Thread Fang, Frank
it works in html tag, but when I convert select tag and button tag to struts tag, I haven't touch javascrip, it doesn't work. any further suggestion? Thanks Frank -Original Message-From: Jishan Li [mailto:[EMAIL PROTECTED]]Sent: Tuesday, September 11, 2001 2:22 AMTo: [EMAIL

RE: Error upgrading to latest struts build

2001-09-11 Thread Larry Maturo
Well, this is my third attempt to get this answered. Does this mean nobody knows how to solve this problem and I should give up on using Struts and try some other framework? If so, does anyone have any suggestions for a better framework? Again, I'm trying to upgrade from struts 1.0 to the

RE: Error upgrading to latest struts build

2001-09-11 Thread Greg.Reddin
Sanity check: 1) Is there a struts-config.xml file in your WEB-INF directory? 2) What are the results if you take the initial / off of /WEB-INF/struts-config in your web.xml? (Mine requires the initial / so that's probably not it.) 3) Is the struts-config file being used by another

Re: Error upgrading to latest struts build

2001-09-11 Thread Ted Husted
Struts 1.0 is stable, and that is the version of the framework I would recommend that you use for development. Late in the development of Struts 1.0, the nightly builds became very stable. This is not going to be the case now, as we move into heavy development of Struts 1.1. The nightly builds

Re: Error upgrading to latest struts build

2001-09-11 Thread Cedric Dumoulin
Have you change the config parameter in web.xml ? It should look like : ... init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param ... Also, I've you try the original Struts1.1 example ? Doe's it work with your

New York / Washington

2001-09-11 Thread Uwe Pleyer
Dear friends, I know that this mail will be a misuse of this list, but I want to express my sympathy to all victims and there familys and friends of this disaster. I've seen this horrible pictures and many people in Germany are with you in thought and sorrow. Uwe Pleyer UP-Software

javax.servlet.ServletException: BeanUtils.populate

2001-09-11 Thread Govindaraj, Suresh
Hi, I am getting the following error. I know that there is something wrong with my bean, Is there a better way to debug this? Is there a way to narrow down to the exact line(or attribute) that's causing this problem. 2001-09-11 11:11:09 - path=/topaz :action: Populating bean properties from

Ultradev CTLX question

2001-09-11 Thread Frederick N. Brier
If you are in Dreamweaver Ultradev LiveData mode and make a change, then Ultradev tries to upload the JSP and directly invoke it on the server. But an ActionForm does not exist, so you will end up with null reference exceptions trying to look up the Bean in the request attributes. What you

problem with bean:parameter tag

2001-09-11 Thread Andre Beskrowni
i'm still looking for a response to the problem described below: === whenever i include a value for the multiple attribute of the bean:parameter tag, i get a jsp compilation error. if remove the multiple attribute, everything works fine (except that i don't get my array of

logic:present role=...

2001-09-11 Thread Matt Raible
I have the following statement that seems to work fine for the TimeTrackerAdministrator role, but not for the Employee role - any ideas? strutslogic:present role=TimeTrackerAdministrator,TimeTrackerSupervisor,TimeTrackerEmployee /strutslogic:present

How to use ApplicationResources.properties file to set default values in JSP?

2001-09-11 Thread Yi-Xiong Zhou
I want to set the default row and col values in html:textarea / from ApplicationResources.properties. Does anyone know how to do that? The following way does not work apparently. html:textarea property=note rows='bean:message key=note.rows /' cols=70 / Thanks. Yi-Xiong Zhou

Re: javascript in html:button

2001-09-11 Thread Jishan Li
It should work. What is your detail? test.jsp %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %html:htmlheadSCRIPT LANGUAGE="Javascript"function removeRole(form){alert("It

RE: file upload problems

2001-09-11 Thread Ajay Chitre
Mike, From your email id I am guessing that you are based in New Jersey. I cannot tell you how sorry I am to hear about what happened today in New York. I am really hoping that this hasn't affected your family directly. Indirectly this has affected all of us. Nice people like you who spare

RE: Does html:errors not work proper?

2001-09-11 Thread Alexander Jesse
Hi, another solution would be to fall-back to the standard-resource when a key in a NLS-resource is not found. regards Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 11, 2001 3:29 PM To: [EMAIL PROTECTED] Subject: RE: Does