html:options and FormBean

2001-10-26 Thread Francois Duchaussoy
Hi, I have an ActionForm with a Collection object inside. I'd like to use the html:options tag to display that Collection. Could anyone give me an example on how to do that? something like that?? html:options collection=myActionForm.myMap property=key labelProperty=value/ Thanks. Francois.

RowTag Zip file

2001-10-26 Thread Jason . Gola
StrutsUsers-- Does anyone know where I can get a copy of the RowTag Zip file? (The link on the struts website is broken) Thanks! Jason __ This message contains information that may be privileged or confidential

Nested object reference inside of a nested iterator

2001-10-26 Thread Minh Tran
Hi, could someone please take a look at this snippet of code and let me know what i'm doing wrong? I built this from snippets of facts that I found throughout the messages on the list.. please let me know if any info is incorrect.. Thanks, Minh In the following code.. I have several nested

RE: Knowing where you came from

2001-10-26 Thread martin . cooper
The mapping is passed to the validate() method as a parameter. -- Martin Cooper At 04:58 AM 10/25/01, DUPRAT Alexandre wrote: Hi, I would be pretty interresting to know what is the action mapping when validating an ActionForm. We are using one form bean for 3 actions. We need to know what is

Re: Real time web page?

2001-10-26 Thread Paul Dillon
You can effectively push with a multipart response. The server can send each part whenever it wants - in response to a real-time event for example. Some guy put together a library for doing real-time updates by pushing chunks of javascript in the body of a long-lived response. By putting it

Design consideration: Client side validation

2001-10-26 Thread Hitesh Parashar
Hi: Struts puts emaphasis on server-side validations. However, lotsa times it makes sense to do some validations before we hit the server. How the client side validations should be done while keeping the sanctity of the design principles for struts? Is it a good practice to use use JavaScript

how to read SQL String from a Xml.

2001-10-26 Thread ZhengRui
Hi all:I use JSP with TagLib and I do not know where is a Taglib can "read" SQL String from a Xml file.thanks zhengrui

Re: ActionErrors.add

2001-10-26 Thread John Yu
If I remember correctly, the errors are concatenated, not overwritten. At 05:22 pm 25-10-2001 +0200, you wrote: What's happen if... ActionErrors errors = new ... (...) errors.add(login,new ActionError(error.login1)); (...) errors.add(login,new ActionError(error.login2)); Is the first errors is

Re: Struts 'n Expresso

2001-10-26 Thread John Yu
Expresso and Struts complement each other. You may want to take a look at the documentation which includes some information on Expresso/Struts integration. http://www.jcorporate.com/econtent/Content.do?state=templatetemplate=2resource=636db=default At 06:58 pm 25-10-2001 +0800, you wrote: Hi,

Re: default scope for struts actions

2001-10-26 Thread John Yu
Chiji, Yes, the default scope is request. Btw, the scope is for the ActionForm (aka FormBean) assoicated with the Action, not for the Action itself. At 10:48 am 25-10-2001 +, you wrote: I am right to think that the default scope for the struts action is request? Thanks Chiji?xml:namespace

Re: Real time web page? There is a way

2001-10-26 Thread Mark Ashworth
Good day, Listen closely as I describe how to push content to the browser. What is required is a servlet or the like to sit in a loop sending java script function updates to an iframe. Once the iframe receives the data it then calls an update function on the relevant page. So the solution

Re: Flash button and forms with struts

2001-10-26 Thread John Yu
Hitesh, You may want to look at Enhydra XMLC, http://xmlc.enhydra.org/community/enhydraOnTheEdge/index.html At 11:48 am 25-10-2001 -0700, you wrote: I've never done it, but I know you can use XML to communicate with Flash. Produce XML from your bean, and walla!

Mailing list congestion?

2001-10-26 Thread John Yu
I found the mailing list very slow. Messages I post only appears on the next day. Is it only me? -- John Yu Scioworks Technologies e: [EMAIL PROTECTED] w: +(65) 873 5989 w: http://www.scioworks.com m: +(65) 9782 9610 Scioworks Camino - Rapid WebApp Assembly for

RE: java IDEs

2001-10-26 Thread Jossevel Daniel
Title: RE: java IDEs Hello essayez Forte Community Edition 3.0 (chez sun) !! -Message d'origine- De : peter [mailto:[EMAIL PROTECTED]] Envoyé : jeudi, 25. octobre 2001 22:13 À : [EMAIL PROTECTED] Objet : java IDEs Hi I know this is off topic (apologies), but I think there

Re: HowTo: Preselect a value of a SelectBox

2001-10-26 Thread Jens Khnberger
If you got something like: html:select property="somevalue" html:options ... /html:select then initialise the variable "somevalue" in your form bean with the value you want to have preselected. Jens storck wrote: Hi, how can I preselect a value of a SelectBox? Many Thanks!!

Re: Struts and IPlanet 6.0 (Test Drive) - Solution

2001-10-26 Thread Dmitri Colebatch
Isn't the real cause of this the struts.jar file being int he classpath? as I understand it the struts.jar should only be in the WEB-INF/lib of your web application. cheers dim On Thu, 25 Oct 2001, Matt Raible wrote: I wanted to make sure the solution to this issue got into the mailing list

Re: Does struts spawn a new action class for every user?

2001-10-26 Thread Dmitri Colebatch
On Thu, 25 Oct 2001, Greg Lehane wrote: If I declare variables outside of the perform() method in my action classes, does this mean that multiple simultaneous users will overwrite each others variables? i.e. does struts spawn a new action object for every user session, or does it keep the

PROPOSAL: collectionProperty attribute in html:options

2001-10-26 Thread Mindaugas Idzelis
PROPOSAL: collectionProperty attribute in html:options Abstract: A new attribute collectionProperty which will act like the current colllection attribute except that it specifies the property of the form which contains the collection thereby elimating the need for a bean:define and

Re: Does struts spawn a new action class for every user?

2001-10-26 Thread John Yu
Greg, Action MUST be stateless unless you synchronize its access. The same single instance is used to serve all requests. See, http://jakarta.apache.org/struts/api-1.0/org/apache/struts/action/Action.html At 02:53 pm 25-10-2001 -0700, you wrote: Hey Folks, If I declare variables outside

Re: This list NEEDS a FAQ

2001-10-26 Thread martin . cooper
There already is a FAQ, here: http://jakarta.apache.org/struts/userGuide/kickstart.html I agree with the sentiment behind your suggestion, though. The real problem is that many people don't refer to the FAQ, and don't check the mailing list archives, before posting their own questions to the

Re: This list NEEDS a FAQ

2001-10-26 Thread John Yu
There's an FAQ on husted.com which contains frequent questions asked on the list, http://www.husted.com/struts/FAQ/index.htm Maybe we need an eye-catching link on jakarta's website pointing to the FAQ page? What do you think, Ted? At 05:32 pm 25-10-2001 -0400, you wrote: Subscribers,

Re: Knowing where you came from

2001-10-26 Thread Arnaud Chiaberge
Hi all, I have exactly the same concern. I'm using one Actionform for several purposes (coming from different JSP pages), and I'd like ot be able to know where I come from...is it possible ? Also, same problem when using an Action (a dispatcher one) that can be called from any JSP page...once

Re: java IDEs

2001-10-26 Thread John Yu
Peter, Borland's JBuilder is a popular and powerful commercial IDE. Its BeansExpress wizard can generate beans for you from the properties specified by you. They have a free bare-bone Personal version available for download: http://www.borland.com/jbuilder/offers/ NetBeans is an open

RE: RowTag Zip file

2001-10-26 Thread Adriano Labate
See on the page http://husted.com/struts/resources.htm, there is a valid link on http://husted.com/struts/resources/rowtag.zip. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 12:50 AM To: [EMAIL PROTECTED] Subject: RowTag Zip file

Re: Real time web page?

2001-10-26 Thread Paul Dillon
Ick, I sent this email about 7 hours ago and it has only just appeared on the list. I sent a mail to ant-user yesterday still hasn't appeared. Anyone else having email probs with the jakarta mailing lists? - Original Message - From: Paul Dillon [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: what is expresso??

2001-10-26 Thread Tom Klaasen (TeleRelay)
One search on Google (http://www.google.com) to expresso framework gave me this link http://www.jcorporate.com/ immediately. On this page, do a ctrl+f, and type expresso to find the right link. hth, tomK -Original Message- From: John McClain [mailto:[EMAIL PROTECTED]] Sent: donderdag

Re: This list NEEDS a FAQ

2001-10-26 Thread Erik Hatcher
http://www.jguru.com/faq/Struts - Original Message - From: Mindaugas Idzelis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 25, 2001 5:32 PM Subject: This list NEEDS a FAQ Subscribers, This list NEEDS a FAQ badly. There are many many many questions that are asked

HowTo: Struts Template containing JSP with Action and ActionForms associated

2001-10-26 Thread storck
Hi, I have a template build with struts and I have a JSP wich uses that template and looks like the following: %@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' % template:insert template='/common/template.jsp' template:put name='sidebar' content='/showSelectionBoxes.do' /

Re: Design consideration: Client side validation

2001-10-26 Thread John Yu
If client-side validation is preferred, one paradigm is: - use js to do client-side validation, - don't do validation in Struts, and - let your business logic do the final safe-guard to throw exception if the values are invalid. The main consideration is the maintenance of the js

Struts, JSP, Servlets and dB

2001-10-26 Thread Daniel WAMARA
Hi, no good answer has been given to me thru all the websites I went to but I should now have to ask my question here I think : I'm brand new in Struts' world because I've been hired by a company using it. Having worked before with servlets where querying databases where a matter of SQL

Re: Digestioin pill needed

2001-10-26 Thread Ted Husted
You might also bring this up on the Jakarta Commons list, where the current version of the Digester is maintained. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Mark Franklin wrote: Hi. I'm

Re: RowTag Zip file

2001-10-26 Thread Ted Husted
The current version from Jakarta Taglibs can be used instead. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ [EMAIL PROTECTED] wrote: StrutsUsers-- Does anyone know where I can get a

Re: Does struts spawn a new action class for every user?

2001-10-26 Thread Ted Husted
There is only one instance of an Action class per application, and so they must be thread-safe. http://jakarta.apache.org/struts/userGuide/building_controller.html#action_classes -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 --

How can a retrive an Action instance with a path ?

2001-10-26 Thread emmanuel.boudrant
I make a TabLig: csi:prepareform path=saisie.do/ html:form action=saisie.do ... /html:form And in this tag, I must access to the Action instance witch path is /saisie.do How can I retrive this action instance with ActionMappings in application scope ? Thanx.

Re: How can a retrive an Action instance with a path ?

2001-10-26 Thread emmanuel.boudrant
Is is the unique solution ? package com.csi.controller; import org.apache.struts.action.ActionMapping; public class CsiActionMapping extends ActionMapping { /** * @roseuid 3BD93D2D0078 */ public CsiActionMapping() { } public getActionInstance() { return

HowTo: How can I acces the index of a iterator-tag within a logic-tag ?

2001-10-26 Thread storck
Hi, How can I acces the index of a iterator-tag within a logic-tag ? logic:iterate id=bean name=formBean property=list logic:greaterThan ? Index over 0 /logic:greaterThan /logic:iterate THANKS !

Re: ActionErrors.add

2001-10-26 Thread emmanuel.boudrant
Yes. Domage ;) --- John Yu [EMAIL PROTECTED] a écrit : If I remember correctly, the errors are concatenated, not overwritten. At 05:22 pm 25-10-2001 +0200, you wrote: What's happen if... ActionErrors errors = new ... (...) errors.add(login,new ActionError(error.login1));

Nightly Build Problem

2001-10-26 Thread L. Yeung
My struts app is currently working. I just redownloaded struts build-20011025. Threw out all my old tlds, dtds and struts lib jar files and replaced it with new ones. When I ran tomcat it crashed. I took my struts app out from the server.xml, and Tomcat ran just fine. Am I missing something?

html:link page or forward?

2001-10-26 Thread chiji nwankwo
Hi, What is the difference between using the page and forward attributes of the html:link tag? Thanks ChijiGet your FREE download of MSN Explorer at http://explorer.msn.com

RE: adding /viewing messages like errors

2001-10-26 Thread Alexander Jesse
Maybe he refers to the validator's messageExists tag... If yes - see validator documentation cheers Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 7:55 AM To: [EMAIL PROTECTED] Subject: Re: adding /viewing messages

RE: java IDEs

2001-10-26 Thread Alexander Jesse
Hi, well, if it is just for bean-creation... Why not use a uml-tool with code-generation? (eg. ArgoUML v0.9 (the experimental one) has code-generation-features) As a side-dish you can get uml-documentation for your bean-classes... and still you use your preferred IDE (...UltraEdit...). hope

Re: Does struts spawn a new action class for every user?

2001-10-26 Thread David Corbin
The documentation is very clear that there is only one instance of the action class. You should not use member variables in action classes. David Corbin - Original Message - From: Greg Lehane [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 25, 2001 5:53 PM Subject: Does

Re: Real time web page?

2001-10-26 Thread Erik Hatcher
Also, the remote scripting API that I created has the capability of short-circuiting responses in a similar manner. Its application-dependent how that logic works, either by message ID or by a date stamp or other mechanism, as its just another parameter being passed from the client to the

How can Struts support img tag

2001-10-26 Thread pipashu
I use Struts to build a web. I have some directories to store jsp pages, most of thes pages have images, for example,, When I execute a action (*.do), then forwards to a jsp in one of these directory(not root directory), this page can not show images. I wonder Struts does not support a) . I

RE: Mailing list congestion?

2001-10-26 Thread Adriano Labate
You're right. A message I posted this early this morning is not appeared yet more that 5 hours later. -Original Message- From: John Yu [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 7:01 AM To: [EMAIL PROTECTED] Subject: Mailing list congestion? I found the mailing list

Re: java IDEs

2001-10-26 Thread James Holmes
Peter-- I would take a look into the NetBeans project (NetBeans.org) or Sun's Forte Community Edition (based off of NetBeans). These are both great IDEs and are free to use. I will also be releasing a new version of the Struts Console that plugs into NetBeans and Sun Forte very soon. This

Re: default scope for struts actions

2001-10-26 Thread emmanuel.boudrant
I'm not sure, I think default scope is session. see this in ActionMapping.java /** * The identifier of the scope (request or session) under which the * form bean associated with this mapping, if any, should be created. */ protected String scope = session; --- John Yu

Re: Mailing list congestion?

2001-10-26 Thread emmanuel.boudrant
Me too --- John Yu [EMAIL PROTECTED] a écrit : I found the mailing list very slow. Messages I post only appears on the next day. Is it only me? -- John Yu Scioworks Technologies e: [EMAIL PROTECTED] w: +(65) 873 5989 w: http://www.scioworks.com m:

Re: Struts and IPlanet 6.0 (Test Drive) - Solution

2001-10-26 Thread Matt Raible
You are correct, and I was able to get the struts-example (that I ported) to work on iPlanet Application Server (SP3) without adding anything to my classpath. However, I used the iPlanet Deployment Tool to register the application. There are other command line tools to register the application,

RE: java IDEs

2001-10-26 Thread emmanuel.boudrant
Try JBuilder 5 Personnal Edition, it's free. --- Jossevel Daniel [EMAIL PROTECTED] a écrit : Hello essayez Forte Community Edition 3.0 (chez sun) !! -Message d'origine- De : peter [mailto:[EMAIL PROTECTED]] Envoyé : jeudi, 25. octobre 2001 22:13 À : [EMAIL PROTECTED] Objet :

RE: java IDEs

2001-10-26 Thread Matt Raible
I believe in VIM (www.vim.org) - not a memory hog like all the rest of the IDE's. JBuilder seems to get a lot of good reviews too. Matt --- Jossevel Daniel [EMAIL PROTECTED] wrote: Hello essayez Forte Community Edition 3.0 (chez sun) !! -Message d'origine- De : peter

Re: Mailing list congestion?

2001-10-26 Thread Matt Raible
I'm getting the same behavior. --- John Yu [EMAIL PROTECTED] wrote: I found the mailing list very slow. Messages I post only appears on the next day. Is it only me? -- John Yu Scioworks Technologies e: [EMAIL PROTECTED] w: +(65) 873 5989 w:

Re: Knowing where you came from

2001-10-26 Thread Peter Pilgrim
Expresso frameworks has the concept of states within a Controller (a direct subclass jakarta struts action). Where can write states, which are methods prefix with run and and suffixed with State such as MyController extends Controller { public void runPromptLoginState( ) { }

RE: What is proper way to determine ActionForm type?

2001-10-26 Thread Justin Piper
Yes, you're right, you would lose that, and I don't think there's a clean workaround in my solution, save for adding a visit() method for every ActionServlet you want to support (ick). AFAICT, the way Ted suggested will still work with multiple different actions, so that would be the way to go

Re: ActionForward to ActionClass

2001-10-26 Thread Peter Pilgrim
method #1 ActionA extends Action { ActionForward perform(...) { ActionServlet servlet = getServlet(); RequestDispatcher rd = servlet.getConfig().getContext().getRequestDispatcher(actionB.do?command=XY ); rd.forward( request, response ); return null; } } method

Re: How to pass initialise parameters to action class

2001-10-26 Thread Alex Colic
Thanks for all the info. I guess in my action class I will have to create an empty constructor that initialises that value. Alex

Comment on using the Struts platform for this project.

2001-10-26 Thread Alex Colic
Hi, I have to create a app that allows users to change/input data into a database. Sounds simple. Problem is I have to make it dynamic so that is will work with any database or table. I have a back end VB app that will send me: Field name Field caption Field type Field display type e.g..

Re: html:options with FormBean

2001-10-26 Thread Peter Pilgrim
There are two ways but the best way is to set up a simple bean like LabelValueBean that has two attribute; the option value and the option description public class LabelValueBean { String label, descrip ; public String getLabel() { ... } public void setLabel( String newValue

onmouseover attribute of html:link

2001-10-26 Thread lisa ward
Hi, Can anyone see what I am doing wrong here. vl:image id=image1 name=rollOverImage html:link forward=%= container.getName() % onmouseover=swapImage('%= image1.getName() %','','%= image1.getLocationURL() %',1) vl:image

Re: Mailing list congestion?

2001-10-26 Thread Ted Husted
The webmasters are working on the problem. John Yu wrote: I found the mailing list very slow. Messages I post only appears on the next day. Is it only me? -- John Yu Scioworks Technologies e: [EMAIL PROTECTED] w: +(65) 873 5989 w: http://www.scioworks.com

Re: Mailing list congestion?

2001-10-26 Thread Michelle Popovits
Not just you. that's just the way it works sometimes. From: John Yu [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Mailing list congestion? Date: Fri, 26 Oct 2001 13:00:38 +0800 I found the mailing list very slow. Messages I post only appears on the next day. Is

Re: Using a HashMap for storing the FormBeans-Data

2001-10-26 Thread Ted Husted
You can use BeanUtils.populate(Object,Map) to populate any JavaBean from any Map. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ storck wrote: Hi, is it possible to use a HashMap to get and

Re: Design consideration: Client side validation

2001-10-26 Thread Sandeep Takhar
The struts validator performs client side validation, but then repeats again in case the user has turned off javascript. This is the preferred approach. The nice thing is, most validators are pre-configured for you and you don't have to write java or javascript code in order to use these

Re: RowTag Zip file

2001-10-26 Thread Sandeep Takhar
http://husted.com/struts/resources/rowtag.zip Sandeep --- [EMAIL PROTECTED] wrote: StrutsUsers-- Does anyone know where I can get a copy of the RowTag Zip file? (The link on the struts website is broken) Thanks! Jason

Re: This list NEEDS a FAQ

2001-10-26 Thread steven . valin
On Fri, 26 October 2001, [EMAIL PROTECTED] wrote: I agree with the sentiment behind your suggestion, though. The real problem is that many people don't refer to the FAQ, and don't check the mailing list archives, before posting their own questions to the list. Unfortunately, these are

RE: Real time web page?

2001-10-26 Thread Tom Klaasen (TeleRelay)
You're right: I get approx. the same response times. I also noticed the webservers of apache.org are going unusual slow. Maybe this is related? tomK -Original Message- From: Paul Dillon [mailto:[EMAIL PROTECTED]] Sent: vrijdag 26 oktober 2001 9:40 To: [EMAIL PROTECTED] Subject:

artimus

2001-10-26 Thread ltorrence
Title: artimus I'm having trouble getting artimus (husted sample app) to run on Tomcat 4.1-dev. I think I took all the steps outlined in web-inf/readme.txt. I changed the poolman.xml file to reflect my local oracle drive and db. (the poolman.xml file works fine with the sample

JVM ERROR

2001-10-26 Thread Devangi Shah
Has anybody ever seen this error? # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Error ID: 47454E45524154452F4F502D41500E435050084B # # Problematic Thread: prio=5

Re: Application Ressources from database?

2001-10-26 Thread Ted Husted
For real-time retrievals, in a model 2 / MVC environment, you would make such retrievals in the Action, and then pass the pertinent messages along in a bean. For i18n, you would make the user's locale (stored in the session) part of the database query. If you want to maintain the

Re: Fwd: Dynamic message

2001-10-26 Thread Ted Husted
The nightly build includes a message object with a seperate queue than errors. Personally, I just use the errors queue for these kinds of messages too. After the Action determines there is not an error message, I have it check for confirmation messages, using the same ActionError queue. Works

Re: Knowing where you came from

2001-10-26 Thread Ted Husted
The underlying problem is that the framework does not generate the request, the client does. The client is suppose to add certain properties to a request, which I think include the referring page, but you have no control over this, and personally, I would not depend on it. If there is

Different Actions calls in one html:form Tag

2001-10-26 Thread Roland Berger
Hi all I'd like to put severel (submit) buttons into one html:form tag. Each of this button should execute a different action. The problem is that only the action given in the html:form tag is called. Is there a way to tell struts to analyze the request for a property action and if the action

Re: This list NEEDS a FAQ

2001-10-26 Thread Ted Husted
And if you have any Ant questions (come on, I know you do), Erik can help you at http://www.jguru.com/faq/Ant ;-) Erik Hatcher wrote: http://www.jguru.com/faq/Struts - Original Message - From: Mindaugas Idzelis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October

Re: Struts, JSP, Servlets and dB

2001-10-26 Thread Ted Husted
Extending the ActionForm to handle the SQL statements might be a bit much. People often handle data access directly from the Action. The Action pulls the data out of the ActionForm, puts it into a SQL query, and then puts the result back into the ActionForm, or an ArrayList. Just as people have

Re: html:link page or forward?

2001-10-26 Thread Ted Husted
The page form taked a hardcoded URI. If you change your page names later, you will have to update these. The forward form takes a logical name, and reads the actual URI from the struts-config. This is a much better approach. If you change your page names, you can just update the struts-config.

access a error with logic (error added in form not action)

2001-10-26 Thread juraj Lenharcik
hello, i have a input field and i check it in the FORM-bean (Not action!), if it is ok; when not i put it to the errors (errors.add(count, new ActionError(error.count)); ) and return to the input jsp. Now i want to output a error message. i did it with html:errors property=count / but now i

Re: This list NEEDS a FAQ

2001-10-26 Thread Eric Rizzo
[EMAIL PROTECTED] wrote: There already is a FAQ, here: http://jakarta.apache.org/struts/userGuide/kickstart.html jGuru hosts a lot of Java FAQ lists, including one for Struts at http://www.jguru.com/faq/Struts The nice thing is you can suggest new questions, answers, and comments to

Example of bundle attribute in bean:message

2001-10-26 Thread Eric Rizzo
Are there any examples that use the bundle attribute of bean:message? Eric -- Eric Rizzo, Software Engineer OpenNetwork Technologies http://www.opennetwork.com - I embrace my personality flaws, for without them I might have no personality at all.

Visual Age 4.0, Tomcat 3.2.3 and Struts

2001-10-26 Thread Greg Berger
Does anyone have Struts working with Visual Age 4.0 Pro and the Tomcat Test Environment 3.2.3 from IBM? When I put the struts-example.war file in the webapps directory, Tomcat deploys and starts it with no problems, and the index page displays. If I attempt to follow the Register... link, I

Re: ActionErrors.add

2001-10-26 Thread David Winterfeldt
There are just multiple error messages for the login property. Nothing is lost. David --- emmanuel.boudrant [EMAIL PROTECTED] wrote: What's happen if... ActionErrors errors = new ... (...) errors.add(login,new ActionError(error.login1)); (...) errors.add(login,new

Re: Iterate will be the death of me.

2001-10-26 Thread dhay
John, What scope is your form bean? Try putting it in session scope and see if that helps! Dave John Bowen [EMAIL PROTECTED] on 10/25/2001 05:01:50 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Iterate will be the death of

Re: PROPOSAL: collectionProperty attribute in html:options

2001-10-26 Thread dhay
+1 for me Dave Mindaugas Idzelis [EMAIL PROTECTED] on 10/25/2001 03:32:47 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: PROPOSAL: collectionProperty attribute in html:options PROPOSAL: collectionProperty attribute in

Re: How do i generate a unique checkbox name when iterating a dynamically created page

2001-10-26 Thread dhay
Hi Reid, I posted a note a while back on this. The indexed attribute available in the nightly build automatically create a checkbox name including the index - eg myCollection[0].myCheckboxValue. If you can't use that, you'll have to use scriptlets to generate the same thing. Cheers, Dave

Re: Mailing list congestion?

2001-10-26 Thread Mark Gordon
I think there may have been a problem yesterday. Normally it seems ok. (plus I always get good responses! Hope to start adding some value to this list soon.) -Mark John Yu wrote: I found the mailing list very slow. Messages I post only appears on the next day. Is it only me?

Iterating thru collection of nested beans inside form

2001-10-26 Thread Kraffmiller, Ellen
I am having trouble using the indexed attribute in the html form tags. I have a form that contains section that is repeated a variable number of times. I am representing the controls within that section as a bean. My form bean contains a collection of section beans. class SectionBean {

Re: How can a retrive an Action instance with a path ?

2001-10-26 Thread Ted Husted
The ActionMappings are already in application scope, which is how the html tags use them. I suppose you could do the same with your Action, put a reference to it in application scope, under a known name. Usually, you would obtain whatever you needed from the Action first and put it into the

Re: How can Struts support img tag

2001-10-26 Thread Ted Husted
The html:base tag will let you use relative references. For more about using Struts with Dreamweaver, see http://jakarta.apache.org/taglibs/doc/ultradev4-doc/intro.html pipashu wrote: I use Struts to build a web. I have some directories to store jsp pages, most of thes pages have

Re: Mailing list congestion?

2001-10-26 Thread Ted Husted
They're working on it. Let's not add to the congestion by chatting about the congestion ;-) Adriano Labate wrote: You're right. A message I posted this early this morning is not appeared yet more that 5 hours later. -Original Message- From: John Yu [mailto:[EMAIL PROTECTED]]

RE: Flash button and forms with struts

2001-10-26 Thread Joe Niski
Title: RE: Flash button and forms with struts on a simpler level, you can send name/value pairs to a Flash movie from the embed or object tag in the JSP that references the Flash file, e.g. embed src="" param1Value % the value can be dynamic, e.g. an expression or tag that returns a

Migrating from tomcat 4.0 to tomcat 4.01

2001-10-26 Thread Domingo Aguilera
I have a webapp that runs properly under tomcat 4.0. Struts jar and commons jars are as from 9/19/2001 Now I want to make such webapp run in tomcat 4.0.1 but it seems the digester can't instantiate some classes from the struts-menu example. What I have noticed is that from tomcat 4.0 to 4.1

Re: Digestioin pill needed

2001-10-26 Thread martin . cooper
You shouldn't push your 'a' and 'm' objects on to the stack, but let the Digester create them as it encounters them. You probably want something like this: digester.push(this); digester.addObjectCreate(root/action, yourPackage.yourActionClass); digester.addSetProperties(root/action);

RE: java IDEs

2001-10-26 Thread Joe Niski
Title: RE: java IDEs The free JBuilder doesn't support JSP very well. After a year of using JBuilder Professional (4.0), i've spent a few months with NetBeans and find it more to my liking. Joe Niski | Senior Software Engineer/Internet Architect Nine Dots 503.548.2176 Portland . Irvine . San

How do I use non-string values in logic:equal ... ?

2001-10-26 Thread Eric Boudreau
Do I have to convert the value to a string first? Is there a cleaner way to handle this situation? The result of my attempt is shown below: C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser ver_myserver_contentweb\jsp_servlet\__tasks.java:326: cannot resolve symbol