Re: Reading Date

2003-02-27 Thread Rick Reumann
On Fri, Feb 28,'03 (11:36 AM GMT+0530), varma wrote: > I Declared Timestamp obj in my bean to store the date, it is giving > IllegalArugumentException in jsp, when i'm trying to get it from jsp > using It's ok if you have a business object has a Timestamp field, but your form bean's should be

Results in multiple pages

2003-02-27 Thread Konstantina Stamopoulou
Hello, I have the following problem and I'm not sure how I can solve it. The resultset returned from a query I'm making to the database has many records. What I want to do is to display each time 10 of these records in my page. How can i do this? I have searched the archive but I couldn't find any

Re: re:combining two form bean in one form

2003-02-27 Thread Samit Goyal
BlankI think that's not possible. you'll have to define an action for calling that JSP. and eah action can have only form bean associated to that. and that bean only will be available to your JSP. so only one bean can be made available to the JSP by struts! Please correct me if i m wrong!

STRUTS With TORQUE

2003-02-27 Thread Dan Allen
> We are rewriting an entire swing application and we have > chosen Struts for > the new web version of the product. > > For the database handling part, we are planning to use > Torque. Does anyone > have experience working with Struts / Torque or have > Information especially > on what can go

deploy with ant, best practices

2003-02-27 Thread Dan Allen
I have been studying ant very thoroughly over the past two days, and I completely understand the file from top to bottom, including how to reload the application using the tag imported from org.apache.catalina.ant.ReloadTask. However, I am stuck on an issue. Assuming that I follow the techniques

Re: re:combining two form bean in one form

2003-02-27 Thread Chetan Sahasrabudhe
Blankyep on submit u will have both form beans populated now the problem is action if u have separate action classes defined for these beans then u can call both of them u gotta define third action and use these beans in them. by pulling them from request - Original Message - From: Ric

handling array using jstl or struts

2003-02-27 Thread shashi_struts
Hi I am working on a form in which some default value must be set over the form. I have a bean in which a array value abc{"OR","AND"}; and his index value { "O","A"} and a default value "O". In the form i want to set this in the in this form OR AND I tried and getting the result using scriptl

Re: re:combining two form bean in one form

2003-02-27 Thread Richard Raquepo
well what im trying to ask is this:   assuming i have two form-bean definition in my struts config example namely: personInfoForm and contactInfoForm   what im trying to ask if it's possible for the two to exist in one html form. i mean i will be entering the information in the two form-bean on

Re: Reading Date

2003-02-27 Thread Rick Reumann
On Fri, Feb 28,'03 (11:36 AM GMT+0530), varma wrote: > I Declared Timestamp obj in my bean to store the date, it is giving > IllegalArugumentException in jsp, when i'm trying to get it from jsp > using It's ok if you have a business object has a Timestamp field, but your form bean's should be

RE: indexed property

2003-02-27 Thread Mohan Radhakrishnan
Hi, I was just trying to prevent dates being reset in a textbox. Since my form attributes were all String[] I use public String getStartDateIndexed( int index ) { return ( startDate_[ index ] ); } and then I use mailto:[EMAIL PROTECTED] Sent: Friday, Februa

RE: Is struts-config too verbose?

2003-02-27 Thread Jacob Hookom
Mark Wrote: The problem i see here is, this contact form will always be processed by the same action servlet, and forwarded to the same forward. What If I had several different scenarios that needed to edit/view the contact data, maybe even Different contact data such as User Contact, Customer Con

Re: Is struts-config too verbose?

2003-02-27 Thread Mark
Ah! Answer a question with a question, I like that ;) I believe its just a matter of setting up additional forwards. I'll play around a bit with it. Thanks for the tips, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Reading Date

2003-02-27 Thread Chetan Sahasrabudhe
Varma: two this, what timestamp r u using ? if itz java.sql.timestamp please mention this property in ur formbean declaration in struts-config.xml if u do this, jsp parsing will know what type of data is stored and what class to use to typecase it to and appy

Re: one more prepopulate question

2003-02-27 Thread Rick Reumann
On Wed, Feb 26,'03 (06:51 PM GMT-0600), Dan wrote: > I know that the prepopulate question has been beaten into the ground > around here and the answer on the FAQ page is complete in answering > most questions I have about the concept. But I just want to run > something by this list, see if I am

Re: Reading Date

2003-02-27 Thread varma dvk
I Declared Timestamp obj in my bean to store the date, it is giving IllegalArugumentException in jsp, when i'm trying to get it from jsp using Cheers Varma From: Rick Reumann <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[

1.1rc1 Error: Path index.jsp does not start with a "/" character

2003-02-27 Thread Affan Qureshi
I have been using Struts 1.1b2 and tiles in my application and have defined forwards like: where forward paths were JSP pages, whithout the starting "/" for paths and it worked ok. But this does not work when I installed Strut 1.1rc1 coz it gave the exception: java.lang.IllegalArgumentExceptio

[update] nested tags...

2003-02-27 Thread Arron Bates
Peoples, Important changes just committed into CVS for the nested tags. 1) Copyright date in the header license is updated to include 2003! 2) The internal changes to get them dancing with Tomcat 4.1.18 & more. For those too lazy to get the entire distrib of the next nightly, you can get just th

changing ApplicationResources.properties runtime

2003-02-27 Thread Arunachalam Jaisankar
Hi All, I've a column "lastJDBCError.value" in ApplicationResources.Properties file. And I want to change the value of that column in run time, i mean whenever I get an SQL Exception I want to fill "lastJDBCError.value" with that Exception. Is it possible to change run time? If yes, kindly let m

combining two form bean in one form

2003-02-27 Thread Richard Raquepo
is this possible? to have the inputs of the two beans in one html? > orig can i combine two formbean? i mean i have a PersonalInfoForm bean and ContactInfoForm bean. can i combine them to in one html? how? thanks in advance...

RE: Is struts-config too verbose?

2003-02-27 Thread John Espey
It seems to me that it is less verbose than a non-Struts alternative (and certainly not as verbose as the original email ;-) seriously though, action mappings don't really define the usage of a form, they define the usage of an Action class. The way you act on that data is what changes from actio

Re: combining two form bean in one form

2003-02-27 Thread Richard Raquepo
i'll be having the inputs of the tow formbean in one html? that's what i need... - Original Message - From: "Chetan Sahasrabudhe" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, February 28, 2003 1:19 PM Subject: Re: combining two form bean in one for

Re: combining two form bean in one form

2003-02-27 Thread Chetan Sahasrabudhe
write two different jsps for both form bean later write third one and include the previous two in that :) - Original Message - From: "Richard Raquepo" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, February 28, 2003 10:49 AM Subject: combining two fo

combining two form bean in one form

2003-02-27 Thread Richard Raquepo
can i combine two formbean? i mean i have a PersonalInfoForm bean and ContactInfoForm bean. can i combine them to in one html? how? thanks in advance...

Re: logic:iterate examples plz.

2003-02-27 Thread shashi_struts
Hi James You r doing same i has been done in my program. But the problem if i go for display it will show the one --- Pahwa shashi bhushan Dua sunil kumar -- and it skip the value 'vijay kumar' from the index 0 of hashtable and index 1 of arraylist i think u carry my point plz help me

one more prepopulate question

2003-02-27 Thread Dan Allen
I know that the prepopulate question has been beaten into the ground around here and the answer on the FAQ page is complete in answering most questions I have about the concept. But I just want to run something by this list, see if I am going about it in the right way. When you are designing an a

STRUTS with TORQUE

2003-02-27 Thread Petrus, Christian (CORP, GEITC)
Hello All, Thanks for all the help in this list. We are rewriting an entire swing application and we have chosen Struts for the new web version of the product. For the database handling part, we are planning to use Torque. Does anyone have experience working with Struts / Torqu

Re: Session Problems

2003-02-27 Thread ashokd
Hi, Write another get/set method is PersonForm() which returns/sets ArrayList. This method will return addresses ArrayList. By using getNewMethod(), get the ArrayList and Add to this. I think you no need to setNewMethod() once again. because it will pass by reference. Even though you check once.

Re: Is struts-config too verbose?

2003-02-27 Thread David Graham
How would you like it to work? David From: "Mark" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Is struts-config too verbose? Date: Thu, 27 Feb 2003 22:04:11 -0600 Well, I left out a piece What I had a problem with was the verb

Re: Is struts-config too verbose?

2003-02-27 Thread ashokd
Hi Mark, What is your contact.Saved action mapping ? In forward don't give another action, simply give some jsp page. If we need pre processing before loading the page then only you give to another action for forward. Thanks & Regards, Ashok.D - Original Message - From: "Mark" <[EMAIL PR

Re: Is struts-config too verbose?

2003-02-27 Thread Mark
Well, I left out a piece What I had a problem with was the verbosity of struts-config.xml For every instance of the form, i have to have a seperate, and almost otherwise duplicate mapping. To me, this is redundant... *** REPLY SEPARATOR *** On 02/27/2003 at 9:59 PM Mark wro

Re: Is struts-config too verbose?

2003-02-27 Thread David Graham
There's no rule that says you can only use a form bean with one action. You can define many actions that use the same type of form bean. Also, you don't need to provide the name attribute for the tag because it generates one for you. David From: "Mark" <[EMAIL PROTECTED]> Reply-To: "Strut

RE: indexed property

2003-02-27 Thread Mark
I thought because Struts uses BeanUtils that it would have been able to figure this out for you byusing You cant do this: because struts treats whatever is in the value parameter as a literal, and does not perform a lookup. Because the TextTag uses RequestUtils.Lookup method to lookup the

Re: More Than Form On A JSP

2003-02-27 Thread Mark
I have found that I needed to do this: MapActionForm myForm=(MapActionForm)actionForm; request.setAttribute("mapForm",myForm); to get this to work. I dont know why, but my form loses visibility like yours. the above seemed to rectify the situation. There is a nify Pager component

Is struts-config too verbose?

2003-02-27 Thread Mark
Looking at struts-config i see an inflexible application skeleton that makes it hard for me to do somethings, or maybe I dont know how the Struts way is...Can someone enlighten me please? I have a Contact form. I want to be able to reuse this contact form, which has standard information such a

Re: Reading Date

2003-02-27 Thread Rick Reumann
On Fri, Feb 28,'03 (09:20 AM GMT+0530), varma wrote: > Hi All >How can i read a date from the jsp using struts, i defined date >variable > of type timestamp. it is throwing exception... What do you mean "read a date from the jsp" and what exception is it throwing? Are you getting an err

Reading Date

2003-02-27 Thread varma dvk
Hi All How can i read a date from the jsp using struts, i defined date variable of type timestamp. it is throwing exception... thanks varma _ Cricket World Cup 2003- News, Views and Match Reports. http://server1.msn.co.in/msnspeci

RE: error in my html:select tag

2003-02-27 Thread James Mitchell
No, use a defined bean. "> -- James Mitchell Web Developer/Struts Evangelist http://www.microsoft.com/struts/ > -Original Message- > From: Richard Raquepo [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 10:18 PM > To: Struts Users Mailing List > Subject: error in

Re: error in my html:select tag

2003-02-27 Thread David Graham
You can't use a custom tag as the value of another tag's attribute. David From: "Richard Raquepo" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: error in my html:select tag Date: Fri, 28 Feb 2003 11:18:1

error in my html:select tag

2003-02-27 Thread Richard Raquepo
i have this code in my jsp :53 ')"> but i get this error: [ServletException in:/manager/addtm-body.jsp] /manager/addtm-body.jsp:53: expected `>' at ``"'' (for tag `' at line 53). The XML tag syntax is: ' can't i combine a bean:write in a html:select tag? thanks

RE: Session Problems

2003-02-27 Thread Sri Sankaran
Is the addAddress() method of your PersonForm simply a cover for the ArrayList's add method? In other words, is it simply doing addresses.add(object-to-add)? Can you test the size of the list in the getter to see if data is indeed being clobbered? Sri -Original Message- From: Jonathan

RE: do to put onChange on a html:select tag

2003-02-27 Thread Karr, David
You just do it :) . Look over the Struts User Guide, including the API pages. In the "select" tag, you'll see an "onchange" attribute. > -Original Message- > From: Richard Raquepo [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 4:54 PM > To: Struts Users Mailing List > Subj

do to put onChange on a html:select tag

2003-02-27 Thread Richard Raquepo
how do i put a onChange function in a html:select tag? help anyone? many thanks in advance...

RE: Nested:Checkbox

2003-02-27 Thread Chen, Gin
Thanks Arron. For whatever reason removing the name did help a bit (but only enough to get the page to display) I dont know why that was the case since I used the name attribute before and it worked fine (pre b3 struts). I found the cause of my other error though. It was a scoping issue. I had the

RE: Session Problems

2003-02-27 Thread Jonathan
Umm in my constructor in the actionform I have: public PersonForm() { address = new Address(20); } -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: 27 February 2003 18:57 To: 'Struts Users Mailing List' Subject: RE: Session Probl

RE: Session Problems

2003-02-27 Thread Jonathan
The form bean is simply a standard action form, when its created It simply does the following in the constructor public PersonForm() { addresses = new ArrayList(20); } To get the addresses and iterate through them I simply have: /** * Get Addre

Re: [Q] any ways to know which control was changed in Action class?

2003-02-27 Thread atta ur rehman
A hidden field, maybe as a form proerty, that your javascript would set to appropriate value before the submit() call. ATTA - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 3:11 PM Subject: [Q] any ways to know which control was ch

RE: [Q] any ways to know which control was changed in Action class?

2003-02-27 Thread James Mitchell
Set a hidden field that will update your form ... ... ... "> ... ... -- James Mitchell Web Developer/Struts Evangelist http://www.microsoft.com/struts/ > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 6:11 PM > To: [EMAIL PR

[Q] any ways to know which control was changed in Action class?

2003-02-27 Thread michael . korolyov
Hello, the JSP has several drop downs, each one has "onchange=submit()" how I can know which one was changed in my Action class? tnx Best Regards. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: struts & Content Management System

2003-02-27 Thread Vic Cekvenich
http://jakarta.apache.org/struts/resources/examples.html has a link to a portal w/CMS .V rajiv ahuja wrote: Hi Is there an open source CMS around that works well with struts? I am working on a intranet web application (using struts) that allows designers to create the content , managers to appro

RE: A new Struts book ....

2003-02-27 Thread Emmanuel Boudrant
ary 2003 9:31 AM > To: [EMAIL PROTECTED] > Subject: A new Struts book > > > I think you can add a new Struts book in Struts ressources page : > > http://blogs.application-servers.com/blogs/page/eboudrant/20030227 > > -emmanuel > >

Re: A new Struts book ....

2003-02-27 Thread Ivan N. Zhidov
Subject: A new Struts book I think you can add a new Struts book in Struts ressources page : http://blogs.application-servers.com/blogs/page/eboudrant/20030227 -emmanuel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en

RE: is Component a reserved word?

2003-02-27 Thread Damm, Gary
I had a similar problem but with a method "getItems()". My application is using a tag mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 2:24 PM To: Struts Users Mailing List Subject: Re: is Component a reserved word? On the note of introspection, is there any push to make accomodations

RE: A new Struts book ....

2003-02-27 Thread Todd Pierce
ressources page : http://blogs.application-servers.com/blogs/page/eboudrant/20030227 -emmanuel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com

Re: Comparison Tags in STRUTS 1.0.2

2003-02-27 Thread David Graham
The right way to do this is to use the JSTL's empty keyword in an EL statement. ... David From: "Jana Navaneethan" <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Comparison Tags in STRUTS 1.0.2 Date: Thu, 27 Feb 2003 17:28:57 -05

A new Struts book ....

2003-02-27 Thread Emmanuel Boudrant
I think you can add a new Struts book in Struts ressources page : http://blogs.application-servers.com/blogs/page/eboudrant/20030227 -emmanuel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http

Comparison Tags in STRUTS 1.0.2

2003-02-27 Thread Jana Navaneethan
Hi, I am currently using STRUTS 1.0.2, In my JSP I need to check for null and empty (String and Collection) before I display the values. I know there is a tag in 1.1 but what about 1.0.2? What is the work around for this except using scriptlets in JSP? Please let me know the right way of doing

Re: is Component a reserved word?

2003-02-27 Thread Jacob J. Hookom
On the note of introspection, is there any push to make accomodations via Proxy to allow DynaBeans to work with JSTL? It wouldn't be hard at all to add it to BeanUtils. Object proxyObject = ProxyBeanUtils.createProxyObject(DynaBean, Class); Collection proxyCollection = ProxyBeanUtils.createPro

RE: is Component a reserved word?

2003-02-27 Thread Craig R. McClanahan
On Thu, 27 Feb 2003, Chen, Gin wrote: > > Bug in java's introspector?? > No way.. java has no bugs. o.O > You *know* the answer to this one! It's not a bug, it's a feature! Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] F

idName and

2003-02-27 Thread Jaye Bass
Vitals: OS = XP JDK=1.4.1 Struts = 1.1b3 Container = Resin 2.1.6 and Resin 3.0.0 beta The idName attribute based method is not working properly for me. But first consider the following snippet from my jsp page. This works absolutely perfectly...no problems...

RE: Tiles - Stop from logging

2003-02-27 Thread Rieberger, Dale
Need an example of a commons-logging.properties and log4j.properties files. -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 11:20 AM To: 'Struts Users Mailing List' Subject: RE: Tiles - Stop from logging Look for a log4j file (probably in xm

RE: is Component a reserved word?

2003-02-27 Thread Chen, Gin
Bug in java's introspector?? No way.. java has no bugs. o.O -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 4:46 PM To: Struts Users Mailing List Subject: Re: is Component a reserved word? On Thu, 27 Feb 2003, John Thorhauer wrot

Re: is Component a reserved word?

2003-02-27 Thread Craig R. McClanahan
On Thu, 27 Feb 2003, John Thorhauer wrote: > Date: 27 Feb 2003 16:03:06 -0500 > From: John Thorhauer <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: is Component a reserved word? > > OK. Thanks for

RE: [OT] DBCP Pool Closed connection problem

2003-02-27 Thread Gaurav . Goyal
Thats what i've been thinking. after we obtain results in a resultset and before we start iterating through it, the original connection is somehow getting closed. it could be because some other user has a reference to the same connection. but i'm not sure how that can happen. all connections are l

RE: [OT] DBCP Pool Closed connection problem

2003-02-27 Thread Phillip Qin
Would it be a multi-threading problem, another user moves cursor to next row of the ResultSet? Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: February 27, 2003

RE: [OT] DBCP Pool Closed connection problem

2003-02-27 Thread Gaurav . Goyal
Thanks for the replies. How can turn on the validation which checks for a good connection before returning. I guess i need to setTestOnBorrow(true). Do I need to do any thing else? We actually have automated JTest which checks for all closed connections. So that's what makes me certain that connec

Re: Wanted: struts-calendar

2003-02-27 Thread Sundar Narasimhan
HI, David: I've used Lea Smart's java script totallysmartit.com calendar hacked a bit (wrt. colors, clip rectangles and so forth) and would recommend it. Hope that helps. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

RE: Wanted: struts-calendar

2003-02-27 Thread David Bolsover
cool thnx > -Original Message- > From: Raible, Matt [mailto:[EMAIL PROTECTED] > Sent: 27 February 2003 20:14 > To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]' > Subject: RE: Wanted: struts-calendar > > > #2 on this page is my favorite: > > http://www.mattkruse.com/javascript/calen

Re: [Q] Form doesn't keep options list ... JSP has no list

2003-02-27 Thread Rick Reumann
On Thu, 27 Feb 2003 15:41:05 -0500 [EMAIL PROTECTED] wrote: > Hello, > > on JSP I have: > > dropdown selection: > > styleClass="smallFont" > > > > > and input field that I need validate in my reportForm (on server) > > the reportForm has all fields that are filled by Action class. > and J

Re: DynaValidatorActionForm

2003-02-27 Thread Dave Newton
Rick Reumann wrote: > Sloan Seaman wrote: >> For my edit page, how do I populate a bean for the edit page to use >> to populate the fields? From what I've been reading it seems like I >> don't ahve to write a form class anymore because of the >> DynaActionForm stuff, but I'm a bit confused. > I li

RE: [OT] DBCP Pool Closed connection problem

2003-02-27 Thread Phillip Qin
I had similar problem before. I read the first row in the ResultSet and accidentally put a ; so I was actually at the end of the ResultSet and I was trying to read from next row. That's exhausted! Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing"

Commons Version with Struts in WSAD 5

2003-02-27 Thread Tim T. Young
Does anyone know what version of Commons is with Struts 1.1b2 in WSAD 5? Or what version of Commons Validator was distributed with Struts 1.1b2 in general? I read the release notes for 1.1b2 and while they mention using commons they do not specify versions. Thanks, Tim ---

struts, tomcat, and log4j

2003-02-27 Thread Kirby Vandivort
So, I'm running 1.1rc of struts, tomcat 4.1.18, and I just downloaded log4j 1.2.8. I have a struts webapp in development, and I currently have all of the struts-required commons-*.jar files in WEB-INF/lib, and I dropped log4j-1.2.8.jar there also. After deployment, at random times, tomcat now han

RE: STRUTS INTERNATIONALIZATION

2003-02-27 Thread James Mitchell
If I undertand you correctly, that's what PropertyMessageResources does. For example, say you've got a server in France serving international users A request comes in and you code looks calls a resource "my.message" It will look under the current users locale (say UK), it would recursively look i

RE: STRUTS INTERNATIONALIZATION

2003-02-27 Thread James Childers
>From http://developer.java.sun.com/developer/technicalArticles/Intl/ResourceBundles/ [-- Begin quote --] The getBundle method provides a graceful degradation algorithm that attempts to find the nearest matched bundle in cases where the specified bundle can't be found or doesn't exist. In the fo

Re: is Component a reserved word?

2003-02-27 Thread John Thorhauer
OK. Thanks for the heads up. I changed my class to Komponent and it works fine now. Man that was a pain in th butt to figure out. Oh well, on to more fun with struts. Thanks for the help, John On Thu, 2003-02-27 at 15:55, Robert McIntosh wrote: > I've had this same problem in the past, and I

RE: [OT] DBCP Pool Closed connection problem

2003-02-27 Thread Miller, Jason
I had this problem once. At the time, I was positive everything was closed correctly, but it turned out at one point, where I was unwrapping the connection, I had closed it. This inadvertently caused the pool to be exhausted. This occurred before I had a quality check on my connections, so it di

RE: is Component a reserved word?

2003-02-27 Thread Andy Kriger
java.awt.Component would be looked for first (since it is part of the bootclasspath) - you'd need a way to tell the reflection what class comp2 is. you might have to workaround this with a scriplet instead of the ${comp2.name} -Original Message- From: Derek Richardson [mailto:[EMAIL PROTEC

Re: is Component a reserved word?

2003-02-27 Thread Robert McIntosh
I've had this same problem in the past, and I agree with your coworker. I had to change a class from '...Component' to something else. - Robert Derek Richardson wrote: A coworker claims this is a bug in reflection when used to introspect any class called "Component" - it always thinks it's java

Re: [Q] Revisiting: Repopulating Lists after validation returns false

2003-02-27 Thread Jeff_Mychasiw
We still keep static lists in various scopes, but all of our pages are pre populated with back end data so I needed a way to turn that off. I found that this also helped me when I needed to add stuff like a "clear" link that would reload previously saved data. Rick Reumann <[EMAIL PROTECT

STRUTS INTERNATIONALIZATION

2003-02-27 Thread scarter
Is there a way in struts to maintain a default application resources file that can be referred to in the event that a requested resource is not found in another resource file. For example, it would be nice if I could only define specific resources in each locale specific resource file, instead of

[OT] DBCP Pool Closed connection problem

2003-02-27 Thread Gaurav . Goyal
Hi, I'm using commons DBCP in conjuction with STRUTS. When a lot of users start using our application, we start getting a lot of exceptions related to Connections, like "Exhausted Resultset" or "Connection is Closed". The first one happens when we try to retrieve a column from a re

RE: is Component a reserved word?

2003-02-27 Thread Derek Richardson
A coworker claims this is a bug in reflection when used to introspect any class called "Component" - it always thinks it's java.awt.Component. YMMV. > -Original Message- > From: Chen, Gin [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 3:38 PM > To: 'Struts Users Mailing Lis

Re: passing parameter between a view and an action with

2003-02-27 Thread alexj
I solve my problem (I've forgot to add the type and name of the ActionForm on the edit view page) -- Alexandre Jaquet - Original Message - From: "alexj" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 9:25 PM Subject: Re: passing pa

Re: [Q] Revisiting: Repopulating Lists after validation returnsfalse

2003-02-27 Thread Rick Reumann
On Thu, 27 Feb 2003 14:25:51 -0600 [EMAIL PROTECTED] wrote: > > I handle this with mulitple mappings to the same loadAction. > The parameter is used to suppress parts of the load action. Cool idea Jeff! Thanks. I actually thought about just even using one mapping and then just checking for any A

RE: is Component a reserved word?

2003-02-27 Thread Chen, Gin
Will it is in his classpath indirectly it is not in his jsp unless he did a import of it. So it looks like this is another issue. Unless there is a component besides java.awt.Component that I don't know of. -Tim -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED] Sent: Thursday,

[Q] Form doesn't keep options list ... JSP has no list

2003-02-27 Thread michael . korolyov
Hello, on JSP I have: dropdown selection: and input field that I need validate in my reportForm (on server) the reportForm has all fields that are filled by Action class. and JSP display all just fine. but, when I type "wrong" value into input field then reportForm validate returns errors

RE: [Q] Revisiting: Repopulating Lists after validation returns false

2003-02-27 Thread Kris Schneider
I suppose you could keep the collection as a property of the form bean and "serialize" it as a set of hidden inputs. Quoting James Mitchell <[EMAIL PROTECTED]>: > In most cases I've used, putting them in application scope works great. > I know that won't work for a list setup by what role someone

Re: [Q] Revisiting: Repopulating Lists after validation returnsfalse

2003-02-27 Thread Rick Reumann
On Thu, 27 Feb 2003 15:12:37 -0500 "James Mitchell" <[EMAIL PROTECTED]> wrote: > In most cases I've used, putting them in application scope works > great. I know that won't work for a list setup by what role someone > might have or other such case, in those cases I would use session > scope (but I

Re: [Q] Revisiting: Repopulating Lists after validation returns false

2003-02-27 Thread Jeff_Mychasiw
I handle this with mulitple mappings to the same loadAction. The parameter is used to suppress parts of the load action. /crApplicationLoad.do and /crApplicationLoadOnError.do ie: Two possible load mappings: Perform validation on a save >From the load actio

RE: is Component a reserved word?

2003-02-27 Thread Andy Kriger
java.awt.Component is also in your classpath maybe c:out is trying to cast your object as that instead of x.y.z.Component? -Original Message- From: John Thorhauer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 15:18 To: Struts Users Mailing List Subject: is Component a reserve

Re: passing parameter between a view and an action with

2003-02-27 Thread alexj
I just change the to url to href="/ibmss/getstudent.do paramId="name" paramProperty="name"/> and I didn't get any error but I'm still having trouble when I will populate a form with the datas I get from the preceding view. In fact what I want to do is to when a user select a person in my view pag

is Component a reserved word?

2003-02-27 Thread John Thorhauer
Hi, I am not sure if this is a struts, taglib, or jstl issue but I will start here. I am using Struts/JSP's and am running into an error when I try and reference my own object called Component.class with tag. I first load my test objects into the session in the jsp page like this: <% x.y.z.Com

RE: Wanted: struts-calendar

2003-02-27 Thread Raible, Matt
#2 on this page is my favorite: http://www.mattkruse.com/javascript/calendarpopup/ > -Original Message- > From: David Bolsover [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 1:10 PM > To: Struts User > Subject: Wanted: struts-calendar > > > Does anyone know of a good pop-

RE: [Q] Revisiting: Repopulating Lists after validation returns false

2003-02-27 Thread James Mitchell
In most cases I've used, putting them in application scope works great. I know that won't work for a list setup by what role someone might have or other such case, in those cases I would use session scope (but I don't see that much with what I do). -- James Mitchell Web Developer/Struts Evangelis

Wanted: struts-calendar

2003-02-27 Thread David Bolsover
Does anyone know of a good pop-up style calendar that will work with struts

[Q] Revisiting: Repopulating Lists after validation returns false

2003-02-27 Thread Rick Reumann
A while back there was a good discussion going about the best practice for repopulating lists that a JSP form needs after validation returns false and you need to be returned to the initial JSP form. The problem of course is if you have an options collection that is not in session or application s

RE: [Q] can I use ArrayList type for property ?

2003-02-27 Thread michael . korolyov
ArrayList doesn't work for me... when I changed it back to String[] just after that it works Ok. I changed this type in my Form too, to be in sync with tag. also I didn't find any doc / spec for this type. any help are very welcome Best Regards. Michael. -Original Message- From: Sri S

Re: DynaValidatorActionForm

2003-02-27 Thread Rick Reumann
On Thu, 27 Feb 2003 14:34:23 -0500 "Sloan Seaman" <[EMAIL PROTECTED]> wrote: > > For my edit page, how do I populate a bean for the edit page to use to > populate the fields? From what I've been reading it seems like I > don't ahve to write a form class anymore because of the DynaActionForm > s

DynaValidatorActionForm

2003-02-27 Thread Sloan Seaman
I'm getting the hang of struts (very cool) but I'm not sure how I should be doing the following. I have your standard add/change/delete part of an application. For the add part I have the following form bean defined: Here is my question: For my edit p

Re: Tiles: dynamically adding definitions

2003-02-27 Thread John Nikolai
Thanks Cedric, I look forward to seeing the document. Is this a feature which may be added to Tiles at a future date? Or is this too specialized? Thanks again, - John On Thursday, February 27, 2003, at 10:46 AM, Cedric Dumoulin wrote: Hi, The answer is yes, but it need some coding. The defa

  1   2   3   >