RE: Anyone have the Struts Validator example working?

2001-06-06 Thread DeVincentiis Giustino
Hi, The Orion documentation about the load-on-startup states that the optional contents of these element must be an integer indicating the order in which the servlet should be loaded. Then if you use values like 1 (ActionServlet) and 2 (ValidatorServlet) or any different values you want, it

Displaying the jsp forwarded by actionforward with the struts-form.tld

2001-06-06 Thread ameer
Im facing problem in displaying a forwarded jsp where in the form values are coming from the request attributes set in action class. im getting the attribute values but the struts-form tags are not getting converted to what it is supposed to. my jsp is like this .. the tag works fine for the

Form based authentication

2001-06-06 Thread Srinivas_A_Nagalli/Singapore/Netlife%NETLIFE
Hi, Has anyone used Form based authentication? How does action =j_security_check work? Thanks, Nagalli ameer

RE: logic:iterate or bean:write ERROR !!!

2001-06-06 Thread Waumans, Jef
Geoffrey, Your code should be working, see my working code of an iterate in an iterate both with bean:write functionality. Regardes, jef -Original Message- From: Geoffrey Van Nuffelen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 05 June, 2001 11:28 To: Struts-User (E-Mail) Subject:

a struts tag within another struts tag ...

2001-06-06 Thread Charlesworth, Chico
does anyone know a way of doing something like so, so that it works: logic:iterate id=listElement name=myList html:radio property=selectedListElement value=bean:write name=listElement// /logic:iterate i always get a error saying that listElement has no value in that scope ... i get

RE: a struts tag within another struts tag ...

2001-06-06 Thread Jon.Ridgway
Hi Chico, Not sure if it will work but try... logic:iterate id=listElement name=myList html:radio property=selectedListElement bean:write name=listElement/ /html:radio /logic:iterate if this doesn't work a more elegant way to achieve your scriplet code would be

RE: Form based authentication

2001-06-06 Thread Jon.Ridgway
Hi, When using form based auth the web container will under take the auth using the j_password j_username supplied. So it all depends on which container you are using. Tomcat for example allows you to map to a database containing user and role info in the web.xml. You also have to specify a

RE: Need help with Can't remove attributes from request scope probl em.

2001-06-06 Thread Jon.Ridgway
Hi Steve, Try editing org.apache.struts.taglib.FormTag.doEndTag as follows : // Remove the page scope attributes we created pageContext.getRequest().removeAttribute(Constants.BEAN_KEY); pageContext.getRequest().removeAttribute(Constants.FORM_KEY); Jon. -Original Message- From:

RE: a struts tag within another struts tag ...

2001-06-06 Thread Michael Mok
Hi Charlesworth I think it should be more like this logic:iterate id=listElement name=myList html:radio name=listElement property=selectedListElement / /logic:iterate Regards Michael Mok -Original Message- From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: a struts tag within another struts tag ...

2001-06-06 Thread Charlesworth, Chico
Both suggestions don't work because the value attribute is mandatory, where you get the error: According to the TLD attribute value is mandatory for tag radio what is really needed is a way of putting a struts bean value into the value attribute of the radio tag without using jsp ... any

Need your help -- Digester class

2001-06-06 Thread Hartmut Bernecker
Hi, I want use the Digester class to populate some objects with XML-Data. The Properties of the objects have not identical names to the XML-Attributes. Therefore I need a mapping. Am I right, when I search for a solution with that statement: **

Re: how does one invoke cascasde style sheets

2001-06-06 Thread William Jaynes
I put my style sheets in a directory at the top level of my web application. For example in /tomcat/webapps/myapp/css. Then in the jsp I reference it simply as link rel=stylesheet href=css/templates.css charset=ISO-8859-1 type=text/css - Original Message - From: kuma.cra [EMAIL

Scratch RowSets

2001-06-06 Thread Ted Husted
The documentation for the Early Release of CachedRowSets mentions that Because both a CachedRowSet object and its metadata can be created from scratch, a component that acts as a factory for rowsets can use this capability to create a rowset containing data from non-SQL data sources. has

Please help with JDBC

2001-06-06 Thread Luna, Kat
Title: Please help with JDBC Hi all, I'm having a lot of difficulty understanding the way Struts handles JDBC. I've got a MySQL database that I can access through JDBC from a standard Java class, so I know that my computer's configuration, classpath and drivers are all set properly, but as

RE: Please help with JDBC

2001-06-06 Thread Todd Story
Title: Please help with JDBC Put jdbc2_0-stdext.jar in your %Tomcat%\lib directory and restart. That jar contains the appropriate DataSource class. -Original Message-From: Luna, Kat [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 06, 2001 8:42 AMTo: [EMAIL PROTECTED]Subject:

RE: Displaying the jsp forwarded by actionforward with the struts-form.tld

2001-06-06 Thread Nanduri, Amarnath
Replace the value=%= request.getAttribute("ejbTitle") % with value=' %= request.getAttribute("ejbTitle") % ' Note the use of single quotes. It should work. cheers, Amar.. -Original Message-From: ameer [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 06, 2001 3:02 AMTo:

Re: making src contributions

2001-06-06 Thread Jeff Trent
Thanks. BTW, how does one achieve the envious title of commiter :^)? - Original Message - From: Ted Husted [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 06, 2001 9:57 AM Subject: Re: making src contributions Simple patches can be posted to Bugzilla and/or the

template-taglib; nestes templates?

2001-06-06 Thread Pfingstl Gernot
Title: template-taglib; nestes templates? Is it possible to use a template in a template? I tried following: I have a file /templates/main.jsp, which is the main layout for all pages (header, content and footer area and a page title): %-- main.jsp --% %@ taglib

Fw: making src contributions

2001-06-06 Thread Jeff Trent
Nevermind, I found it. Very anticlimatic. - Original Message - From: Jeff Trent [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 06, 2001 10:02 AM Subject: Re: making src contributions Thanks. BTW, how does one achieve the envious title of commiter :^)? - Original

Q: How to add .props files to web.xml

2001-06-06 Thread Wes Bramhall
Sorry for being a complete newbie, but what is the XML for adding this file to web.xml? ApplicationResources.properties Thanks much, -Wes -Original Message- From: Manoj Deb [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 10:57 PM To: [EMAIL PROTECTED] Subject: RE: More help

Compositing Actions

2001-06-06 Thread Andrew Jenkins
Is there a straightforward way to locate and invoke an Action from within the perform() method of another Action? The reason I would like to do this is to create a composite Action from a number of other component Actions--these component Actions must be available individually in the Struts

Re: Q: How to add .props files to web.xml

2001-06-06 Thread Peter Alfors
To specify the application resources, you add the following to your web.xml file... servlet ... init-param param-nameapplication/param-name param-valuecom.myResources.ApplicationResources/param-value /init-param ... /servlet Pete Wes Bramhall

RE: How to add .props files to web.xml

2001-06-06 Thread Jon.Ridgway
Hi Manoj, Note the application init-param below. So struts will look in classes/net/itwa for the resource file in this example running under Tomcat. Snip... !-- Action Servlet Configuration -- servlet servlet-nameaction/servlet-name

RE: Need help with Can't remove attributes from request scope p robl em.

2001-06-06 Thread Ritter, Steve
Hi Jon, Thanks for the reply, I tried the recommended change to the source code and still I get the same error. I've sent an email to my vendor's support group, in lieu of that is there anything else you would suggest? --Steve -Original Message- From: Jon.Ridgway [mailto:[EMAIL

Nested logic:iterate tags

2001-06-06 Thread Marc S. Penner
Is it possible to nest logic:iterate tags? I would prefer not to try to spend too much time trying to do something that isn't possible. Marc _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

invalid multipart request in beta 3

2001-06-06 Thread Peter Doyle
Hi, I recently changed from Struts b1 to b3. (I skipped b2) I have doe working with b1 to handle uploading, based on the upload application that came with struts. Since changed to b3 I get the following error: javax.servlet.ServletException: MultipartIterator: invalid multipart request data,

Re: Nested logic:iterate tags

2001-06-06 Thread Marc S. Penner
Apparently, it is. I tried it and it worked quite easily. Answered my own question. Marc - Original Message - From: Marc S. Penner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 06, 2001 10:32 AM Subject: Nested logic:iterate tags Is it possible to nest logic:iterate

RE: Nested logic:iterate tags

2001-06-06 Thread Charlesworth, Chico
yes it is possible, like so: logic:iterate id=firstListElement name=firstList logic:iterate id=secondListElement namesecondList bean:write name=firstListElement bean:write name=secondListElement /logic:iterate /logic:iterate -Original Message- From: Marc S. Penner [mailto:[EMAIL

RE: Nested logic:iterate tags

2001-06-06 Thread Jon.Ridgway
Hi Marc, Yes its possible, search the archive as I believe an example has been posted. See http://www.mail-archive.com/struts-user@jakarta.apache.org/ Jon. -Original Message- From: Marc S. Penner [mailto:[EMAIL PROTECTED]] Sent: 06 June 2001 15:33 To: [EMAIL PROTECTED] Subject: Nested

Re: Nested logic:iterate tags

2001-06-06 Thread jdware
Marc, Here's a sample of nested iterate tags IterateForm.java and TimeNavDblIter.jsp. Thanks to Craig et al it's a piece of cake. john ware / TimeNavDblIter.jsp !doctype html public -//w3c//dtd html 4.0 transitional//en %@ page language=java import =

RE: Need help with Can't remove attributes from request scope p robl em.

2001-06-06 Thread Jon.Ridgway
Hi Steve, Do you have a stack trace for the error? It will tell us which Struts class the exception is being thrown from, we can then figure out how to solve it for your container. Jon. -Original Message- From: Ritter, Steve [mailto:[EMAIL PROTECTED]] Sent: 06 June 2001 15:28 To:

setting boolean to yes/no

2001-06-06 Thread Alex Colic
Hi, I have a form with a checkbox that sets a boolean property in one of my classes. At a later page I display a msg if the user has selected the checkbox and I get 'true' or 'false' displayed. What I am actually looking for is a 'Yes' or 'No' to be displayed. Is there a clean way of getting the

Re: Moving from Struts 1.0b1 to Struts 1.0b3

2001-06-06 Thread Biswas Amalendu
Graeme Miller, As a solution you can have your controller do the validation instead of validating in the form bean. Let me know if you need any further help. Thanks, Amalendu Biswas. From: Graeme Miller [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]

RE: setting boolean to yes/no

2001-06-06 Thread Geddes, Mark (ANTS)
Write a tag. I have a BooleanTag that displays an image (tick or cross). You could modify it to show Yes/No Here's the extract from the tld: tag nameboolean/name tagclassants.servlets.taglib.BooleanTag/tagclass bodycontentempty/bodycontent attribute

RE: Need help with Can't remove attributes from request scope p robl em.

2001-06-06 Thread Ritter, Steve
Sure Jon, here is an excerpt from my servlet container log file -- I turned the verbocity way up and I'll give you all the context I can (a wide mail reader window works well here :) : [06/06/2001 08:34:48 PDT] worker1::jsp: ServletPath: /registration.jsp [06/06/2001 08:34:48 PDT]

Re: invalid multipart request in beta 3

2001-06-06 Thread Biswas Amalendu
Hi Peter, I have a file upload program and I am using b3 and everything is working just fine. Would you make sure that you set the enctype to multipart/form-data on your form tag. Thanks, Amalendu Biswas. From: Peter Doyle [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: setting boolean to yes/no

2001-06-06 Thread Jon.Ridgway
Hi Alex, You can use a logic:equal tag to check result stored in your form. Then a bean:message to display the appropriate Yes or No message. Jon. -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: 06 June 2001 16:11 To: Struts Subject: setting boolean to yes/no

Re: setting boolean to yes/no

2001-06-06 Thread Biswas Amalendu
Hi Alex, You may add an extra attribute(displayProperty) in your form bean and have it's get(getDisplayProperty) method generate the YES/NO based on the value of the checkbox property attribute that you already have and then use this new attribute (displayProperty) in your jsp to render

RE: Nested logic:iterate tags

2001-06-06 Thread Amos Shapira
Hi, I just had bad experience with ServletExec 3.0E and nested iterate tags. When I changed the inner iterate tag back to scriptlets things startted working again (the code worked fine under Tomcat 3.2.1). Is anyone aware of problems with NewAtlanta's handling of custom tags in general or

RE: Need help with Can't remove attributes from request scope p robl em.

2001-06-06 Thread Jon.Ridgway
Hi Steve, It has been suggested on this group before that updating Jasper is a more elegant solution to this problem. So yes you might want to try this. As to the stack trace; it confirms that the error occurs in FormTag.doEngTag. Are you sure you are picking up the edited class? You might want

Re: template-taglib; nestes templates?

2001-06-06 Thread Cedric Dumoulin
Check the Components proposal, you will certainly find what you need. Cedric Components sites : http://www.lifl.fr/~dumoulin/components/ (mirror) : http://www.geocities.com/cedricdumoulin/components/ Pfingstl Gernot wrote: Is it possible to use a template in a template? I tried

html:file tag question

2001-06-06 Thread dhay
Hi everyone. I was wondering if anyone know what will be submitted if I use the html:file tag WITHOUT setting the enctype to multipart/form-data on my form tag? A string? I do not want to actually upload the file, just get the filename requested. Many thanks, Dave

RE: invalid multipart request in beta 3

2001-06-06 Thread Peter Doyle
The form tag uses enctype multipart/form-data. Uploading is not the problem. The file uploads okay. When I forward to the next action I get the error. I'm wondering if the request is wrapped in a Mulitpart request of some kind. Peter -Original Message- From: Biswas Amalendu

RE: Need help with Can't remove attributes from request scope p robl em.

2001-06-06 Thread Roxie Rochat
Steve, Daniel sent me the following instructions which helped get me over the hurdle. Hope it helps you too. Roxie -Original Message- From: Daniel Benzimra-Ceuppens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 6:38 PM To: Roxie Rochat Subject: RE: Form tag problem in VAJ 3.5.3

RE: Need help with Can't remove attributes from request scope p robl em.

2001-06-06 Thread Ritter, Steve
Yeah I am sure, but notice that there are 2 FormTag classes, one directly in the taglib package and one in org.apache.struts.taglib.html.FormTag so we have: org.apache.struts.taglib.FormTag org.apache.struts.taglib.html.FormTag so I changed both. I also decompiled the only versions of these

RE: Need help with Can't remove attributes from request scope p robl em.

2001-06-06 Thread Ritter, Steve
Hi Jon, where can I get the correct version of Jasper? I checked the Jakarta site but I don't see Jasper identified on its own. Do I have to pull it out of Tomcat? If so, which release? --Steve -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June

bean:write Tag and polymorphic behavior

2001-06-06 Thread Nanduri, Amarnath
Hi my fellow Strutters, got an interesting question for you all to ponder. I am using the tag bean:write name=ABCForm property=superclassObject.key / in my jsp pages. WILL THIS WORK ? Is struts smart enough to know that i am returning a subclass and so can call its private variable

RE: input in XML config

2001-06-06 Thread David Noll
Forget what I said last night about calling setInput() from the ActionForm. Setting the input in the ActionForm's validate method flagrantly violates Struts' MVC architecture; flow of control should always be defined by the controller servlet and struts-config.xml. But saving request scope

Where can I get the latest version of Jasper?

2001-06-06 Thread Ritter, Steve
Does anyone know how I get the latest version of Jasper? Do I have to download Tomcat and if so which version? Thanks in advance!!! --Steve

Re: bean:write Tag and polymorphic behavior

2001-06-06 Thread David Winterfeldt
Struts uses reflection. So if the method is there, it will find it. You will need a setter though for the key method or it will generate errors. Here is an excerpt from the PropertyUtils documentation. Utility methods for using Java Reflection APIs to facilitate generic property getter and

Re: input in XML config

2001-06-06 Thread Jonathan
I for one dont even understand the value in the input value parameter. There could be MANY pages that got you to the page you are on. The input value just makes one possible origin available for you to have as a return target should things go fowl. I had been saying on this discussion that

RE: bean:write Tag and polymorphic behavior

2001-06-06 Thread Nanduri, Amarnath
David, Thanks for the info. I do have the setters. Too lazy to include them in my actual mail. cheers, Amar.. -Original Message- From: David Winterfeldt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 2:18 PM To: [EMAIL PROTECTED] Subject: Re: bean:write Tag and

Re: Getting values from ActionForm bean

2001-06-06 Thread Shannon Moschetti
Boy, I thought for sure that someone would have a suggestion for me concerning this question. Is more information needed? Shannon Moschetti wrote: Sorry... the error generated from my JSP is as follows, and not the error included in the original message: javax.servlet.jsp.JspException:

Pleeeeease help me using the Digester-Class of STRUTS

2001-06-06 Thread Hartmut Bernecker
Hello, it seems that the Digester Class of Struts is a strange thing. I take the following XML-Document (in a String): ?xml version=1.0 encoding=UTF-8? login usr=Benutzername hilfe=true rn=Hartmut Bernecker mail=[EMAIL PROTECTED] txt=Persoenlicher Begruessungstext

What happened to the 'etc','src' and 'web' directories in Struts binary download?

2001-06-06 Thread Shamdasani Nimmi-ANS004
Hi, I just downloaded Struts 1.0-b3 and found out that 'etc', 'src' and 'web' directories are no longer there. What happened to these? It was convenient to get the source code also in one shot of download. -Nimmi

database.xml

2001-06-06 Thread Gus Delgado
I'm trying to create my own example of the struts framework, I created a database servlet and I try to get data from the database.xml when I click on a link but when I check my servlet.log I see that the database (hashtable) is empty. SERVLET LOG: 2001-06-06 01:57:25 - path=/struts-floodcert

Re: a struts tag within another struts tag ...

2001-06-06 Thread Oleg V Alexeev
Hello Chico, Wednesday, June 06, 2001, 12:08:38 PM, you wrote: CC does anyone know a way of doing something like so, so that it works: CC logic:iterate id=listElement name=myList CC html:radio property=selectedListElement value=bean:write name=listElement// CC /logic:iterate You can

Submit included in GET parameters

2001-06-06 Thread Marc S. Penner
Is there any way to avoid having the submit text show up as a GET parameter when submitting a form? I want the other form elements to show up as GET parameters so that the page can be bookmarked, but I would prefer that the submit text not show up. Is there a way to do this? Thanks. Marc

Re: Getting values from ActionForm bean

2001-06-06 Thread John Raley
(Sorry if this duplicates a previous response) The fact that the bean name is null makes me suspicious: 1. Are you using html:options within an html:form tag? 2. Does your action specify a name (in struts-config.xml)? Or, does your form bean class have a customers property? Shannon Moschetti

Re: Getting values from ActionForm bean

2001-06-06 Thread Eric Rasmussen
Is this a typo? If not, it is probably your problem. html:select property=customer size=1 html:options property=customers/ labelName=value labelProperty=key /html:select Should be: html:select property=customer size=1 html:options property=customers labelName=value

how to safely access a nested bean property that may be null

2001-06-06 Thread Steve Salkin
Title: how to safely access a nested bean property that may be null Hi: If you have in your request a bean B, and bean B has within it a bean B', which has a property P that you would like to access using a bean:write name=B property=B'.P/ Now, you know that B' may be null. How can you

Re: Scratch RowSets

2001-06-06 Thread Oleg V Alexeev
Hello Ted, One question here... For example I want to use rowset in iterate tag - but database connection must be opened before iterate using and closed after it in this case. Is it right? If yes, then how it works in MVC framework? In Action - rows are retrieved from database and as attribute

Re: Compositing Actions

2001-06-06 Thread Oleg V Alexeev
Hello Andrew, May be another way is solution of your problem... Now I work under extension of struts to support so named 'bean-factories'. Idea is to create pluggable framework to support mechanism of data bean generation (for example, retrieved from database) based on declarations in

Re: Pleeeeease help me using the Digester-Class of STRUTS

2001-06-06 Thread Oleg V Alexeev
Hello Hartmut, You must implement such method to use it in digester - de.dhw.asim.components.benutzer.LoginObjekt.addGrp(de.dhw.asim.components.benutzer.BenutzerGruppe) Wednesday, June 06, 2001, 11:05:06 PM, you wrote: HB Hello, HB it seems that the Digester Class of Struts is a strange

RE: Scratch RowSets

2001-06-06 Thread Steve Salkin
Title: RE: Scratch RowSets Take a look at sun's CachedRowSet now available in early release. http://www.javaworld.com/javaworld/jw-02-2001/jw-0202-cachedrow.html S- -Original Message- From: Oleg V Alexeev [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 3:55 PM To:

No clue what is wrong...

2001-06-06 Thread Wes Bramhall
Thanks for all your help. You've verified, as far as I can tell, that I have everything in the right places and saying the right stuff. Here's all the information I have and maybe you can see what I'm doing wrong... (any other information I need to supply? Windows2k box running JRUN.

viewing combo box

2001-06-06 Thread Alex Colic
Hi, lets say you have a combo box filling from a vector. I can get this to work but I don't want the combo box to show if there are no options in it. In other words if the vector=0. What the best way to do this. Thanks for the help. Alex Alex Colic.vcf

Re: No clue what is wrong...

2001-06-06 Thread Steven Leija
In your configuration file, you are pointing to an ApplicationResources.properties file and it looks like you named your own properties file called App.props so your path would be: org.apache.struts.webapp.example.App Steven - Original Message - From: Wes Bramhall [EMAIL PROTECTED]

RE: Submit included in GET parameters

2001-06-06 Thread McShane, Matthew
do not give the submit button a name parameter. --matt. -Original Message- From: Marc S. Penner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 3:24 PM To: [EMAIL PROTECTED] Subject: Submit included in GET parameters Is there any way to avoid having the submit text show up

ActionForm/Action with edit mode

2001-06-06 Thread John Hogan
All, I have a situation where it is desirable to use a form/page for both adding new info and editing existing data. The new info scenario is straight forward struts ActionForm/Action classes. What I'm wrestling with a bit is the edit scenario. I'm wondering if I can stay within the

Can I have NO action?!

2001-06-06 Thread dhay
Hi. I have a form where I display the current filename, and allow them to change it. As such, I don't need to do anything in the action, just let Struts populate the form bean. How do I go about this? Do I need an action that does nothing in its perform method? Or can I set things up so no

Re: ActionForm/Action with edit mode

2001-06-06 Thread Ted Husted
If I understand the question, all you have to do is change the form's action to insert or update as the case may be. A good way to do this is to have a task parameter that you would pass to a single action designed to handle both cases. You can do this dymamically using (where key=0 means we're

exception in MessageTag.doStartTag()

2001-06-06 Thread RoleModel Software
We'rejust starting to learn about Struts. We have downloaded thecode (and binaries) (v.b3) for struts-example. The binaries run fine, and we get the expected output. Whenwe try to set up the source version, though, we get the following error: javax.servlet.jsp.JspException

Re: Scratch RowSets

2001-06-06 Thread Ted Husted
Good reference, Steve. So, given a CachedRowSet, it's easy to snag a data set and puruse it at your leisure, since the database connection is automatically closed by the RowSet. I've been using them for retrievals extensively, and they are an absolute pleasure to use. CachedRowSets are also

RE: ActionForm/Action with edit mode

2001-06-06 Thread Joe Kepley
I solved this one by creating an action that looked at the incoming bean, and if it was null or contained no data (the user was viewing and hadnt edited yet), then the action would populate the bean from a database and pass back with no errors. If a hidden variable (I called it 'process') had

Re: Getting values from ActionForm bean

2001-06-06 Thread Shannon Moschetti
Included below is info from the jsp, form class, and config file. Any advice? I'm stuck. I've got a fix, but its really terrible(embarrassing, but it works). Here's the relevant JSP code(start.jsp): html:form action=/export html:select property=customer size=1 html:options

Problem with nested html:form

2001-06-06 Thread Marc Eckart
Hi, i have two forms nested in the following way : html:form action="album.do"html:hidden property="action" value="deletePhotoList" /html:hidden property="forward" value='%= actionForward %' /html:hidden property="id" value='%= album.getAlbumId() %' /logic:iterate id="photo"

Re: Problem with nested html:form

2001-06-06 Thread dhay
I do not believe that you are allowed to have nested forms in html (though correct me if I'm wrong!). Dave Marc Eckart [EMAIL PROTECTED] on 06/06/2001 06:10:33 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Problem with

RE: invalid multipart request in beta 3

2001-06-06 Thread Graeme Miller
Peter that's a very similar error to what I am getting and I am doing the same thing (migrating from b1 to b3 with file uploading). Although the symptom I am getting is the ActionForm.validate method not working. If you find the answer please let me know! -Original Message- From:

RE: invalid multipart request in beta 3

2001-06-06 Thread Graeme Miller
Are you using IE 5.5? Coz there are some documented issues with IE5 and below and file uploads in Struts. Unfortunately I AM using IE5.5 and this is not working for me in Struts 1.0b3 where it was in Struts 1.0b1 so something has definitely been broken in either b2 or b3. -Original

Re: Problem with nested html:form

2001-06-06 Thread Marc Eckart
I do not believe that you are allowed to have nested forms in html (though correct me if I'm wrong!). Dave But we need something like nested forms, because we have actions for a list of objects and actions for a single one of these objects. Do you have any idea how to realize it in an other

RE: Moving from Struts 1.0b1 to Struts 1.0b3

2001-06-06 Thread Graeme Miller
Unfortunately in my case the controller is not reused but the form bean is, meaning if I was to do this validation in the controller I would have to do it for every Action that uses this bean. Thanks for the suggestion but it looks like I will have to stay on b1 until a more stable release of

Re: Problem with nested html:form

2001-06-06 Thread dhay
Can you explain your situation further? Would frames help? Dave Marc Eckart [EMAIL PROTECTED] on 06/06/2001 06:20:28 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Re: Problem with nested html:form I do not believe that

RE: Problem with nested html:form

2001-06-06 Thread Jann VanOver
Yes. I can't tell you if STRUTS addresses this, but with HTML and Javascript you have a lot of control over what happens before a form is submitted. -Original Message- From: Marc Eckart [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 3:20 PM To: [EMAIL PROTECTED] Subject:

Re: Problem with nested html:form

2001-06-06 Thread Marc Eckart
Can you explain your situation further? Would frames help? Dave I don't think so. We have a list of pictures. Now we want to delete some of the photos by selecting checkboxes and press a delete button. But we also want to move the pictures up and down by pressing on a button associated to

Re: Problem with nested html:form

2001-06-06 Thread John Raley
This is definitely a challenge. You can use a single form with multiple submits, each with a meaningful name. The name will be sent with the request - use the name to select the appropriate action. Marc Eckart wrote: But we need something like nested forms, because we have actions for a

Re: Problem with nested html:form

2001-06-06 Thread Marc Eckart
Yes. I can't tell you if STRUTS addresses this, but with HTML and Javascript you have a lot of control over what happens before a form is submitted. How do you mean this. How can I control which action is commited with HTML and Javascript ? Marc

Iterate tag exception: bean not found in scope null

2001-06-06 Thread Joachim Heck
Title: Iterate tag exception: bean not found in scope null I saw some messages posted about this issue, which I think I may understand, so I thought I'd post my experiences. I was getting this jsp exception when trying to use bean:write inside logic:iterate. The code looked fine. Turns out

Re: Problem with nested html:form

2001-06-06 Thread Ted Husted
Struts doesn't have anything to do with it at this point; it's all up to the client (e.g. browser). The client eventually sends a request to an Action, and then Struts can go to work again. The only option when HTML doesn't meet your needs is to move to an applet. Marc Eckart wrote: I do

Re: Moving from Struts 1.0b1 to Struts 1.0b3

2001-06-06 Thread Ted Husted
Could you subclass the Actions so that they can reuse the validation code? Be sure to register this at Bugzilla if you believe it is a bug. Graeme Miller wrote: Unfortunately in my case the controller is not reused but the form bean is, meaning if I was to do this validation in the controller

Re: How to add .props files to web.xml

2001-06-06 Thread kuma.cra
Hi, maybe off track but nevertheless do i have to map a resource file as i want to include a cascade style sheet that my company use on our web-site. Thus i have created a resource file beneath /WEB-INF/resource/bbnpa.css. Please point me in the right direction cheers.Chuck Jon.Ridgway wrote:

RE: Problem with nested html:form

2001-06-06 Thread Anthony Martin
You can think of link (href) as a form action request. Why not trigger a delete or order control or both that way? Anthony -Original Message- From: Marc Eckart [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 3:42 PM To: [EMAIL PROTECTED] Subject: Re: Problem with nested

ClassNotFound Exception in struts-example (b3)???

2001-06-06 Thread Ritter, Steve
Hello, I've got struts-b3 installed here and we were stepping through the struts-example. A problem arises when I click on the submit button in logon.jsp -- I get a ClassNotFound exception: [06/06/2001 16:12:39:511|17000] (ERROR) request_handler: Servlet Error: ClassNotFoundException: logon

Problem with struts example

2001-06-06 Thread Renee . Petris
Has anyone run into this problem? When I try to run the struts-example page I get the following error: org.apache.jasper.JasperException: Unable to compile class for JSP/home/carol/web/enhydra3.1/work/Struts/_0002findex_0002ejspindex_jsp_0.java:72: Incompatible type for method. Can't convert

No clue what is wrong...

2001-06-06 Thread Wes Bramhall
Thanks for all your help. You've verified, as far as I can tell, that I have everything in the right places and saying the right stuff. Here's all the information I have and maybe you can see what I'm doing wrong... (any other information I need to supply? Windows2k box running JRUN.

RE: No clue what is wrong...

2001-06-06 Thread Abraham Kang
Try changing the following in web.xml: param-valueorg.apache.struts.webapp.example.ApplicationResources/param-va lue to param-valueorg.apache.struts.webapp.example.App/param-value I also would rename Apps.props to Apps.properties I don't know if this makes a major difference. --Abraham

Problem with struts example - more info

2001-06-06 Thread Renee . Petris
I've just setup Struts to work with Tomcat under Win2K. Everything works fine. What I noticed is that the generated page is different. The quotations around true are not present when I'm running under Win2K. So I get setLocale(true) not setLocale(true). If someone knows what could be

RE: No clue what is wrong...

2001-06-06 Thread Wes Bramhall
Oh.. sorry. I was just trying to abbreviate. It is named ApplicationResources.properties. -Original Message- From: Steven Leija [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 4:03 PM To: [EMAIL PROTECTED] Subject: Re: No clue what is wrong... In your configuration file,

Re[2]: Scratch RowSets

2001-06-06 Thread Oleg V Alexeev
Hello Steve, Thank you, good paper. Thursday, June 07, 2001, 12:31:52 AM, you wrote: SS Take a look at sun's CachedRowSet now available in early release. SS http://www.javaworld.com/javaworld/jw-02-2001/jw-0202-cachedrow.html SS S- -- Best regards, Oleg

Re: Can I have NO action?!

2001-06-06 Thread Oleg V Alexeev
Hello dhay, Thursday, June 07, 2001, 1:34:00 AM, you wrote: dlc Hi. I have a form where I display the current filename, and allow them to dlc change it. As such, I don't need to do anything in the action, just let Struts dlc populate the form bean. dlc How do I go about this? Do I need an

  1   2   >