multiple buttons with image input

2002-03-07 Thread Viet Kevin
Hello all, I have a little question about multiple buttons in the same form I know that I can use the Dispatch Action to resolve this problem. For me this action works as following : Define a parameter named for example method, this parameter is used and declared in the action tag of

Re: iI8n and templates

2002-03-07 Thread Cedric Dumoulin
Hello, Check Tiles (extended templates). There is a i18n templating support. Basically, you use a logical name (a definition name) as template target. Definition can be described in an xml file, and you can have different description for each locale (one file for each locale). Choice of

Re: html:base and tiles - uses layout path

2002-03-07 Thread Cedric Dumoulin
Hello, I don't know why html:base ... act like this (need some investigation), but you could replace it by : base href=%=request.getContextPath()% / Hope this help, Cedric Matt Raible wrote: I am using the html:base/ tag in my baseLayout.jsp file. I was hoping this would

Re: Multiple submit buttons solution

2002-03-07 Thread Peter Severin
Hi folks, I have included the code which will enable encoding of additional parameters into sumit button name. It also handles image submit buttons. This code should be added into extended ActionServlet. I haven't tested it myself yet but it should work. Note it works only for 1.0.x versions of

RE: Best Practice for parsing an XML file - Code Review Requested

2002-03-07 Thread Emaho, Ghoot
Matt As an aside you may want to consider how you retrieve the config xml file. Currently you are using the code InputStream is = new FileInputStream(Constants.USER_HOME + configFile) While this is fine, it may not always be portable, or as portable as other methods. For instance Chiki has a

Re: Struts Web App Challenging user with BASIC Auth

2002-03-07 Thread David Bolsover
Satish Have you added the necessary realm to the Tomcat server.xml file? David Bolsover Satish Jeejula [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi All, I have a web application using struts running under apache\tomcat3.3 configuration. I want to make this app

problems with doing a Titles Invoice example

2002-03-07 Thread Dirk Storck
Hi, I try to do a example like the tiles invoice example by my own My first page looks like the following snippet: pg:pager maxPageItems=%= 5 % pg:param name=pagerRequest value=true/ table cellpadding=0 cellspacing=0 border=0 trtdnbsp;/td/tr logic:iterate id=article

Re: getting a list in Action class

2002-03-07 Thread keithBacon
tricky! does myForm.getSubstances(); return a list? is it the correct size? I would have thought putting enough debug messages would highlight the problem. I'd guess it's not even executing your debug code because you'd get a null pointer exception from list.iterator() if the list was missing

Re: [Newbie] logic:iterate

2002-03-07 Thread keithBacon
does elt.getName() return a String? --- Slimane [EMAIL PROTECTED] wrote: Hi, I try to do an iteration on a vector. When this vector contains only Strings, the iteration works well. For that, I use the following piece of code: logic:iterate id=elt name=listform scope=session

Re: nesting: iterate cannot find attrribute

2002-03-07 Thread keithBacon
just a tip - not your answer. there are problems with property names that start with multiple capital letters (odd things in the bean spec) so avoid them Maybe there is a prolem with single letter names too - - your data names are not very readable anyway.. --- Elijah Jacobs [EMAIL

Re: Multiple submit buttons solution

2002-03-07 Thread keithBacon
You're right peter. Come on the old struts pro's - do we need this or not? I don't know enough to judge. for - good to have choiice of using link or button. against - you can do it with a link so why add more fiddly functionality Hi Keith, Yes you can use links but sometimes you need to

Re: problems with doing a Titles Invoice example

2002-03-07 Thread Cedric Dumoulin
Hello, It is a problem with custom tags implementing BodyTag interface in jsp 1.1 : it is not possible to do a flush inside such tag. In your example, logic:iterate ... (or pg:item ?) implement BodyTag, and tiles:insert ... do an include which automatically do a flush (even if you specify

RE: Best Practice for parsing an XML file - Code Review Requested

2002-03-07 Thread CARDON Denis
Hi Matt, I agree with Emaho, xml is (much) better for describing data. As for the parsing, I totally agree with you, using DOM is a pain that one should avoid as much as possible. In your case you may use a more user friendly API such as Dom4j or jDom. If you have some time to spend, you may

Re: how to edit an array of records with action forms?

2002-03-07 Thread Ian Tomey
Hi Arron, Had a quick look at it, seems like what I need. One gotcha though is that the number of records is not fixed, so the creation of the array of row objects in the form constructor has to be bigger than the max size expected. I'm hoping that actionForm.reset is called before bean

[Fwd: Introducing Enterprise Object Broker]

2002-03-07 Thread Ted Husted
Since hooking up a with a persistence layer is an important part of using Struts, I thought I would pass this along. -Ted. Original Message Subject: Introducing Enterprise Object Broker Date: Thu, 07 Mar 2002 09:08:24 + From: Paul Hammant [EMAIL PROTECTED] Reply-To:

RE: Application Scope Variables

2002-03-07 Thread keithBacon
Application Scope - Generally, application scope beans are initialized in the init() method of a startup servlet. However, it is legal for an Action class to create such beans, if this is appropriate, like this: Foo foo = ... create a Foo ...;

RE: Help with html:link inside html:link - variable in onmouseover problem

2002-03-07 Thread Ronald Haring
I dont know if html:link can use other tags inside of it. What you can do is to set the html:base in the headers and use plain html e.g. a href=/house.do?action=prev onmouseout=MM_swapImgRestore() onmouseover=MM_swapImage('prev','',bean:write name=houseTag property=mouseOverPic filter=true/ ,1)

Re: Struts Web App Challenging user with BASIC Auth

2002-03-07 Thread @Basebeans.com
Subject: Re: Struts Web App Challenging user with BASIC Auth From: David Bolsover [EMAIL PROTECTED] === Satish Have you correctly configured the Tomcat server.xml file? David Bolsover Satish Jeejula [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi All, I have a web

Re: Downloading files locally

2002-03-07 Thread SUPRIYA MISRA
I keep the file at webapps\project\download.xls level and forward it to this location. Download is automatic except for .txt file. Question is :- there is no security - anybody can download it. From: R. BIGGS [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL

form/multipart

2002-03-07 Thread Torgeir Veimo
I am having trouble with a form that contains both a file upload button and some other button. There is one input field which is used to create a new file, and a submit button for that. There is also a file upload button, and a submit button for that. html:form action=/publishing/folder.do

Re: how to edit an array of records with action forms?

2002-03-07 Thread Arron Bates
Who's fixing the number of records?... The tags will happily do whatever with what they're given. The monkey example adds and deletes objects in the various lists with ease. You could even map the bean properties to access columns in a result set. Wouldn't be on the best practice list however

Re: Downloading files locally

2002-03-07 Thread R. BIGGS
Security is not an issue for this application will only be used internally by our users. - Original Message - From: SUPRIYA MISRA [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 07, 2002 7:26 AM Subject: Re: Downloading files locally I keep the file at

Re: how to edit an array of records with action forms?

2002-03-07 Thread Arron Bates
Nightly build version can use implementations of the java.util.List rather than having to get back the primitive array object. Makes things easier to work with. Returning the Object[] actually renders everything but ArrayList style collections useless because the mapped collections and such

Re: [Newbie] logic:iterate

2002-03-07 Thread Slimane Zouggari
Hello, yes it has a String as a return value ! But don't bother, now (although I didn't change a thing) it works ! :) Thanks for your help though :) Friendly regards, Slimane does elt.getName() return a String? --- Slimane z?X0040;skynet.be wrote: Hi, I try to do an iteration on a

Re: Struts Community Opportunity

2002-03-07 Thread Gabriel Sidler
Emaho, Ghoot wrote: Gabriel I see it's built on TWiki. Chiki has many similarities to Twiki re functionality. Obviously it's written in Java using Struts (not perl). Have you taken a look at Chiki ? I'd be interested in any feedback you might have. The current release has everything you

RE: Struts Community Opportunity

2002-03-07 Thread Emaho, Ghoot
Gabriel As you might know, I am working on the Struts/Velocity integration. My personal interest in Chiki is to find out how easily it could be turned into a show case for Struts/Velocity. Cool ! This is on my list, so maybe we can collaborate ? I'd like to see Chiki grow to use more than

RE: [Fwd: Introducing Enterprise Object Broker]

2002-03-07 Thread Emaho, Ghoot
On this note, has anyone used McKoi ? (http://mckoi.com) Its an Open Source Java SQL Database System that I've just started looking at, and it looks very promising. Wondered if anyone else had come across it. In the context of Struts apps, it allows you to bundle the db with your app, great

RE: Best Practice for parsing an XML file - Code Review Requested

2002-03-07 Thread Matt Raible
Good idea. What I'm trying to get away from is that user's (sys admins) have to edit the web.xml file. This is because I plan on distributing my application as a WAR, and need to I have certain parameters that WILL need to be changed for different systems (i.e. Unix vs. Windows). Also my

RE: design flaw if using a template...

2002-03-07 Thread Ross MacCharles
Hi Keith. I look at the system as having several complementary models, controllers and event triggers. Struts Action, ActionForm, and submit triggers are among them but not the only ones. In other words, I don't see Struts Actions as being the only system entities that can respond to event

RE: cannot resolve '/tags/struts-template.tld during weblogic.jsp c

2002-03-07 Thread Galbreath, Mark
Why are you putting it in the lib directory? It belongs in WEB-INF. Mark -Original Message- From: Domen, Ken [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 8:03 PM Here's my web.xml: taglib taglib-uri/tags/struts-html.tld/taglib-uri

RE: [Newbie] logic:iterate

2002-03-07 Thread Galbreath, Mark
Probably because everything stored in a Vector is an object of type Object and bean:write is trying to cast your Element object to a String. Mark -Original Message- From: Slimane [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 5:08 PM Hi, I try to do an iteration on a

RE: Pre Populating Fields - bit of a newbie question

2002-03-07 Thread Donald Miller
If you use JavaScript, the date will be based on the client's system date; therefore, you must be sure all of your clients' system dates are accurately set. A server-side default gives you more control. Don

RE: nesting: iterate cannot find attrribute

2002-03-07 Thread Galbreath, Mark
Looks like an issue of scope. Mark -Original Message- From: Elijah Jacobs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 4:59 PM I'm trying to do a simple iterate .. it's even simpler that than one I download from Arron Bate's site since the formbean has the reference to

RE: Pre Populating Fields - bit of a newbie question

2002-03-07 Thread Galbreath, Mark
You are right on that point, Don! I was assuming he had a known, captive population of users (I don't know why). Mark -Original Message- From: Donald Miller [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 10:36 AM If you use JavaScript, the date will be based on the client's

RE: Best Practice for parsing an XML file for application confi gurationparameters?

2002-03-07 Thread Craig Tataryn
You can put all your properties in one file as well, lets call that file config.properties 2. xml handle the structure data much better then properties file data structure might be nice for communications between computers but for users? e.g. RepositoryRoot=d:\ RepositoryAssets=assets

specifying dynamic value for logic:equal

2002-03-07 Thread Srinivasarao Nandiwada
Hi, Let me briefly explain the problem - I am using a select box in edit page and wanted to use simple text corresponding to the selected value in view page. My select box consists of the following : Label One --- value 1 Label Two --- value 2 Label Three --- value 3 I am using

multi-app support and page= forward= across sub applications

2002-03-07 Thread Torgeir Veimo
We use html:link with page forward attributes primarily to avoid coding the context path. Now we are splitting up our application into separate sub-applications, but there is one catch; How do we link between actions in different sub-applications, while still using page= or forward=? All

RE: Design issue

2002-03-07 Thread Ross MacCharles
Since you are creating new pages for each OEM, I think I would prefer to embed the OEM value in the pages themselves. Then your 3 step process can be replaced with just the 3rd step, and you don't need to restart your container. If you do go with your approach, you may want to determine if

Re: nesting: iterate cannot find attrribute

2002-03-07 Thread Elijah Jacobs
Thanks for the responses guys - well appreciated I found some insight in this: it seems the error occurs only when I have a setter method to my Vector. When I comment out the line below from my FormBean, the JSP page finds my property just fine. public void setX(Vector x) { this.x = x; } I

Populating complex java objects in forms

2002-03-07 Thread Charlesworth, Chico
Hi, If I've got a complex java object (i.e Customer) in the Form class, I can then read off this object in the jsp page, but when submitting to the Action class the Customer object is null. The jsp would look like: html:form action=/updateCustomer Customer Name: html:text

RE: Populating complex java objects in forms

2002-03-07 Thread Ronald Haring
yes you can do that but do you have a getCustomer() and setCustomer() method in your formbean? Gr Ronald -Original Message- From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 5:56 PM To: 'Struts Users Mailing List' Subject: Populating complex java

Re: indexing of errors?

2002-03-07 Thread David Winterfeldt
Your property isn't really 'blah'. It is 'blah[0]', 'blah[1]', etc. So if you use the full property for a field for the ActionErrors key, then you can retrieve it next to each field. ActionErrors errors = new ActionErrors(); errors.add(blah[0], new ActionError(error.msg)); html:error

RE: Populating complex java objects in forms

2002-03-07 Thread Charlesworth, Chico
ive got my getter and setter methods in my formbean ... any other ideas? chico -Original Message- From: Ronald Haring [mailto:[EMAIL PROTECTED]] Sent: 07 March 2002 17:04 To: 'Struts Users Mailing List' Subject: RE: Populating complex java objects in forms yes you can do that but do

RE: Populating complex java objects in forms

2002-03-07 Thread Charlesworth, Chico
The scope is request, which should be ok, and other form fields that are Strings or String Arrays are populated ok, but not complex objects like Customer. Any other suggestions? -Original Message- From: Oliver Reflé [mailto:[EMAIL PROTECTED]] Sent: 07 March 2002 17:10 To: Struts Users

RE: cannot resolve '/tags/struts-template.tld duringweblogic.jsp c

2002-03-07 Thread Domen, Ken
Do I need more than what's specified below to be in the classpath in order for jspc to work? if == %JAVA_HOME% set JAVA_HOME=\java if == %WL_HOME% set WL_HOME=\weblogic if == %MY_HOME% set MY_HOME=C:\viewstore\KDOMEN_view\ads\apps\ms3 set MYSERVER=%WL_HOME%\myserver set

Struts Validator NoClassDefFoundError

2002-03-07 Thread Craig Raw
Hi, I am using the Struts Validator in my webapp but encounter the following error on each page that tries to use it. java.lang.NoClassDefFoundError: org/apache/struts/validator/action/ValidatorForm at java.lang.ClassLoader.defineClass0(Native Method) at

RE: Best Practice for parsing an XML file - Code Review Requested

2002-03-07 Thread Phase Web and Multimedia
Why not use Digester. I use it to parse config info for various classes. It is quite easy and fast. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent:

null value for a nested property

2002-03-07 Thread David Boardman
I currently am using an html:text tag on a form to display the name of a state. The tags looks like: html:text name=address property=state.name/ The problem is that ocassionally the state field on the address bean is null. When this occurs the PropertyUtils.getNestedProperty() method

Re: Struts Validator NoClassDefFoundError

2002-03-07 Thread David Winterfeldt
What version of the Struts Validator are you using? Package names were changed at some point from com.wintecinc.struts.* to org.apache.struts.validator.* (1/14/2002). When this was done, most of the validator was moved to the Jakarta Commons Validator (http://jakarta.apache.org/commons). I

RE: null value for a nested property

2002-03-07 Thread Robert Nocera
David, I find it's best to use a form bean that is different from your data object, so that your get methods on your form object can return an empty string if null instead of actually returning a null value. Robert Nocera New England Open Solutions www.neosllc.com You supply the vision, we'll

RE: Session Timeout?

2002-03-07 Thread Thinh Doan
Sorry we did not. Can't help further. T. -Original Message- From: Michelle Popovits [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 1:50 PM To: 'Struts Users Mailing List' Subject: RE: Session Timeout? Do you use container managed authentication? If so, where did you make

RE: Best Practice for parsing an XML file - Code Review Requested

2002-03-07 Thread Matt Raible
I tried to use digester - documentation/samples weren't good enough OR I wasn't smart enough to figure it out. I tried for an hour or 2 to get it to work and gave up. Matt --- Phase Web and Multimedia [EMAIL PROTECTED] wrote: Why not use Digester. I use it to parse config info for various

RE: Tomcat/Struts Profiling results

2002-03-07 Thread Yu, Yanhui
Thanks very much for sharing this information. Is there any one out there who has similar information on struts+WSAD (websphere studio applicaton developer) of IBM? We would very much appreciate if someone can post any performance information on this combination. Yanhui -Original

Dynamic forwards

2002-03-07 Thread Parimi Srinivas
Hi all, I am stuck up on how to achieve dynamic forwarding. Issue is in action mappings of struts config file, a simple forward for an action appears as forward name=display redirect=false path=/directory1/somepage.jsp / But during my application flow, the page to display may end up

Re: specifying dynamic value for logic:equal

2002-03-07 Thread keithBacon
Code posted below - hope it makes sense. Keith. --- Srinivasarao Nandiwada [EMAIL PROTECTED] wrote: Hi, Let me briefly explain the problem - I am using a select box in edit page and wanted to use simple text corresponding to the selected value in view page. My select box consists of the

RE: Best Practice for parsing an XML file for application confi guration parameters?

2002-03-07 Thread keithBacon
nice thought! --- Craig Tataryn [EMAIL PROTECTED] wrote: You can put all your properties in one file as well, lets call that file config.properties 2. xml handle the structure data much better then properties file data structure might be nice for communications between computers but

Integrating Applications

2002-03-07 Thread Parimi Srinivas
Hi, Does struts provide any extensions to integrate two applications ?. Both applications use struts framework. Thanks, -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

I18n for number formatting on Struts

2002-03-07 Thread Eduardo André Mallmann
Hi all, I'm using Struts on a project in the company. The Internacionalization for the messages and labels on the Web pages work fine and we didn't have much problem. But for the internacionalization of some number formats (write 1.000,00 instead of 1,000.00, etc) we had to set somethings hard

Displaying Short Dates in a Text Box

2002-03-07 Thread STEVEN . TRAVERS
I have a form that displays a date value.  It always shows up in the medium date format.  Is there a way to specify in the html:text tag to display a short date in the proper locale?  I have tried formatting the getDate() method to return the proper date format, but it is not working.

RE: redirection from an action/ refreshing page

2002-03-07 Thread Yu, Yanhui
Hi, I am new to Struts, and so my question maybe too simple: Please help. I notice redirect is used often, does that mean I have to put things in session instead of request? If it is true, can I use redirect=false (assuming this way I am using forward instead of sendRedirect?) so I can put

RE: redirection from an action/ refreshing page

2002-03-07 Thread Robert Nocera
You can use redirect=false to make it a forward, which is what you want most of the time. I believe that false is the default value. Robert Nocera New England Open Solutions www.neosllc.com You supply the vision, we'll do the rest. -Original Message- From: Yu, Yanhui [mailto:[EMAIL

RE: I18n for number formatting on Struts

2002-03-07 Thread Andrew B Forman
I do not know of any struts-specific i18n functionality that does what you are looking for. However, the baseline Java i18n does: http://java.sun.com/docs/books/tutorial/i18n/ andrew -Original Message- From: Eduardo André Mallmann [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07,

UltraDev 4.0 Custom Tag Library Extension

2002-03-07 Thread Soledad Villa
Hi all, I've tried the extension UltraDev 4.0 CTLX provided by jakarta and I happened to have many problems: 1) the TLDParser has code errors: a - it's importing a class from xerces.jar that doesn't exists b - overrides the init method but it's not invoking the super.init(config) method

RE: Newbie Struts and Jbuilder6

2002-03-07 Thread Yu, Yanhui
Thank you VERY MUCH Ghoot! Myself is very new to Struts and I have many questions, I know I can say this on behalf of other newcomers that we APPRECIATE your time and the help! Yanhui -Original Message- From: Emaho, Ghoot [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002

RE: Struts Community Opportunity

2002-03-07 Thread Yu, Yanhui
Ghoot, As a newcomer, I thank you for this proposal to re organizing the struts documentation. I know it is probably my own fault that I can't understand exactly what the doc says sometimes but I still hope the doc can show the new users easier way! Thanks again, Yanhui -Original

RE: getting a list in Action class

2002-03-07 Thread Domen, Ken
Here's my problem: During a display of the page, I use: logic:iterate name=materialForm property=substances id=substances tr td class=table2html:text name=substances property=casNumber styleClass=input1//td td class=table2html:text name=substances property=substanceName

RE: Application Scope Variables

2002-03-07 Thread Mikael Eriksson
Hi The HttpSession does not have a servletcontext, the servlet has, and you can get to the servlet from the ActionForm with the getServlet() method. So Object o = getServlet().getServletContext().getAttribute(attribute_name); should work (has not tried it live though :-) )

RE: Newbie question. Can action mappings intercept requests that are not part of forms?

2002-03-07 Thread Kanoza, Douglas (NCI)
If you've done your *.do extension mapping in web.xml, you just need to append '.do' to the page parameter: html:link page=/logout.do bean:message key=mainMenu.logout / /html:link -Original Message- From: Phil Rice [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 4:21 PM To:

RE: design flaw if using a template...

2002-03-07 Thread Matt Read
I'm glad you've found a solution. I'd still say you're misusing template:insert though, because it's not really a template that you're inserting but if it works, it works. -Original Message- From: Keith Chew [mailto:[EMAIL PROTECTED]] Sent: 07 March 2002 21:15 To: Struts Users Mailing

[Off Topic] Poolman Setup

2002-03-07 Thread Eddie Bush
I've done everything (I think) that poolman requires in order to function, and yet it does not. After placing only the required jars into my \lib folder, and having no success with Poolman starting, I threw all of them in. It still doesn't work. I wasn't at all sure, from the documentation,

RE: I18n for number formatting on Struts

2002-03-07 Thread Andre Beskrowni
try the i18n taglib in the jakarta-taglibs project. note that this is eventually going to be deprecated by jstl, so if you find a bug or if the functionality doesn't do exactly what you need, you'll have to tweak it by yourself -- not that it's hard or anything... ab -Original

Form Based authentication with STRUTS and WEBSPHERE

2002-03-07 Thread BinhMinh Nguyen
Hi, My webapp is implemented based on struts and deployed to WebSphere. I am using custom-user-registry to protect web resource. I have setup everything. when start the Admin Console, it asked me for the user name and password, I entered those parameters and it let passed that point, so I

RE: Best Practice for parsing an XML file - Code Review Requested

2002-03-07 Thread Andre Beskrowni
i've used digester before and found it pretty straightforward, you probably just needed an extra hour :-) but i recently read this article on Castor XML (by a frequent poster to this list): http://www.onjava.com/pub/a/onjava/2001/10/24/xmldatabind.html and am thinking this may be my future xml

Struts Tag lib handling and WSAD JSP Editor

2002-03-07 Thread Michael_J_Quinn
All Has anybody done any work on getting the WSAD JSP editor to recognise the Struts tag libs, as per the Dreamweaver UltraDev approach ?? cheers MQ __ The information contained in this email communication

Re: [Off Topic] Poolman Setup

2002-03-07 Thread Bryan Field-Elliot
I'm no expert (having just picked up poolman a week ago) but, it appears to me that you don't have poolman.xml in the right place. It needs to be in either of the following places: 1. In the WEB-INF/classes directory (this is what I do) 2. Jar'd up, and then put the Jar in the WEB-INF/lib

Re: [Off Topic] Poolman Setup

2002-03-07 Thread Eddie Bush
That looks promising so far - thanks. Let me muddle through the rest of this and see if it works. Thanks so much! Eddie - Original Message - From: Bryan Field-Elliot [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 07, 2002 5:05 PM Subject: Re:

Re: [Off Topic] Poolman Setup

2002-03-07 Thread Ted Husted
Try /lib/poolman.jar /lib/log4j.jar /lib/jdbc2_0-stdext.jar /classes/poolman.xml in poolman.xml dbnameWHATEVER/dbname jndiNameWHATEVER/jndiName driverWHATEVER/driver urlWHATEVER/url usernameWHATEVER/username passwordWHATEVER/password

Re: [Off Topic] Poolman Setup

2002-03-07 Thread Eddie Bush
Excellent Ted thanks! I'll tuck this away in a safe place. Thank You! Eddie - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 07, 2002 5:07 PM Subject: Re: [Off Topic] Poolman Setup Try /lib/poolman.jar

Re: [Off Topic] Poolman Setup

2002-03-07 Thread Eddie Bush
Yes! I had misspelled the package for my driver, but once I corrected that it works! Well, it seems to work. Thanks Again! Eddie - Original Message - From: Bryan Field-Elliot [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 07, 2002 5:05 PM

getting ArrayList elements as objects

2002-03-07 Thread Domen, Ken
I want to be able to get (after a submit) the values of the iterator as an ArrayList of objects in the action class. Currently, substances is an ArrayList in bean Material. How do people achieve this? Or is there a work around? logic:iterate name=materialForm property=substances

Re: [Off Topic] Poolman Setup

2002-03-07 Thread cahana
Looks like it can't find your poolman.xml file. We jar poolman.xml and stick the jar file in the WEB-INF/lib directory. That way, when the app starts up, poolman.xml will get loaded into the classpath. - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing

RE: I18n for number formatting on Struts

2002-03-07 Thread Hani Hamandi
I was wondering, since internationalization worked for you: How did you guys deal with button labels? By button-label I mean the text displayed on your submit buttons. I found no way of displaying a button-label from a bean:message Isn't that right? -Original Message- From: Eduardo André

html:file and keeping the value on errors

2002-03-07 Thread Matt Raible
This might be considered off-topic, but here goes. Does anyone have a solution for keeping the file path in a input type=file rendered by a html:file tag? I noticed with the Validator, it is not possible to validate the user has selected a file. Therefore, in my action class, I am extracting

html:error and html:text enhancements

2002-03-07 Thread Jonathan Fuerth
I have two quick questions about the html:errors tag: 1. Has anybody thought about implementing a remove attribute on the errors tag that removes the ActionError objects as they're printed? That way, you could report all of the property-specific errors alongside their form input boxes,

Re: Need help getting a production/stable version of v1.1

2002-03-07 Thread CyberZombie
Note that the 1/12 build will not work with JDK1.4... Bruce Geerdes wrote: Ted Husted posted the 1/12 build on his web site. You can see his message at http://www.mail-archive.com/struts-user@jakarta.apache.org/msg23631.html;. Bruce Read, Karen wrote: We started using a version of Struts

Re: Best Practice for parsing an XML file - Code Review Requested

2002-03-07 Thread David M. Karr
Matt == Matt Raible [EMAIL PROTECTED] writes: Matt I've completed this task - however, it would've been MUCH easier to just use a Matt properties file. Of course, it could just be my experience with XML parsing - Matt because I had to write a lot of code to grab 4 simple

I18n / Chinese / Struts

2002-03-07 Thread Tony Li
Hi all - After reading some of the posts on getting internationalization working, I've got my struts app using the appropriate resource file (resources.properties and resources_zh.properties) depending on the locale of the user. What I'm having trouble with is with the file I'm inputting

HELP! Problems with HTTPS extension for struts

2002-03-07 Thread Michael Mehrle
I'm running into problems running the http extension at http://home1.gte.net/ditling/struts/ Below the error I get trying to launch index.jsp - anyone running into similar problems? BTW, after some research online, I replaced xerces.jar with crimson.jar in my WEB-INF/lib directory and I'm

live progress...

2002-03-07 Thread Keith Chew
Hi I would like to implement a live progress on a JSP, something like: time = 0s * Synchronizing database... time = 5s * Synchronizing database... DONE! Sending mail to keith... time =10s * Synchronizing database... DONE! Sending mail to keith... DONE! Essentially, I

What's a good practice to reuse formBeans with validation

2002-03-07 Thread @Basebeans.com
Subject: What's a good practice to reuse formBeans with validation From: Tea Yu [EMAIL PROTECTED] === Hi, consider the following scenario: a countryForm bean contains properties id and name actions to 1) insert, 2) update and 3) delete countries (not likely to happen except to remove wrong/test

Struts and encryption

2002-03-07 Thread Andrew H. Peterson
Is there a struts preferred method of handling encryption/decryption? I am authenticating users via a database lookup. I want to store the encrypted password in the database. If struts doesn't have a preferred method of encryption/decryption, can someone point me to a good Java API for

RE: Struts and encryption

2002-03-07 Thread Aamir Saalam
For Password encryption (which is one way, you can never get back the original password, given the encrypted string), there's one called JCrypt. For more info. see: http://www.dynamic.net.au/christos/crypt/Password.txt --aamir -Original Message- From: Andrew H. Peterson

RE: getting ArrayList elements as objects

2002-03-07 Thread Domen, Ken
I was hoping by reflection that my sub-object would be re-created automatically. This was not the case. I had to take all the attributes and recreate the sub-object in the ActionClass and then attach it to the parent class. So the jsp code stays clean and struts-like

Re: Struts and encryption

2002-03-07 Thread Bryan Field-Elliot
Many database have their own extensions for encryption, or one-way hashing, used for things like password storage. That's probably the best choice you could make. Bryan On Thu, 2002-03-07 at 19:36, Andrew H. Peterson wrote: Is there a struts preferred method of handling

Re: [off topic?] image retrieving from db

2002-03-07 Thread @Basebeans.com
Subject: Re: [off topic?] image retrieving from db From: Tea Yu [EMAIL PROTECTED] === I'm storing blob data into the database and using JImageMagick to return image of different formats on the fly. Each time I have to retrieve an image included in a page (with other text/html contents), I have

Parsing Error for struts-config.xml

2002-03-07 Thread Suneet Shah
Hello, I have struts based application that runs just fine on a number of application server. However, on Borland Enterprise Server I get the exception below. I am using struts 1.02. Any ideas on how I can fix this? Thank you. Suneet Shah javax.servlet.ServletException: Parsing error

RE: Struts Validator NoClassDefFoundError

2002-03-07 Thread Craig Raw
I am using the commons-validator.jar from the Jakarta site. (Sorry, missed this out when typing the contents of my WEB-INF/lib). Since I only used the Validator for the first time after its movement to Commons project, I doubt I have any old com.wintecinc.struts classes around. Craig

[Newbie] html:link

2002-03-07 Thread Slimane Zouggari
Hi, I have the following piece of code : logic:iterate id=elt name=listform scope=session property=vect type=be.stluc.info.struts.ElementProjet A HREF=/projectdetails.do?codpro=bean:write name=elt property=codpro/ codpha=bean:write name=elt property=codpha/ codtac=bean:write name=elt

Re: Parsing Error for struts-config.xml

2002-03-07 Thread Ivan Siviero
I'm having the same exception on SunOS 5.8 and Weblogic5.1sp9 which is still unsolved. I suppose you already have the xerces.jar in the classpath. Let me know if you get a solution on this. Thank you. Ivan. - Original Message - From: Suneet Shah [EMAIL PROTECTED] To: [EMAIL PROTECTED]