Non-Struts related : input one text field then show description in anotherfield

2002-08-20 Thread Sutiwan Kariya
Need somebody help! I have one jsp page with one zip code text field and one state text field. I want when user input the zipcode text , onblur that zip code field then the state text field shows the state related to that zipcode. what kind of bean or tag lib do I need to perform this task? I

[ANN] Struts QA Distilled, Vol#1

2002-08-20 Thread John Yu
Struts QA Distilled is a catalogue of question-and-answers distilled from Struts mailing lists and other sources. The catalogue is organized in topics. New entries are added to the catalogue periodically in batches. This is the first volume.

RE: Non-Struts related : input one text field then show description inanother field

2002-08-20 Thread Sutiwan Kariya
Really Sorry if my question confused you... I would like to perform it on client side but not know how to do it yet.. : ( Are there any way able to generate javascript function to populate the zipcode and the state in Map or something like that (cannot not use array cuz I want to use the

RE: Non-Struts related : input one text field then show description in another field

2002-08-20 Thread neal
Aah - I see what you're saying. Well, I don't know if this is for Intranet or internet purposes but either way I'm presumign you don't want to make the user download a list of all possible postal codesthat would be one large page. :) How about if you defined a multideminsional array,

RE: Non-Struts related : input one text field then show description inanother field

2002-08-20 Thread Sutiwan Kariya
That's Right! : D but worse that the zipcode associates not only state but associate city also. huh... seems I gotta download a list of possible zipcode to the page and call javascript to handle it. Are there any better ways? Really thanx, Sutiwan W.

RE: [ANN] Struts QA Distilled, Vol#1

2002-08-20 Thread Andrew Hill
Thanks John! Its great to see a company showing its commitment to the open source culture of Struts by opening up its internal knowledge bases collections of resources resource links like this to share with the rest of the developer community. Im sure this will become one of the first places

RE: Non-Struts related : input one text field then show description in another field

2002-08-20 Thread neal
So, you just want to determine the city and state, based upon the user's input zip code? I think the best thing to do would just break that form up into steps (first get the zip code, submit the page, and come back with that data from the servlet). Sucks to have to do that but if there's that

PB to run a simple login app

2002-08-20 Thread Frederic Barozzi
Hi, i done the following intallations: - sdk 1.4 - j2ee 1.3.1 - Tomcat 4.0.4 - Struts 1.0.2 - Eclipse 2.0 - Tomcat eclipse plugin - Easy struts eclipse plugin - struts config file editor. I made a simple application, that asks for a login and a passsword. - I launch tomcat - I launch my web

upload question

2002-08-20 Thread jfc
Hi, Just a quick question. Why do I get garbage when I upload a jpeg or gif image file when using the upload example in struts? I can see the image if I navigate to it in my local fs using my browser but not by using the example upload war app. Cheers jfc -- To unsubscribe, e-mail:

RE: upgrade 1.1-b1 to 1.1-b2 breaks indexed attribute under iterate ?

2002-08-20 Thread Daniel Haynes
Hi, It looks like you are right Raffy. The first here is the result of using 1.1-b2 (does not work) - td align=CENTER input type=submit name=cmd[17] value=Approve class=tableButton title=help text for approvescreen.button.approve /td and this is what results using 1.1-b1 (works fine) - td

RE: Log4JCategoryLog does not implement Log after upgrade to Struts 1.1-b2

2002-08-20 Thread Holman, Cal
Check the archives and the struts download page for log4j issues. You probably do not have the log4j factory in the commons-logging jar. Cal http://www.calandva.com/ -Original Message- From: Anthony Martin [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 15:02 To: Struts

How to put things in the ServletContext

2002-08-20 Thread Adam Connors
Hello, Apologies if this is an obvious one I've missed, (I'm a newbie and a bit bewildered by the onslaught of new information). But I want to put the home interface for an ejb into the servlet context to save time with multiple jndi lookups. Traditionally this is easily done in the servlet

focus on a radio button (causes a javascript exception) with Strutsform tag

2002-08-20 Thread Gilles . Vandaele
Gilles Vandaele - Forwarded by Gilles Vandaele/SMALS-MVM on 20/08/2002 11:21 - Gilles.Vandaele@smal

RE: Setting array of string in DynaActionForm

2002-08-20 Thread Robert Taylor
Try this one form-property name=selectedSite type=java.lang.String[]/ I removed the space between String and [] HTH, robert -Original Message- From: Stephen Ting [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 12:04 AM To: [EMAIL PROTECTED] Subject: Setting array of

RE: How to put things in the ServletContext

2002-08-20 Thread Robert Taylor
Adam, take a look at javax.servlet.ServletContextListener. You have access to ServletContext via the ServletContextEvent in contextInitialized(). /** * Called just after the web application has been initialized * * @param event the ServletContextEvent containing

RE: tons of tiles debug messages!

2002-08-20 Thread Holman, Cal
Cedric There is a debug flag set to true in the TilesRequestProcessor. Can you make it configurable? Do I open a bug? Cal http://www.calandva.com/ -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 18, 2002 17:38 To: Struts Users Mailing List

Upload timed out

2002-08-20 Thread Arroyo Pérez, David
I have Apache and Tomcat 4.0.3 connected by mod_jk, at the same machine. When one user tries to upload a file with struts, he obtains the error: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at

RE: separating status messages and error messages-Getting the design right.

2002-08-20 Thread Galbraith, Paul
Amol, I'm very new to Struts myself...just learning my way around, really, so I'd love to hear someone else's opinion on this. The way I'd approach this is to use the logic:notPresent/ tag in the JSP to show your status message only if there isn't an error object. E.g.: logic:notPresent

[ANNOUNCE] Struts Console v2.1

2002-08-20 Thread James Holmes
Struts Console version 2.1 is now available. http://www.jamesholmes.com/struts/ Download Now: http://www.jamesholmes.com/struts/struts-console-2.1.zip -- OR -- http://www.jamesholmes.com/struts/struts-console-2.1.tar.gz Struts Console is FREE software. This release adds support for the

Tiles Definition Bug ?

2002-08-20 Thread Ricardo de Souza Moura
I have a action that use validation And at the input attribute I need to put a definition !!! How I don't get to put the definition directly, I create another action only forward to the definition... action path=/customerValidator forward=def.cadastro.identificacao/ action path=/customer

RE: [ANNOUNCE] Struts Console v2.1

2002-08-20 Thread Narayana Reddy
How can I use it for - Apache tomcat based applications? Thanks regards, Narayana Reddy PM, IRDI, India Telnet:847-1987 Work: 91-80-2051987 Home: 91-80-3541057 Mobile: 91-98451-62251 -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 6:28

RE: [ANNOUNCE] Struts Console v2.1

2002-08-20 Thread James Holmes
Can you be more specific? The Struts Console is a tool for managing Struts config files. It does not support Tomcat config files, so if that's what you mean it will not help you. -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Narayana Reddy [EMAIL PROTECTED] wrote: How

Escaping HTML in html:multibox../

2002-08-20 Thread Robert Taylor
Is there a way to NOT escape HTML in the value attribute of html:multibox ... /. I'm trying to dynamically populate the value attribute using bean:write .../ and apparently the multibox tag does not process the embedded bean:write ... /. Code in JSP page: html:multibox

Problem deploying ejb combined with struts

2002-08-20 Thread Leslie Bertels \(Synergetic\)
Hi all, I have a problem deploying my application. Used configuration: JBoss 3.0 - Jetty 4.1 EJB 2.0 Servlets - Struts. When I create my application.xml I need to add a ejb module otherwise the appserver does not deploy the ejbs. But if I do, my struts are no longer accessible. This is

RE: separating status messages and error messages-Getting the design right.

2002-08-20 Thread Galbreath, Mark
Here's how I do it: % ActionErrors ae = ( ActionErrors) request.getAttribute( Action.ERROR_KEY); boolean err = false; if( ae != null) { err = true; } % You can also test for specific errors or for action messages. Then, wherever you want anything to occur on the page: % if( err) { %

RE: Problem deploying ejb combined with struts

2002-08-20 Thread Stephen . Thompson
Hello, This application.xml works for me. ?xml version=1.0 encoding=Cp1252? !DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd' application display-namewhatever/display-name

Re: Problem deploying ejb combined with struts

2002-08-20 Thread Leslie Bertels \(Synergetic\)
I tried that, but maybe the structure of my ear file (or war file) is not correct!! Could you send my that structure please ??? Thx. Les. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 4:05 PM Subject: RE: Problem deploying ejb

DAO - DTO business object to view beans

2002-08-20 Thread Alex Birch
Hi, I am building a medium size struts application (40-60 jsp pages) in a team. my question is to do with mapping business objects to view beans... By view beans I mean DTO (data transfer objects mentioned by Chuck Caveness in chapter 7 his upcoming O'Reilly struts book) If my understanding

RE: Servlet Validation

2002-08-20 Thread Galbreath, Mark
Create a blank index.html page in the /host/account directory that redirects to index.jsp in a META tag with the URL /do/index and the user will be directed to any path and bean defined for that path in struts-config. Mark -Original Message- From: David Graham [mailto:[EMAIL

RE: Problem deploying ejb combined with struts

2002-08-20 Thread Stephen . Thompson
Hello Les, Lets see In my WAR file I have the following *.JSP WEB-INF\ struts-*.tld tiles.tld web.xml struts-config.xml jboss-web.xml classes\ All of the action, form etc classes that are part of my application. lib\ struts.jar

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Alex Birch
Dan, that is a fantastic diagram (so much information so easily accessible in such a small place)! I have one question though to do with the ActionForm... Your colouring infers that there is one 'ActionForm per screen'. I know that an ActionForm instance is created (and filled with the form

Re: upload question

2002-08-20 Thread Alex Birch
I'm not sure if I understand you right, but is it because the upload example simply displays the contents of the files you upload directly to the browser (using out.print)? Because the image is a binary file it won't display nor would any other binary file... I haven't had any troubles

Validating nested:text fields in an iterate block

2002-08-20 Thread Jon.Ridgway
Hi All, Is is possible to use the struts validator to validate a nested:text field within an iterate block. I can't see a way to do this; validation.xml wants the name of a property on the form; but within an iterate block the field names are made on the fly - ie address[0].street. Is it

JSPs and HTML-Frames

2002-08-20 Thread Fabian Sommer
Hi Folks! Perhaps no newbie anymore, but I still have a simple question: if I build a frameset and want to forward form data from one frame to a jsp in another frame, how should I do that? Within jsp:forward (if I don't want to process form data but want to automatically change other contest if

RE: Help - xml to pdf using struts

2002-08-20 Thread mike . witt
Yes. The problem with IE is that it doesn't show the file and you get a blank page. This note at the fop site says: Some browsers have problems handling the PDF result sent back to the browser. IE is particularly bad and different versions behave differently. Having a .pdf on the end of the

RE: Problem deploying ejb combined with struts

2002-08-20 Thread James Higginbotham
Search the Jboss archives for classloading under Jboss 3.0.. I believe you have to wrap the war into a single .ear with the EJBS, and remove the libs from the war and put them in the ear *only* if you are using embedded Tomcat with JBoss. Something about how the classloaders work under the new

RE: Non-Struts related : input one text field then show description in another field

2002-08-20 Thread Galbreath, Mark
Works fine with NN 6.2. Mark -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:00 AM To: Struts Users Mailing List Subject: RE: Non-Struts related : input one text field then show description in another field Sounds like you're saying that you

RE: Escaping HTML in html:multibox../

2002-08-20 Thread Sri Sankaran
Robert: I think the only way to achieve dynamism in the value attribute is to use a JSP scriptlet such as: html:multibox property=upgradeLicenseKeys value=%=element.getLicenseKeyId()%/ What is it that you are trying to achieve? I have used multibox in an iteration (complete with

RE: DAO - DTO business object to view beans

2002-08-20 Thread James Higginbotham
In my past experience, projects tend to start out with the DTOs matching the BOs 1-to-1 but as a project grows and matures, UI changes will require a DTO to change in such a way that they don't match the BOs anymore. So, do the right thing and have both BO and DTO, even if they are matching. This

RE: Servlet Validation

2002-08-20 Thread David Graham
Thanks, I thought of a better variation of that technique though. The w3c recommends not using the meta refresh because of accessibilty and browser variation. I'll put an index.jsp with a single redirect statement in it to index.do. This way, it's using actual http header redirects instead

RE: Servlet Validation

2002-08-20 Thread Galbreath, Mark
TAMTOWTDI! Mark -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 11:13 AM Thanks, I thought of a better variation of that technique though. The w3c recommends not using the meta refresh because of accessibilty and browser variation.

RE: Problem deploying ejb combined with struts

2002-08-20 Thread Stephen . Thompson
James, The structure I have described below works fine on an embedded Tomcat 4.0.3 with JBoss 3.0.0. Regards, Stephen. -Original Message- From: James Higginbotham [mailto:[EMAIL PROTECTED]] Sent: 20 August 2002 16:01 To: Struts Users Mailing List Subject: RE: Problem deploying ejb

Re: Servlet Validation

2002-08-20 Thread John Owen
An acronym a day keeps the Project Manager at bay. - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 10:17 AM Subject: RE: Servlet Validation TAMTOWTDI! Mark -- To unsubscribe, e-mail:

iPlanet and Struts 1.02 problem - last try.

2002-08-20 Thread Jason Muse
One more try at this issue Problem with an extra slash / being added to the front of my form action and links, examples from little app i wrote and struts-example app: Example 1: form name=panelForm method=POST action=//do/panelForm;jsessionid= Example 2:

Something fundamentally wrong

2002-08-20 Thread Stephen . Chambers
All, I think I am doing something fundamentally wrong with a small pop up window that I have, but I don't understand what. When I click the add button, i.e. html:submit, the jsp is supposed to forward back to itself, which it does rather successfully. But in the request, when it forwards back

RE: [ANNOUNCE] Struts Console v2.1

2002-08-20 Thread Narayana Reddy
Thank you Thanks regards, Narayana Reddy PM, IRDI, India Telnet:847-1987 Work: 91-80-2051987 Home: 91-80-3541057 Mobile: 91-98451-62251 -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 7:18 PM To: Struts Users Mailing List; [EMAIL

RE: How to put things in the ServletContext

2002-08-20 Thread Karr, David
-Original Message- From: Adam Connors [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 2:16 AM To: [EMAIL PROTECTED] Subject: How to put things in the ServletContext Hello, Apologies if this is an obvious one I've missed, (I'm a newbie and a bit bewildered by the

Re: Problem deploying ejb combined with struts

2002-08-20 Thread Leslie Bertels \(Synergetic\)
Stephen, thanks alot man! I managed to get things working. Not exactly as you discribed below but that's ok. Regards, Les. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 4:21 PM Subject: RE: Problem deploying ejb combined with struts

RE: Problem deploying ejb combined with struts

2002-08-20 Thread Stephen . Thompson
You are most welcome. I am glad it helped. Regards, Stephen. -Original Message- From: Leslie Bertels (Synergetic) [mailto:[EMAIL PROTECTED]] Sent: 20 August 2002 16:47 To: Struts Users Mailing List Subject: Re: Problem deploying ejb combined with struts Stephen, thanks alot man! I

RE: Escaping HTML in html:multibox../

2002-08-20 Thread Robert Taylor
User error. I wasn't aware that the body of the html:multibox ... / was rendered as the value of html check box value attribute. Thanks Sri. robert -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 11:10 AM To: Struts Users Mailing List

RE: DAO - DTO business object to view beans

2002-08-20 Thread Andrew Hill
Have to agree. My ActionForms started out looking very like the objects I use to access the data from the j2ee side, but the speed at which they diverged over just a few iterations was quite surprising -Original Message- From: James Higginbotham [mailto:[EMAIL PROTECTED]] Sent:

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Jason Rosen
Dan's diagram actually (and correctly) denotes that there is one ActionForm instantiated per request or session (depending on the scope it is configured for in the ActionMapping). The same ActionForm class can be configured for multiple Actions via the ActionMapping, as you stated, but the

Stupid email filters [WAS: DAO - DTO business object to view beans]

2002-08-20 Thread Andrew Hill
Ok whats wrong with this thread? Seems it offended someones highly touchy content filter. duh! tries-to-clap-but-the-hands-miss/ stupid/ Trend SMEX Content Filter has detected sensitive content. Place = Struts Users Mailing List; ; ; Struts Users Mailing List Sender = Andrew Hill Subject = RE:

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Alex Birch
Yes...sorry I don't think I made myself quite clear... I am aware that ActionForms are created on a per-request basis... what I was pointing out was that the one per screen colour that is associated with the ActionForm comes under the Number of Implementations (in general) legend. This would

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Dan Cancro
I'm so happy you found it useful. Good catch about the ActionForm. I thought about that and added (in general) after Number of implementations because you are right that there could be one ActionForm implementation for a whole wizard composed of several pages. I'll add a new background color

How to use DynaValidatorForm?

2002-08-20 Thread A C
Hello I am trying to use the DynaValidatorForm in the following way. In the struts-config file I have !-- == Action Mappings == -- form-beans form-bean name=loginForm dynamic=true type=org.apache.struts.validator.DynaValidatorForm

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Jason Rosen
-Original Message- From: Dan Cancro [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 9:24 AM To: 'Struts Users Mailing List' Subject: RE: Struts Community is going crazy! :-)) I'm so happy you found it useful. Good catch about the ActionForm. I thought about that and added

query string with more then one param in struts-config.xml

2002-08-20 Thread Sriram Nookala
I have the following forward within an action in struts-config.xml: forward name=success path=/do/campaign/entry?op=viewreload=1/ However tomcat doesn't seem to like it, so I changed it to: forward name=success path=/do/campaign/entry?op=viewamp;reload=1/ This however doesn't seem to do the

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Jason Rosen
Oops, sorry about that - I missed the whole color key for the interior of the boxes. I guess I was concentrating on the exterior border color. Didn't mean to rant on about how ActionForms are created :) Jason -Original Message- From: Alex Birch [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

Jcrontab and Struts

2002-08-20 Thread Jan Fetyko
Hi all, I was wondering if anybody has some experience implementing Jcrontab into struts. Jf -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Stupid email filters [WAS: DAO - DTO business object to view beans]

2002-08-20 Thread Galbreath, Mark
Heh heh...happens to me all the time: Your name cannot be Dick. Your dog cannot be a bitch. Your cat cannot be a pussy. A fastener cannot be a screw. A lubrication nozzle cannot be a tit or a nipple. A mule cannot be an ass. Something strange cannot be queer. A cigarette cannot be a fag.

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Alex Birch
sorry to be pedantic but I wasn't sure about wizard or operation :) I don't quite know how to categorize its 'number of implementations' multiplicity - I've thought about it a fair bit too! the only thing I could think of was another colour altogether and call it: One per form or collection

FW: ScanMail Message: To Sender, sensitive content found and action taken.

2002-08-20 Thread Galbreath, Mark
Touche. -Original Message- From: System Attendant [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 12:41 PM Trend SMEX Content Filter has detected sensitive content. Place = 'Struts Users Mailing List'; ; ; Struts Users Mailing List Sender = Galbreath, Mark Subject = RE:

RE: Stupid email filters [WAS: DAO - DTO business object to view beans]

2002-08-20 Thread Alex Birch
I get a bad filter message for every post I send to struts-user! I hope it's not my name birch which looks like 'bitch'!?!! what about Birch trees? sorry all to make you receive annoying filters Alex --- Galbreath, Mark [EMAIL PROTECTED] wrote: Heh heh...happens to me all the time: Your

RE: DAO - DTO business object to view beans

2002-08-20 Thread Raffy_Lata
I tried to read chapter 7 and the discussion on DTOs does not flow smoothly into the ActionForm discussion so it's a bit confusing as to how the big picture looks. It is also mentioned that DTOs are part of the model and ActionForms are part of the view. If BOs delegate persistence to DAOs, do

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Dan Cancro
Hmm, I'll think about it some more. If I can figure out a way to do it, I'd like to add rollover popup boxes to explain the finer points. I'm hoping to get around to creating similar diagrams for the other frameworks out there so it's easier to compare apples to apples. So, as much as

RE: separating status messages and error messages-Getting the des ign right.

2002-08-20 Thread micael
I don't understand the need for the boolean err = false; if(ae!= null) { err = true; } in the code below. Why not use merely: % ActionErrors ae = (ActionErrors)request.getAttribute(Action.ERROR_KEY); % Then, wherever you want something to occur on the page: % if(ae == null ? true : false)

RE: Stupid email filters [WAS: DAO - DTO business object to view beans]

2002-08-20 Thread James Mitchell
Trend SMEX Content Filter has detected sensitive content. Place = Struts Users Mailing List; ; ; Struts Users Mailing List Sender = Mark Galbreath Subject = RE: Stupid email filters [WAS: DAO - DTO business object to view beans] Delivery Time = August 20, 2002 (Tuesday) 13:35:22 Policy

RE: separating status messages and error messages-Getting the des ign right.

2002-08-20 Thread Galbreath, Mark
Simply for code readability - we have HTML people who would be confused running into a trinary operator. Good refactoring, though! Mark -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 1:49 PM I don't understand the need for the boolean err =

RE: How to put things in the ServletContext

2002-08-20 Thread Craig R. McClanahan
On Tue, 20 Aug 2002, Robert Taylor wrote: Date: Tue, 20 Aug 2002 05:33:09 -0400 From: Robert Taylor [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: How to put things in the ServletContext Adam, take a

Problem with Proxy Pass

2002-08-20 Thread Billy Ng
Hi folks, I use the proxy pass in Apache to translate the url from http://www.myDomian.com:8080/myApp to http://www.myDomian.com In the html:form tag, it looks like, html:form action=/logon.do method=POST ... However, you will notice Struts will add the app name in the action path if you

Cannot create iterator (newbie)

2002-08-20 Thread Silva, Alejandro
Hi! Intro: First of all, I'm new to Struts :) Well, I'm running Struts with Tomcat 3.2.4. I have a Vector as part of an ActionForm then I'm sending this ActionForm to a JSP file and trying to use the Vector to create a select element using the html:select and html:options. But, (there is

RE: How to put things in the ServletContext

2002-08-20 Thread Jonas Bjornerstedt
Given the recent discussion of Struts and connection pooling, it might be a good idea to include a connection pool example as an application. Jonas -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: den 20 augusti 2002 20:24 To: Struts Users Mailing List

RE: Anything terrible happen over the past week?

2002-08-20 Thread James Mitchell
Yes, apparently Mark Galbreath is back from vacation. I don't remember reading that in the release notes ;) James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From:

html:errors/ not displaying message?

2002-08-20 Thread Jerry Jalenak
I'm putting together a very basic, sample application for some training purposes using Struts 1.1b2. In testing the app, I cannot seem to get an error message from an ActionForm to display on the jsp. Can someone see what the heck I'm doing wrong? struts-config.xml ?xml version=1.0

RE: Validating nested:text fields in an iterate block

2002-08-20 Thread Padma Ginnaram
I did not use the nested tag but you should be able to validate indexed fields by specifying indexedProperty and indexedListProperty (the version of the struts validator framework I use never uses the indexedProperty). field property=street indexedProperty=address

RE: html:errors/ not displaying message?

2002-08-20 Thread Kamholz, Keith (corp-staff) USX
For your html:errors/ tag, don't specify the name attribute. Specify the property attribute instead. It would look like: html:errors property=userID / I hope this helps ya out. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Jerry Jalenak [mailto:[EMAIL

RE: iPlanet and Struts 1.02 problem - last try.

2002-08-20 Thread Rajesh Kalluri
Jason, did you deploy this as a web-application if what is the web-app context i dont see you mention that any where in your mail. Rajesh. -Original Message- From: Jason Muse [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 11:28 AM To: [EMAIL PROTECTED] Subject: iPlanet and

RE: html:errors/ not displaying message?

2002-08-20 Thread Jerry Jalenak
OK, should've caught that one. Also had a finger-check in the ActionForm where I'm setting the error message. Fixed 'em both. Now I'm getting a message on the logon.jsp, but it looks like this: ???en_US.error.bad.userid??? I'm guessing it has something to do with

RE: Anything terrible happen over the past week?

2002-08-20 Thread Galbreath, Mark
Yep. I came back from vacation and resubscribed. Mark -Original Message- From: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 2:24 PM I've been out moving for the past week. I can catch up on the full archive over the next week, but has anything terrible been discovered and / or

RE: html:errors/ not displaying message?

2002-08-20 Thread wbchmura
Could just not be finding your properties file... Should be in: /classes/com/labone/Messages/ApplicationResources.properties -Original Message- From: Jerry.Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:02 PM To: struts-user Subject: RE: html:errors/ not

RE: Anything terrible happen over the past week?

2002-08-20 Thread wbchmura
Dare I ask if there is a patch for this? -Original Message- From: Galbreath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:12 PM To: struts-user Subject: RE: Anything terrible happen over the past week? Yep. I came back from vacation and resubscribed. Mark

RE: html:errors/ not displaying message?

2002-08-20 Thread Jerry Jalenak
Checked. it's there. I seem to remember a post sometime ago about having to specify locale= , but can't seem to remember where it needs to be coded. I went to check the archives about an hour ago and couldn't get into 'em. Anybody else remember something about this? Jerry -Original

RE: Anything terrible happen over the past week?

2002-08-20 Thread Galbreath, Mark
Huh? It's a FEATURE! -Original Message- From: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 3:28 PM Dare I ask if there is a patch for this? -Original Message- From: Galbreath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:12 PM Yep. I came back from

RE: html:errors/ not displaying message?

2002-08-20 Thread Sri Sankaran
You mean html:html locale=true ? -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:23 PM To: 'Struts Users Mailing List' Subject: RE: html:errors/ not displaying message? Checked. it's there. I seem to remember a post sometime ago

Master-Detail - design strategy

2002-08-20 Thread marcio . miranda
Hi, I´ve just discovered Struts and I am finding it great. We've developed a framework of our own in my company and now I'm trying to map how to migrate things to Struts. One of the things we have that works great (in terms of productivity) is a class that simply calls a serie of services

RE: html:errors/ not displaying message?

2002-08-20 Thread Kamholz, Keith (corp-staff) USX
Would it go in the message-resources tag in your struts-config.xml? I haven't done it, but i think i remember seeing that on this list. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:23 PM To:

RE: html:errors/ not displaying message?

2002-08-20 Thread Jerry Jalenak
Well, that's just it. I don't remember either, and can't see to find it in the DTD (old age / bad eyes?). I tried Sri's suggestion of using html:html locale=true but it didn't seem to help (I don't usually use the html:html tags). I mean, this is so basic its embarassing, but I can't seem to

RE: html:errors/ not displaying message?

2002-08-20 Thread Kamholz, Keith (corp-staff) USX
The question marks MIGHT be displayed because you don't have errors.prefix or errors.suffix defined. I think the errors tag uses those when you're displaying errors by property. I'm not sure though, so hopefully one of the guru's will chime in and tell us how stupid we are, hahaha. ~ Keith

RE: html:errors/ not displaying message?

2002-08-20 Thread wbchmura
I've never specified locale... I did get the ?en_US**? When it could not find my entry or my entire properties file... -Original Message- From: Jerry.Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:36 PM To: struts-user Subject: RE: html:errors/ not displaying

RE: html:errors/ not displaying message?

2002-08-20 Thread wbchmura
The ?? Show that its not being found - within the ?? is the kjey its looking for... -Original Message- From: kkamholz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:44 PM To: struts-user Subject: RE: html:errors/ not displaying message? The question marks MIGHT be

RE: html:errors/ not displaying message?

2002-08-20 Thread Jerry Jalenak
I agree, it appears that the key is not being found. The ActionForm adds the message like this: errors.add(userID, new ActionError(error.bad.userid)); In my ApplicationResources.properties, I have errors.header= errors.footer= errors.prefix=

iPlanet Web Server 6.0 SP2 and Struts 1.02 Instructions

2002-08-20 Thread Jason Muse
Getting your application to run under iPlanet Web Server 6.0 SP2 Step by Step. *Notice this is just something I type up as I went along to get one little sample application I created to run LOCALLY in iPlanet Web Server 6.0 SP2. I made it a little more generic for posting but basically these are

RE: html:errors/ not displaying message?

2002-08-20 Thread wbchmura
I am not sure how all of that works, but I have a feeling that its okay that way. When I had the problem it was showing the same thing. Are you ABSOLUTELY sure the properties file is named right and is in your classes directory (not in your source if you have one)? Can you put a copy in

Advice Learning Struts

2002-08-20 Thread James . Thomas
Hi, This group is very active which is a good thing. I'd like to familiarize myself with the usage of struts. I have background in Java and JSP etc, I also have access to BEA Weblogic 5.1 currently. Just need a tip as to the best way to get started with them. Any recommendations for a

RE: Advice Learning Struts

2002-08-20 Thread wbchmura
Yes, I love this list... All I did was start small, keep refactoring the first project until you have a lot of best practices going, read everything you can find. of course now there is chucks book on theserverside.com... Sigh... when I was a kid there were no books on struts...

RE: Why html:javascript failed?

2002-08-20 Thread Kwang-Shi Shu
I am running the struts-validator/jsRegistration.jsp from Tomcat 4.0.4 with Struts 1.1-b1 on IE5 from Windows XP. The screen shows the // End -- on the bottom of the page. (I really like to include the screen dump here. However, it was rejected by the mail server.) When I clicked

RE: Advice Learning Struts

2002-08-20 Thread jsadove
There is also Wellington L. S. da Silva's book JSP and Tag LIbraries for Web Development. It has a number of errors in the examples, though, that can make you waste time if you are not first a careful reader of the Struts documentation. Otherwise, there is a wealth of pointers in the Resources

RE: Advice Learning Struts

2002-08-20 Thread Dan Cancro
Get a decent service pack for WL 5.1. I think sp8 is a good one. sp6 is not. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 1:04 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Advice Learning Struts

RE: html:errors/ not displaying message?

2002-08-20 Thread Robert Taylor
Are the following properties in your properties file? errors.header= errors.footer= robert -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:23 PM To: 'Struts Users Mailing List' Subject: RE: html:errors/ not displaying message?

  1   2   >