RE: Compilation Problem. Help!

2003-10-17 Thread Carey Nation
I'm not completely sure here, but I think putting stuff in ext just makes them visible to the jre, not javac. Put -cp yourjar.jar on the javac line (or if you're using Ant, add them to the classpath reference), and see if it helps... I have all the required jar files in the MyApp/WEB-INF/lib dir

Compilation Problem. Help!

2003-10-17 Thread Caroline Jen
I have all the required jar files in the MyApp/WEB-INF/lib directory. Please help me in identifying the problems with compilation: 1. For example, I have the commons-scaffold.jar in my $TOMCAT_HOME/webapps/MyApp/WEB-INF/lib folder. 2. I have the struts.jar in the j2sdk1.4.1_02/jre/lib/ext folder

Re: Using

2003-10-17 Thread Barry Volpe
That worked Thanks Wendy, Barry - Original Message - From: "Wendy Smoak" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, October 17, 2003 2:51 PM Subject: RE: Using Want to replace: > > with > > I put: > <%@ taglib uri="http://java.sun.com/jstl/fm

Re: Deprecating ActionError/ActionErrors

2003-10-17 Thread Saul Q Yuan
- Original Message - From: "Wendy Smoak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 17, 2003 6:42 PM Subject: Deprecating ActionError/ActionErrors > > I don't know if this work is still ongoing, but I notice that > ActionError and ActionErrors are deprecated, yet th

Struts Studio, M7, etc...

2003-10-17 Thread Damm, Gary
Any opinions on these tools? I code my Struts applications (4 successful projects) in Eclipse. I see these tools as a potential timesaver now that I understand the framework. Anyone using them that wants to give feedback?

[ANN] Spring Framework Integration Library

2003-10-17 Thread Don Brown
This project integrates the Spring Framework's Inversion of Control (IoC) into Struts 1.1+. It allows a Struts application to take advantage of IoC with little or no references to Spring. Now, instead of relying on singletons and static factories, Struts actions can have their dependencies automati

RE: repopulating options of when validation fails

2003-10-17 Thread Robert Taylor
set your input attribute value to the action mapping which set's up the page for display. So if you have SetupAction as the action invoked prior to displaying the page which contains the options collection, then you would use it's action mapping as the input for the action which processes the fo

Deprecating ActionError/ActionErrors

2003-10-17 Thread Wendy Smoak
I don't know if this work is still ongoing, but I notice that ActionError and ActionErrors are deprecated, yet the validate method of DynaValidatorForm still returns an ActionErrors object. I looked at the validate method of DynaValidatorForm, and I'm confused. It doesn't seem to do what it says

Re: AW: AW: Looking up the Struts Datasource

2003-10-17 Thread Craig R. McClanahan
Philipp Röthl wrote: That's not really what I would like to do. public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { SomeBean myBean = new SomeBean(); }

RE: repopulating options of when validation fails

2003-10-17 Thread Steve Raeburn
Set your input parameter to the *action* that prepares the page, not directly to the page itself. Steve > -Original Message- > From: Marc Dugger [mailto:[EMAIL PROTECTED] > Sent: October 17, 2003 1:33 PM > To: [EMAIL PROTECTED] > Subject: repopulating options of when validation fails > >

AW: AW: Looking up the Struts Datasource

2003-10-17 Thread Philipp Röthl
That's not really what I would like to do. public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { SomeBean myBean = new SomeBean(); } public clas

RE: Using

2003-10-17 Thread Wendy Smoak
Barry Volpe wrote: > Want to replace: > > with > > I put: > <%@ taglib uri="http://java.sun.com/jstl/fmt"; prefix="fmt" %> > in my jsp. > All I get is > ???view.title??? > What am I missing? I know this one! (Having asked the same thing earlier in the week. ;) In web.xml: javax.serv

Using

2003-10-17 Thread Barry Volpe
Hi, Want to replace: with I put: <%@ taglib uri="http://java.sun.com/jstl/fmt"; prefix="fmt" %> in my jsp. All I get is ???view.title??? What am I missing? Thanks, Barry

Re: [FRIDAY] Free Dog..... (going further OT!)

2003-10-17 Thread Greg Reddin
Andy Engle wrote: It's already bad enough that the Cubs lost. +1. I have never wanted a team to win a baseball game so much in my life. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: repopulating options of when validation fails

2003-10-17 Thread Wendy Smoak
> Can anyone offer a crafty method of reloading a dynamic collection of > into the request scope in case form validation fails and the controller must forward to > the 'input' of the action mapping? Thanks. Is putting them in session scope totally out of the question? I think a bit of cleanup

Re: org.apache.action.struts.*

2003-10-17 Thread Martin Gainty
Thanks for the great advice.. -M - Original Message - From: "Ruth, Brice" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, October 17, 2003 4:39 PM Subject: Re: org.apache.action.struts.* > And even more convenient is the way that you can use Eclipse

O.T. Windward Studios offers free award-winning game for trying Windward Reports

2003-10-17 Thread David Thielen
The Offer Enemy Nations is one of the highest rated award winning Real-Time Strategy games ever created. And you can get a copy for free just by trying Windward Reports. The Game Meet interesting people on the Internet, then build big tanks and show the bastards who's boss! The Battle for the

Re: [FRIDAY] Free Dog..... (going further OT!)

2003-10-17 Thread Andy Engle
You wrote: > Have to do what all people in Southern Climates do when it gets hot > ..Take off ! (You are really going to have to so something about that > Northern work ethic) Yeah... I need to get out of here. Enough for one day. > Cub Fans arent the only people that are disappointed the Sox

Re: org.apache.action.struts.*

2003-10-17 Thread Ruth, Brice
And even more convenient is the way that you can use Eclipse to show all the packages/classes/etc. when you add a library to a project. ;) Andy Engle wrote: "Ruth, Brice" <[EMAIL PROTECTED]> wrote: struts.jar Martin Gainty wrote: Which jar contains org.apache.struts.action.* An

RE: giving headaches

2003-10-17 Thread Sethi, Mandeep
Hi I eventually ended up using the logic:iterate tag and it worked ,thx For anyone who faced similar error ,my code was > |>... thxx everybody Mandeep -Original Message- From: Michael D. Norman [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 10:04 AM To: 'Stru

Re: [FRIDAY] Free Dog..... (going further OT!)

2003-10-17 Thread Martin Gainty
Have to do what all people in Southern Climates do when it gets hot ..Take off ! (You are really going to have to so something about that Northern work ethic) Cub Fans arent the only people that are disappointed the Sox got hammered last nite.. -M - Original Message - From: "Andy Engle"

Re: org.apache.action.struts.*

2003-10-17 Thread Andy Engle
"Ruth, Brice" <[EMAIL PROTECTED]> wrote: > struts.jar > > Martin Gainty wrote: > > >Which jar contains org.apache.struts.action.* Another tip: Sometimes I use WinZip to look at jar files, which will show you all the classes and paths of those classes that are wrapped up in a jar file. Also, yo

RE: ActionMessage groups

2003-10-17 Thread Wendy Smoak
Wiebe de Jong [mailto:[EMAIL PROTECTED] wrote: > I've notices that ActionError will be deprecated in struts 1.2.1. > This may cause me a problem. > Having two separate lists (ActionErrors and ActionMessages) is great because of the > separation of concerns. I can display the Errors in red and the

repopulating options of when validation fails

2003-10-17 Thread Marc Dugger
Can anyone offer a crafty method of reloading a dynamic collection of into the request scope in case form validation fails and the controller must forward to the 'input' of the action mapping? Thanks. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.

Re: HTML encoding of text returned from a bean

2003-10-17 Thread Martin Gainty
Added .\WEB-INF\lib\struts.jar to classpath and that worked .. Thanks, -M - Original Message - From: "Michael D. Norman" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, October 17, 2003 2:15 PM Subject: RE: HTML encoding of text returned from a bean

Re: org.apache.action.struts.*

2003-10-17 Thread Ruth, Brice
struts.jar Martin Gainty wrote: Which jar contains org.apache.struts.action.* Many Thanks, -Martin -- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: tiles-defs.xml and dynamic page titles: how to do?

2003-10-17 Thread Kris Schneider
I've never used Tiles, but one approach would be to put the title in a properties file: parcelsTitle=Consignment Note for {0} Then set up a Tiles attribute to hold the key for the title message. I guess it would look something like: Then create a scoped variable to hold the key (not sur

org.apache.action.struts.*

2003-10-17 Thread Martin Gainty
Which jar contains org.apache.struts.action.* Many Thanks, -Martin

Re: [FRIDAY] Free Dog..... (going further OT!)

2003-10-17 Thread Andy Engle
Sorry to diverge from the already off-topic topic, but this one couldn't go without being shared: It's really hot in the room we work in today. We've been trying to cool it down in here, but I just heard from a co-worker of mine (who heard it from our boss) that the heating and air conditioning i

Writing content to ServletOutputStream from Struts Action

2003-10-17 Thread Pingili, Madhupal
Finally, my Struts application is running in production environment. But, 2 exceptions getting logged in log files everyday. I want to get rid of them. 1. GetDocumentContentAction: * Exception:null com.ibm.servlet.engine.srt.WriteBeyondContentLengthException at com.ibm.servlet.engine.

Localization with Struts/Tiles and URLs

2003-10-17 Thread Ruth, Brice
Greetings, all. I'm looking for some guidance on how best to go about a requirement I have from our marketing as far as URL naming goes. We're developing an international (localized) site and we have a requirement that the URLs look something like this: domain/us/ domain/fr/ domain/de/ etc. No

Re: JSTL evaluate problems

2003-10-17 Thread struts
Thank you Kris! Quoting Kris Schneider <[EMAIL PROTECTED]>: > Here's a quick test page that emulates what it sounds like you want to do. > The > seems to work fine. > > <%@ page contentType="text/plain" %> > <%@ taglib prefix="bean" uri="http://jakarta.apache.org/struts/tags-bean"; > %> > <%@

Re: tiles-defs.xml and dynamic page titles: how to do?

2003-10-17 Thread Kirk Wylie
Have you thought about putting the customer name into request scope in your actions and using some type of expression (perhaps using struts-el or JSTL) to write out the title? So, for example, you'd have something roughly (forgive the fact that I'm not doing it in el): <% pageTitle = "%><%, " +

Re: JSTL evaluate problems

2003-10-17 Thread Kris Schneider
Here's a quick test page that emulates what it sounds like you want to do. The seems to work fine. <%@ page contentType="text/plain" %> <%@ taglib prefix="bean" uri="http://jakarta.apache.org/struts/tags-bean"; %> <%@ taglib prefix="c"uri="http://java.sun.com/jstl/core"; %>

Re: JSTL evaluate problems

2003-10-17 Thread struts
Never mind... that didn't fix it either. property is a property of target, which is another object. Carl Quoting [EMAIL PROTECTED]: > Kris, > > Thanks for your tip. You lead me to the answer. Here is what works: > > > > > > Now, we can all stand around and scratch our heads and say "Duh

Re: JSTL evaluate problems

2003-10-17 Thread struts
Kris, Thanks for your tip. You lead me to the answer. Here is what works: Now, we can all stand around and scratch our heads and say "Duh! Why didn't I think of that?" Setting the person as the property tells JSTL to use person as a bean and allows it to do normal nested queries on nestedP

Re: AW: Looking up the Struts Datasource

2003-10-17 Thread Ben Anderson
you've tried the configuration detailed in the struts faqs? http://jakarta.apache.org/struts/faqs/database.html public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Excep

Re: display struts tag in Deamveaver design view

2003-10-17 Thread Christian Bollmeyer
Am Donnerstag, 16. Oktober 2003 21:07 schrieb Rong Yu: > Hi, > > I have been using struts for our project, but our web design teem is > complaining about not being able to see struts tag in Deamveaver(MX) > design view. So they can not do such simple things as adding items to > a combobox using des

Re: JSTL evaluate problems

2003-10-17 Thread Kris Schneider
Then I don't see how to make it work with JSTL. So, "nestedProp" is a scoped variable containing the nested property you want to access, right? Does this work for you: Unfortunately, I don't think Struts-EL provides a version of or you could also try: Quoting [EMAIL PROTECTED]: > No. The

Re: JSTL evaluate problems

2003-10-17 Thread struts
It doesn't come in seperated. It comes in "name.firstName". Quoting Ben Anderson <[EMAIL PROTECTED]>: > this should work: > > > > > > > > >From: [EMAIL PROTECTED] > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: Struts Users Mailing List <[EMAIL PROTECTED]> > >Subject:

RE: HTML encoding of text returned from a bean

2003-10-17 Thread Michael D. Norman
Scenario 1 works because the JSP parser understands it needs to parse the tags. However, Scenario 2 is simply returning text that will be written to the response. There is no way that I know of to force a container to read dynamically-generated JSP without spitting it out into a JSP file and incl

Re: JSTL evaluate problems

2003-10-17 Thread Ben Anderson
this should work: From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: JSTL evaluate problems Date: Fri, 17 Oct 2003 12:29:44 -0500 No. The variable that is actually nestedProp is populated dynamicall

AW: Looking up the Struts Datasource

2003-10-17 Thread Philipp Röthl
Ben, thanks for your answer. But the DS I would like to get is the Struts DS. The one I defined in the struts-config.xml. When I do the naming lookup as you described I get "javax.naming.NameNotFoundException: Name jdbc is not bound in this Context" Philipp -Ursprüngliche Nachricht

HTML encoding of text returned from a bean

2003-10-17 Thread Chadha, Deepak \(BLM\)
Hi, I have some UI customization that is done based on some data. In order to implement it in a generic, reusable fashion, I am trying to generate the HTML text (including struts tags) in a bean (called FETList below). Scenario1 shown below works. However, Scenario2 is what I am trying to get

RE: for the Apple-biters

2003-10-17 Thread Nguyen, Hien
You're gonna have to wait for a while before Apple can squeeze a G5 to a PB. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 12:59 PM To: Struts Users Mailing List Subject: RE: for the Apple-biters Sure wish I could afford a G5 PowerBook!

Re: JSTL evaluate problems

2003-10-17 Thread struts
No. The variable that is actually nestedProp is populated dynamically. Most of the time it is just a single property name, but from time to time, it needs to be nested. Carl Quoting Kris Schneider <[EMAIL PROTECTED]>: > Are you just trying to shorthand this: > > > > In other words, person.g

Upload a multipart post file to an action, but have a servlet pro cess it?

2003-10-17 Thread Rustad, Aaron
I have a Servlet that accepts a multipart/form-data POST request and extracts the file from it using the commons FileUpload API. I wrote this servlet to allow automated clients to upload data files to my server. Now, I have a requirement to allow users to manually upload files via a web page. To d

Re: JSTL evaluate problems

2003-10-17 Thread Kris Schneider
Are you just trying to shorthand this: In other words, person.getName().getFirstName(). Quoting [EMAIL PROTECTED]: > JSTL is not nesting appropriately. Here is an example of what I am doing: > > > > > > The error that I am getting is: > Unable to find a value for "name.firstName" in obje

Re: How to retrieve messages from default bundle?

2003-10-17 Thread Barry Volpe
Works thanks! - Original Message - From: "Kris Schneider" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, October 17, 2003 10:19 AM Subject: Re: How to retrieve messages from default bundle? > Something like this should work: > > MessageResources re

RE: giving headaches - you need OPTGROUP

2003-10-17 Thread Richard Mixon (qwest)
I believe that what you really are wanting to do is use the "" tag within HTML's "" tag. This allows you to create a two level indented list of categories and subcategories in a select list. Unfortunately Struts does not directly support this. I asked about this a couple of months ago - and got

Re: How to retrieve messages from default bundle?

2003-10-17 Thread Kris Schneider
Something like this should work: MessageResources resources = getResources(request); String msg = resources.getMessage("message.error"); throw new Exception(msg); Quoting Barry Volpe <[EMAIL PROTECTED]>: > Hi, > > Want to expose a message in my action: > > In my action I have: > throw new Exce

RE: for the Apple-biters

2003-10-17 Thread Andy Engle
Mark Galbreath <[EMAIL PROTECTED]> wrote: > Sure wish I could afford a G5 PowerBook!! Me too. Hopefully my side work will pick up and I could pick one up. You have to have the right tool for the job! Andy - To unsubscribe,

RE: for the Apple-biters

2003-10-17 Thread Mark Galbreath
Sure wish I could afford a G5 PowerBook!! -Original Message- From: Nguyen, Hien [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 12:12 PM I'm actually writing my struts application using Eclipse + Tomcat on my PowerBook 17" and Safari for the pages. Its sweet! -Original Mess

How to retrieve messages from default bundle?

2003-10-17 Thread Barry Volpe
Hi, Want to expose a message in my action: In my action I have: throw new Exception("I have an error"); want to use message resource: message.error="I have an error" (in applcation.properties) throw new Exception(message.error); (I know this doesn't work directly) Not sure how to set th

struts-config.xml

2003-10-17 Thread Fabio Oliveira
Hello all, I've just configured the sample tag in the "Blank" application in order to point to an Oracle Database, using the "thin" driver; and I've noticed that it's opened two connections as specified in the "minCount" property. I wonder whether this two connections are pooled ? Can anyone sh

JSTL evaluate problems

2003-10-17 Thread struts
JSTL is not nesting appropriately. Here is an example of what I am doing: The error that I am getting is: Unable to find a value for "name.firstName" in object of class "org.team.Person" using operator "[]" (null) If nestedProp was just firstName (and Person had a firstName property) then th

RE: for the Apple-biters

2003-10-17 Thread Nguyen, Hien
I'm actually writing my struts application using Eclipse + Tomcat on my PowerBook 17" and Safari for the pages. Its sweet! -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 11:57 AM To: struts-wankers Subject: for the Apple-biters ...just

Re: [FRIDAY] Free Dog.....

2003-10-17 Thread Barry Volpe
I've seen some freaky shht but that's freaky!! - Original Message - From: "Mark Galbreath" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, October 17, 2003 9:02 AM Subject: RE: [FRIDAY] Free Dog. > oh man! that's cold! ru related to Andrew

Re: SSLExt and Struts Workflow?

2003-10-17 Thread Tim Shadel
Thanks Matthias, I'm almost positive, the SSL/non-SSL session tracking is taken care in SSLExt of by URL rewriting as necessary. I'll keep an eye out for that as I test out my work. I'll let you know off-list if I have any questions. Thanks! Tim Matthias Bauer wrote: Tim, what you are sayi

RE: [FRIDAY] Free Dog.....

2003-10-17 Thread Mark Galbreath
oh man! that's cold! ru related to Andrew? -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 11:53 AM How did you get a picture of Mark? -Tim -Original Message- From: Shane Mingins [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16,

RE: Need mailing list

2003-10-17 Thread Mark Galbreath
Write your own http://www.mscs.mu.edu/~aricke/Ent2002/Assignment3/listing3-3.html -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 11:03 AM Okay, my fault. Let me rephrase the question. Does anybody know of a good mailing list app that

for the Apple-biters

2003-10-17 Thread Mark Galbreath
...just ran across this URL and thought I'd pass it along FWIW: http://developer.apple.com/internet/java/struts.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [FRIDAY] Free Dog.....

2003-10-17 Thread Chen, Gin
How did you get a picture of Mark? -Tim -Original Message- From: Shane Mingins [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 7:30 PM To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] Free Dog. Ok so no attachments :-( http://fattyco.org/~beck/stephen/Free_Dog.jpg

RE: [FRIDAY] URL O' The Day

2003-10-17 Thread Mark Galbreath
Yep...glad the irony was not wasted! ;-) -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 10:38 AM Nice link ... Sent to us with.. Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) :o) On Friday, October 17, 2003, at 12:58 PM, Mark Galbreath

RE: Need mailing list

2003-10-17 Thread Paananen, Tero
> Okay, my fault. Let me rephrase the question. > > Does anybody know of a good mailing list app that is open > source and written in Java? www.google.com -TPP - To unsubscribe, e-mail: [EMAIL P

RE: giving headaches

2003-10-17 Thread Michael D. Norman
You could do this a couple of ways (thinking out loud here): 1) Do some preprocessing and build a list of all the objects, but I guess that would only work if your SubCategory class had the same properties for name and ID. 2) Do some preprocessing and add ID/name pairs to a SequenceHashMap (org.a

RE: Need mailing list

2003-10-17 Thread Wiebe de Jong
Okay, my fault. Let me rephrase the question. Does anybody know of a good mailing list app that is open source and written in Java? Wiebe de Jong http://frontierj.blogspot.com -Original Message- From: Paananen, Tero [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 7:46 AM To: '

Re: [FRIDAY] Free Dog.....

2003-10-17 Thread Julie . Huang
where is the picture? Julie Member of HSUS "Martin Gainty" <[EMAIL PROTECTED]> 10/16/03 07:33 PM Please respond to "Struts Users Mailing List" To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject:Re: [FRIDAY] Free Dog. Ditch the wife K

RE: Need mailing list

2003-10-17 Thread Paananen, Tero
> Do you have bookmarks for any open source mailing lists > written in Java? http://www.google.com/search?q=Open+Source+Java+%22mailing+list%22 Come'on people... -TPP - To unsubscribe, e-mail: [

Need mailing list

2003-10-17 Thread Wiebe de Jong
Do you have bookmarks for any open source mailing lists written in Java? Wiebe de Jong http://frontierj.blogspot.com -Original Message- From: Koni Roth [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 2:15 AM To: Struts Users Mailing List Subject: Re: need calendar (maybe popup

giving headaches

2003-10-17 Thread Sethi, Mandeep
Hi Everyone I'm working on displaying a collection using . I'm our case we have a collection of value objects in session scope ,so for e.g in our case we have a collection of Category in session scope ,Which further has a collection of subCategory and I need to display them in a select list in

Re: [FRIDAY] URL O' The Day

2003-10-17 Thread Mark Lowe
Nice link ... Sent to us with.. Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) :o) On Friday, October 17, 2003, at 12:58 PM, Mark Galbreath wrote: http://www.kmfms.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

ActionMessage groups

2003-10-17 Thread Wiebe de Jong
I've notices that ActionError will be deprecated in struts 1.2.1. This may cause me a problem. Having two separate lists (ActionErrors and ActionMessages) is great because of the separation of concerns. I can display the Errors in red and the Messages in green. When there is only one list, how wil

Re: Looking up the Struts Datasource

2003-10-17 Thread Ben Anderson
It depends on the container as to how you put the datasource into the context. If you're using Tomcat 4.1: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html Then to access the datasource: String dsName = "java:comp/env/jdbc/myDS"; ctx = new InitialC

RE: Help setting up sslext

2003-10-17 Thread Brian McSweeney
Hi Adam, thanks for the help. I've put in the change in the action-mappings in the struts-config.xml file but the problem is, ssl doesn't seem to be switching at all. The action runs in https when I say it should, but all other actions then continue to run in https. I was under the impression

Looking up the Struts Datasource

2003-10-17 Thread Philipp Röthl
Hi, I've implemented a struts application that uses JavaBeans which perform the whole business logic. These beans access an Oracle DB. The datasource is passed from the action classes to the bean classes as a parameter. Now I have to implement a WebService that does the same as the Struts Appli

Re: [newbie] JSTL using different ResourceBundles

2003-10-17 Thread Adam Hardy
On 10/17/2003 02:17 PM Kris Schneider wrote: One approach you could take would be to create your set of alternate LocalizationContext instances at application startup and store them in application scope: ResourceBundle countriesBundle = ResourceBundle.getBundle("countries", locale); LocalizationCo

Re: [newbie] JSTL using different ResourceBundles

2003-10-17 Thread Adam Hardy
On 10/17/2003 12:16 PM Christian Martin wrote: .in struts-config.xml then i want to print out messsages in the jsp. what is the correct value for parameter bundle? but as i expected JSTL can't find the messages. ???message.test??? appears in the browser. The ${countries} and ${st

Re: [newbie] JSTL using different ResourceBundles

2003-10-17 Thread Kris Schneider
One approach you could take would be to create your set of alternate LocalizationContext instances at application startup and store them in application scope: ResourceBundle countriesBundle = ResourceBundle.getBundle("countries", locale); LocalizationContext countriesCtx = new LocalizationContext

[FRIDAY] URL O' The Day

2003-10-17 Thread Mark Galbreath
http://www.kmfms.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

upload of large files

2003-10-17 Thread Alessio
Hello everybody, I'm facing a problem that I think all of you know very well. I have to permit the upload of large files, my application interacts with an EJB module that persist the file. I'm currently using struts upload but in this way the file is keeping in memory in a form bean. With large fil

RE: [FRIDAY] Free Dog.....

2003-10-17 Thread Mark Galbreath
+1 -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 7:34 PM Ditch the wife Keep the dog.. -M - Original Message - From: "Shane Mingins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> > > A mate of mine is looking for a good home for

RE: [FRIDAY] Free Dog.....

2003-10-17 Thread Mark Galbreath
Looks prime to me...can it be shipped live? Mark, member, PETA (People for the Eating of Tasty Animals) -Original Message- From: Shane Mingins [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 7:28 PM To: '[EMAIL PROTECTED]' Subject: [FRIDAY] Free Dog. Hi A mate of mine is

RE: Logic Iterate

2003-10-17 Thread Khalid Umar
Probably check if you are setting the collection properly in the formbean. -Original Message- From: Thakur, Vikram [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 4:31 PM To: 'Struts Users Mailing List' Subject: RE: Logic Iterate My Form Bean is configured properly and It doe

RE: Logic Iterate

2003-10-17 Thread Thakur, Vikram
My Form Bean is configured properly and It does contain values. The only thing that I am not understanding is , why is struts looking for the bean with name as "managers". I get this error , Cannot find bean managers in any scope. Thanks, Vikram -Original Message- From: Khalid Umar [mail

Re: struts-el and messages

2003-10-17 Thread Chris Searle
> "Chris" == Chris Searle <[EMAIL PROTECTED]> writes: > And the message code JSP: > id="message" message="true"> value="${messsge}"/> > > Nothing displays. Sent that a bit too fast. Think that : would benefit by being: :-) -- Chris Searle [EMAIL PROTECTED]

Re: Logic Iterate

2003-10-17 Thread Mark Lowe
The id is the name of whatever you want to call each object thats being spat out during the iteration. Have a play with this in a jsp page to get used to the tags. And then you can move the scriptlet out when your a bit more familiar with stuff. <% java.util.Map mapOne = new java.util.HashMap()

RE: Logic Iterate

2003-10-17 Thread Khalid Umar
If it is collection of Strings only then you can write the collection on page using itself. There is No need to provide "property" attribute. property attribute is required if you have collection of objects. Check the name of Formbean name="NewCategoryConfirm". Should be from struts-config.xml

Re: struts-el and messages

2003-10-17 Thread Chris Searle
> "Steve" == Steve Raeburn <[EMAIL PROTECTED]> writes: > The nightly build has a method that allows you to store > messages in the session. They are automatically removed > after being displayed. > Action: protected void saveMessages(HttpSession session, > ActionMessages

RE: Logic Iterate

2003-10-17 Thread Ramesh Kannery
may be ur collection may be empty or null check ur collection object whether its contains anything?? -Original Message- From: Thakur, Vikram [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 4:09 PM To: 'Struts Users Mailing List' Subject: RE: Logic Iterate No, It does not work. I

RE: Logic Iterate

2003-10-17 Thread Thakur, Vikram
No, It does not work. It says , Cannot find bean managers in any scope. Thanks anywayz. -Original Message- From: Ramesh Kannery [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 3:55 PM To: Struts Users Mailing List Subject: RE: Logic Iterate

RE: Logic Iterate

2003-10-17 Thread Ramesh Kannery
try this -Original Message- From: Thakur, Vikram [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 3:57 PM To: Struts (E-mail) Subject: Logic Iterate Hi , Can anyone help me with this iterate Tag ?

Logic Iterate

2003-10-17 Thread Thakur, Vikram
Hi , Can anyone help me with this iterate Tag ? the categoryManagers property returns a Collection os Strings I want to print all the values in the collection on screen. Is it possible usingor there any alternatives. Thanks, Vikra

[newbie] JSTL using different ResourceBundles

2003-10-17 Thread Christian Martin
i searched the archive and found a solution to set a LocalizationContext in "back-end" java code. therefore i don't have to set the bundle in the JSP. ResourceBundle bundle = ResourceBundle.getBundle("ApplicationResources", locale); LocalizationContext ctx = new LocalizationContext(bundle); C

Re: validation

2003-10-17 Thread Adam Hardy
That's what you should do. I suggest it's easier adding the getters and setters than any other solution. Under normal circumstances the form-bean won't cause any disadvantages just because of the extra properties. On 10/17/2003 11:47 AM struts wrote: duplication and rename it is not working bec

Re: validation

2003-10-17 Thread struts
duplication and rename it is not working because then I need to create getter and setter methods. It should be a dummy field and the validator does the work... Idea ? - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Frid

Re: validation

2003-10-17 Thread Adam Hardy
On 10/17/2003 10:12 AM [EMAIL PROTECTED] wrote: Question: Is there an easy way to create a dummy field for 'retype pasword' ? And is it possible to validate this retype 'password field' with the validator plugin ? If so how ? Thanks ! Yes it's easy. Just duplicate the code for the password field,

Re: struts-el and messages

2003-10-17 Thread Adam Hardy
On 10/17/2003 10:43 AM Chris Searle wrote: "Chris" == Chris Searle <[EMAIL PROTECTED]> writes: > Had the problem with using the html:messages with struts-el > from the 1.1RC1 build (NullPointerException) - so I've just > upgraded to 1.1 (thought I'd already done so). > Now - I get

Re: struts-el and messages

2003-10-17 Thread Adam Hardy
Chris, This works for me: <%=org.apache.struts.action.ActionErrors.GLOBAL_ERROR %> I think by default your messages tag is not showing errors. That's what the 'property' attribute is for. Also, although I've forgotten the details - I think that message="true" means that it will pick up

RE: struts-el and messages

2003-10-17 Thread Steve Raeburn
The nightly build has a method that allows you to store messages in the session. They are automatically removed after being displayed. Action: protected void saveMessages(HttpSession session, ActionMessages messages) Steve > -Original Message- > From: Chris Searle [mailto:[EMAIL PROT

  1   2   >