RE: processPreprocess

2001-09-18 Thread Merikan Peter
Bryan, an example. protected boolean processPreprocess(HttpServletRequest iRequest, HttpServletResponse iResponse) throws IOException, ServletException { // check to see if a session has already been created for this user // don't create a

Re: [ANNOUNCE] Struts Console v0.3

2001-09-18 Thread emmanuel.boudrant
Hello, I 've got an little idea, in your console you can add this feature: - Put the field [error] on the property list input in form bean pane, and so, the console can generate the ApplicationRessources.properties file where there is all the error message. Emmanuel, --- James Holmes

AW: [ANNOUNCE] Struts Console v0.3

2001-09-18 Thread D. Veniseleas
Hi, I get parsing-errors with all my struts-config.xml's in version 0.3. Document root element 'struts-config', must match DOCTYPE root 'struts-config' . Earlier version worked. -Ursprüngliche Nachricht- Von: emmanuel.boudrant [SMTP:[EMAIL PROTECTED]] Gesendet am: Dienstag, 18.

RE: Struts Websphere 3.5.4 for Windows 2000

2001-09-18 Thread VIAUD Cédric
Title: RE: Struts Websphere 3.5.4 for Windows 2000 I think i have read on the documentation that a JAXP 1.0.1 version is required. Does this means that this EXACT version is required or a recenter one works ? Regards, Cédric -Message d'origine- De : Bryan Mallinson

MultipartIterator: invalid multipart request II

2001-09-18 Thread Wiechert, Holger
(I've sent this already yesterday, but I think it didn't make it, so I post it again) Hi, I just found out that I have this once discussed problem regarding the forward with multipart/form-data. I wanted to do something like having a general upload action that can be triggered from other

logic:empty

2001-09-18 Thread Aurélie Lucet - Atlog
Hi, do you know how to evaluate if an object or a variable exists or not ? I tried the logic:empty tag showed here (http://jakarta.apache.org/struts/struts-logic.html#empty), but this tag does not exists in my libs. Thanks, Aurélie http://www.tombraiderworld.fr.st/ Soon : http://www.khamoon.com/

RE: logic:empty

2001-09-18 Thread Alexander Jesse
Hi, try the logic:present tag! works for me. good luck Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 2:31 PM To: [EMAIL PROTECTED] Subject: logic:empty Hi, do you know how to evaluate if an object or a variable

RE: logic:empty

2001-09-18 Thread Geddes, Mark (ANTS)
Could you use logic:present ? -Original Message- From: Aurélie Lucet - Atlog [mailto:[EMAIL PROTECTED]] Sent: 18 September 2001 13:31 To: Struts-User Subject: logic:empty Hi, do you know how to evaluate if an object or a variable exists or not ? I tried the logic:empty tag showed here

RE: logic:empty

2001-09-18 Thread Marcel Andres
The logic:empty tag is not avaiable before struts 1.1. So, use the logic:present as, Alexander wrote, or upgrade to struts 1.1. The information on the struts homepage is based on the nightly built, therefore you can find some information on it, which does not relay on the struts 1.0. marcel

html:image problems solved

2001-09-18 Thread Dirk Jaeckel
Hi! I posted a problem about not beeing able to differentiate between multiple html:image-tags in the form bean. While I am not sure I have understand the whole problem I found a solution that works for me (and maybe for others too). I modified org.apache.struts.util.BeanUtils.java:

STRUTS Installation problem

2001-09-18 Thread Michael . Moyse
Hi, I have downloaded and unpacked Struts 1.0 and am trying to run the examples but I am getting following error:- A Servlet Exception Has Occurred Exception Report: javax.servlet.ServletException: Cannot retrieve ActionMappings under key org.apache.struts.action.MAPPINGS at

The final word on struts and jboss 2.2.2 and tomcat 3.2.2

2001-09-18 Thread bill milbratz
I'd like to confirm from the Struts Authorities, that indeed, struts doesn't quite-work-right with tomcat 3.2.2 and jboss 2.2.2. (Classloader problems and sundry 'class not found exceptions). Does jboss-2.4.1a and Tomcat-3.2.3 solve the problem? I've seen a few posts on this topic: This one

Re: logic:empty

2001-09-18 Thread Aurélie Lucet - Atlog
Thanks for your answers. I tried logic:present, it works when testing a bean, but not for a bean property ? Is it possible ? Thanks, Aurélie http://www.tombraiderworld.fr.st/ Soon : http://www.khamoon.com/ - Original Message - From: Marcel Andres [EMAIL PROTECTED] To: struts-user [EMAIL

RE: STRUTS Installation problem

2001-09-18 Thread Bacco, F. ing. DTO/SLOD/SSI/RSD
You have to use an other XML parser in place of JAXP. Use Xerces instead and put the jar in your lib directory. Ciao, Frank -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Verzonden: dinsdag 18 september 2001 15:42 Aan: [EMAIL PROTECTED] Onderwerp: STRUTS

Re: The final word on struts and jboss 2.2.2 and tomcat 3.2.2

2001-09-18 Thread Luis Olivares
Im too very interested in this topic, since we'll be developing an Application for WebSphere 4.0, but our Development Enviroment will be Jboss with Tomcat. Regards. Luis Olivares. [EMAIL PROTECTED]

RE: logic:empty

2001-09-18 Thread Lee, Donald
I use struts 1.0 and have looked at upgrading my struts.jar so that I may utilize the empty tag, among other things, (I also use the present tag with success) and notice that the struts.jar file is considerably smaller (221 kb now versus 319 kb)in size than that of struts 1.0. I got the latest

RE: The final word on struts and jboss 2.2.2 and tomcat 3.2.2

2001-09-18 Thread Rey Francois
Not at all an answer to the original question but more of a comment on your dev. setup. My personal experience is that you should aim at having the development environment as close as possible to the production environment. If you develop your app on JBoss and Tomcat, you may spend lots of time

Unable to handle ActionForm class hierarchies?

2001-09-18 Thread Holger Wiechert
I've got a problem when using class hierarchies for ActionForms. There are two ActionForms: SuperForm and SubForm (as can be guessed, SubForm inherits from SuperForm). Then there are two Actions, SuperAction and SubAction, where SuperAction uses SuperForm and SubAction uses SubForm. The JSP that

How to override doGet() method inside your servlet class

2001-09-18 Thread praveen bhure
please help me...i am trying to override doHead() method inside my servlet class but it's giving me a error that get method is not supported. i am passing a method attribute (head) from the html page thanks in advance praveen

Unable to handle ActionForm class hierarchies?

2001-09-18 Thread Holger Wiechert
I've got a problem when using class hierarchies for ActionForms. There are two ActionForms: SuperForm and SubForm (as can be guessed, SubForm inherits from SuperForm). Then there are two Actions, SuperAction and SubAction, where SuperAction uses SuperForm and SubAction uses SubForm. The JSP that

Dynamic foward to jsps

2001-09-18 Thread Craig_Reichenbach
I have seen some discussion of dynamic forwarding in the archives as it pertains to passing parameters. But I haven't seen anything yet that speaks to how one might have more than 1 success page. For example, suppose I had menu.jsp and menu_es.jsp and I wanted to dynamically forward all

Bug in WAS 3.5.4 or tomcat or..?

2001-09-18 Thread Daniel Jimenez
I currently run a copy of both websphere 3.5.4 and tomcat 3.2.3. While I develop most of my applications on tomcat and implement them on websphere I've run acrost an issue that either relates to tomcat or WAS. In my struts-config.xml file I specify: forward name=success

Unable to handle ActionForm class hierarchies?

2001-09-18 Thread Holger Wiechert
I've got a problem when using class hierarchies for ActionForms. There are two ActionForms: SuperForm and SubForm (as can be guessed, SubForm inherits from SuperForm). Then there are two Actions, SuperAction and SubAction, where SuperAction uses SuperForm and SubAction uses SubForm. The JSP that

Re: The final word on struts and jboss 2.2.2 and tomcat 3.2.2

2001-09-18 Thread Ted Husted
Personally, I would suggest autodeploying on the production/test platform from the CVS daily, as is done on Jakarta, and then running a suite of Unit and application tests. This can give you much more leeway over what platform developers use. However, it is of course vital that the

Re: Unable to handle ActionForm class hierarchies?

2001-09-18 Thread Cobbie . Behrend
Have you tried specifying the name explicitly? As in: html:hidden name =superForm property=myField/ I have experienced this same error when having more than one form in a session with the same property's. The actionForm associated with a particular action was not being set. After specifying

Re: Problems with PoolMan finding mm.mysql driver

2001-09-18 Thread Craig_Reichenbach
What is mycontents? Are you using JNDI to find the datasource? For now don't use JNDI, just put poolman.xml in your WEB-INF/classes directory the jta, poolman, jdbc_se, and your driver jar file in the web-inf/lib directory. I don't believe you need to put anything in Tomcat's classpath, only

Re: logic:empty

2001-09-18 Thread Ted Husted
We transferred several packages to the commons, which are no longer present in the Struts 1.1 JAR. See the release notes. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/about/struts/ Lee, Donald wrote:

Re: Bug in WAS 3.5.4 or tomcat or..?

2001-09-18 Thread Ted Husted
It seems like this is a Websphere bug that people have come across before. You might check the list archives at mail-archive.com If you find it, let me know, and I will publish it someplace. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716

Re: Unable to handle ActionForm class hierarchies?

2001-09-18 Thread Wiechert, Holger
Yeah, just have given it a try, but still the same. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 18. September 2001 19:00 An: [EMAIL PROTECTED] Betreff: Re: Unable to handle ActionForm class hierarchies? Have you tried specifying the

Re: The final word on struts and jboss 2.2.2 and tomcat 3.2.2

2001-09-18 Thread Ted Husted
The honest truth is that we don't do any private testing at Jakarta, and rely on reports from field engineers, like yourself, to let us know what works and what doesn't ;-) In fact, nearly all of the installation pages were written by field developers rather than the Struts Authorities ;-) Are

Re: html:image problems solved

2001-09-18 Thread Ted Husted
Thanks for the update, Dirk. Could you submit this to Bugzilla? so it can be considered as the basis for a enhancement. http://jakarta.apache.org/site/bugs.html -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 --

Re: Problems with PoolMan finding mm.mysql driver

2001-09-18 Thread Ted Husted
I just have the mysql JAR in my Tomcat lib folder, and don't bother with a classpath. It's sometimes the case that you get class not found errors when the jars are found it more than one place, or in more than one way. Adam Smith wrote: The answer to this has to be painfully easy, but I

test

2001-09-18 Thread Mueller, Annette
pls reply with any generic message that you received this message.

ActionError display and re-populate problem

2001-09-18 Thread Kilmer, Erich
I am working on a Struts prototype. I have the basic flow going between a couple of pages. What I am trying to get working now is the ActionError part. In my ActionForm I am detecting errors, creating ActionError and sticking them in ActionErrors which is returned from the validate method. In my

bean:define... get/set

2001-09-18 Thread Duff, Jason
I am using the bean:define tag to set an attribute to a specific bean: (ex) bean:define id=swapFormModel name=instrumentForm property=formModel/ Then I proceed to use this attribute as the name property of various html tags: (ex) html:text name=swapFormModel

RE: ActionError display and re-populate problem

2001-09-18 Thread Mitesh Mehta
Title: RE: ActionError display and re-populate problem Does Winterfeldt's validation framework support dependencies between fields in a given form i.e. validation of field2 should be done only if field1 exists or is a certain value? Thanks, Mitesh Mehta S1 Corp (http://www.s1.com)

Field dependencies in Validation Framework

2001-09-18 Thread Mitesh Mehta
Title: Field dependencies in Validation Framework Sorry, wrong subject line in previous message. Mitesh Mehta S1 Corp (http://www.s1.com) -Original Message- From: Mitesh Mehta Sent: Tuesday, September 18, 2001 5:08 PM To: '[EMAIL PROTECTED]' Cc: David Winterfeldt (E-mail);

RE: test

2001-09-18 Thread Campesato, Oswald
received. -Original Message- From: Mueller, Annette [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 1:28 PM To: '[EMAIL PROTECTED]' Subject: test pls reply with any generic message that you received this message.

RE: bean:define... get/set

2001-09-18 Thread Mitesh Mehta
Title: RE: bean:define... get/set If instrumentForm is your form bean for this action mapping, you could do the following, html:text property=swapFormMode.model.page1Model.ticker/ Mitesh Mehta S1 Corp (http://www.s1.com) -Original Message- From: Duff, Jason [mailto:[EMAIL

Re: Workflow Processing in 1.1

2001-09-18 Thread Ted Husted
(As a point of order, the TODO item actually came first.) The main focus of the workflow proposal now is to create a generic framework that could be used in other environments; not just Struts. Most of the work here will initially take place in the Commons, with Struts implementation acting as a

Re: ActionError display and re-populate problem

2001-09-18 Thread Ted Husted
Kilmer, Erich wrote: I am working on a Struts prototype. I have the basic flow going between a couple of pages. What I am trying to get working now is the ActionError part. In my ActionForm I am detecting errors, creating ActionError and sticking them in ActionErrors which is returned from

Re: Problem with mappings and html:form tag

2001-09-18 Thread Ted Husted
You would want this to read html:form action=/do/createProject and then make the action=submit part a hidden field in your form. The Action Mapping should start out like this: action path=/createProject type= ... -- Ted Husted, Husted dot Com, Fairport NY USA. --

How to use 'parameter' attribute of the action tag.?

2001-09-18 Thread Suriyanarayanan, Senthil Kumar
Hello, How do I use the parameter attribute of the action tag. The struts-config_1_0.dtd says, action tag takes parameter attribute as.. parameter General purpose configuration parameter that can be used to pass extra information to the Action selected by

Re: How to use 'parameter' attribute of the action tag.?

2001-09-18 Thread Ted Husted
The mapping is passed to perform(), so you can access the parameter like this: String parameter = mapping.getParameter(); To pass multiple parameters, you could set it up like a query string (p1=thisp2=that), and then use Hashtable parameters =

Dynamic WorkFlow?

2001-09-18 Thread Matt Raible
Does anyone know of a dynamic workflow implementation? We have a project that spans 17 departments, and each department wants to be able to setup their workflow process. The also want to be able to change it as needed. I haven't found any workflow engines that support this, nor have I seen

RE: ActionError display and re-populate problem

2001-09-18 Thread Alexander Jesse
The input text fields should be repopulated (that's pretty much the whole idea ;-), and all your errors should be displayed if you are using the standard html:errors/ tag. Just be sure the standard tokens are defined in your application resources file, such as I noticed that this does not