RE: Connection Pooling

2002-01-31 Thread Arnaud Héritier
There's also a pingQuery attribute in the datasource where you can test you're connection. for example : pingQuery=SELECT * FROM DUAL arno -Message d'origine- De: cahana [SMTP:[EMAIL PROTECTED]] Date: jeudi 31 janvier 2002 07:32 À:Struts Users Mailing List Objet:

Re: Help with table with edit buttons

2002-01-31 Thread Patrick Refondini
Hi, facing a similar issue I addressed it by having a form per record instead of a form for the whole table. Then everything becomes easier :) hereafter a code sample to illustrate. logic:iterate id=taskForm indexId=taskFormIndex name='%=TaskAction.TASK_FORM_LIST%' scope=session html:form

Re: Basic (esoteric) Question

2002-01-31 Thread David Hamilton
Of course, if we want to get _really_ esoteric, then all the exception table searching and popping back to new PC locations is likely to be slowly executed on a state-of-the-art processor, as these unpredictable jumps will play havoc with the processor instruction pipelines... - Original

Re: Beanutils.populate()

2002-01-31 Thread Patrick Refondini
Hi, I am looking to solve the same issue but have no clean solution yet, just a few ideas : Populating dates requires to dynamically obtain date pattern format together with the String date value in order to do the String to Date / Date to String conversion. To achieve these goals :

Re: Internationalization issue

2002-01-31 Thread Rob Breeds
Yug I've just done this very thing with my Struts app which has to accept multiple languages and output multiple languages on same pages. I set my application server (WebSphere App Server v4.0.2 AE) encoding to be UTF-8 for all languages (in WAS, you set 'client.encoding.override' to 'UTF-8@

about struts

2002-01-31 Thread caolei
hello: i am a new user of struts,when i download the struts zip files,and make classpath put the file which need in the right folder like the readmefile.but i can't use it,when i run struts-example in tomcat,tomcat said that a class file is not found,and when i run it in ie6.0,tomcat give

Re: Validate question - forwarding to action rather than input jsp page

2002-01-31 Thread Ted Husted
Validate the properties that have been set for this non-HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found. emIf no errors are found, return null or an ActionErrors object with no recorded error messages/em. Emphasis added.

Re: Validate question - forwarding to action rather than input jsp page

2002-01-31 Thread Antony Stace
If the user has entered some valid data in the form and I want to save it and pass this to the input destination specified in the struts-config.xml file how can I save this data and retrive it in the input destination action? On Thu, 31 Jan 2002 08:06:43 -0500 Ted Husted [EMAIL PROTECTED]

Need help on logic:iterate

2002-01-31 Thread Sher_A
Can someone help me with this logic:iterate question? Thanks. Struts example command: logic:iterate id=subscription name=user property=subscriptions I read it as: user is the bean, user.subscriptions is a Collection (Vector or Array) in that bean, and each element in the

Struts for reporting?

2002-01-31 Thread Michelle Popovits
Anyone used Struts to develop reports? I am tasked with the job of writing reports and will need to determine if I can just use Struts or if I should use something in conjunction with Struts or WebApp. Any to consider? Ideas? Suggestions? Michelle -- To unsubscribe, e-mail: mailto:[EMAIL

Struts 1.0 taglib bean version

2002-01-31 Thread bruno . morin
ref. http://jakarta.apache.org/struts/struts-bean.html#message The taglib bean:message indicate 2 parameters : name property but they're not declared in the struts-bean.tld Why ? Thank you -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: Struts for reporting?

2002-01-31 Thread John M. Corro
To what extent do you mean use Struts? Using actual Struts mechanisms to generate a report (can't think of anything right off hand that would do that for you...except maybe the connection pooler) or just use Struts to collect some report parameters, then direct off to some reporting

Struts 1.0 and bean:message

2002-01-31 Thread bruno . morin
ref. http://jakarta.apache.org/struts/struts-bean.html#message The taglib bean:message indicate 2 parameters : name property but they're not declared in the struts-bean.tld Why ? Thank you -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: Need help on logic:iterate

2002-01-31 Thread marco volpe
hi you can go here: http://jakarta.apache.org/struts/api-1.0/org/apache/struts/taglib/logic/pack age-summary.html - Original Message - From: Sher_A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 3:36 PM Subject: Need help on logic:iterate Can someone help

RE: Struts for reporting?

2002-01-31 Thread Lacerda, Wellington (AFIS)
Why don't you check JasperReports on SourceForge? http://sourceforge.net/projects/jasperreports/ Wellington -Original Message- From: John M. Corro [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 3:55 PM To: Struts Users Mailing List Subject: Re: Struts for reporting? To

RE: Struts for reporting?

2002-01-31 Thread Michelle Popovits
I'm still thinking about that. At the bare minimum, I would use Struts form/tags to collect the parameters an have the backend business logic obtain the reporting info in value objects and have the Struts tags (ie. iterate) help in rendering the report as a simple html report. That's kind of

Re: Validate question - forwarding to action rather thaninput jsp page

2002-01-31 Thread Brian Holzer
If you want to forward to an action, then specify the action ( input=/actionname.do) instead of a jsp. [EMAIL PROTECTED] 01/31/02 01:27am Hi I want to use the validate functionality in a Form. What I want to know is if an non empty ActionErrors object is returned does it always get

RE: Struts for reporting?

2002-01-31 Thread Michelle Popovits
Have you tried this? Has anyone tried this for production systems? Comments? I looked at the website and it says the version is Pre-Alpha. Thanks, Michelle -Original Message- From: Lacerda, Wellington (AFIS) [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 10:03 AM To:

RE: Struts for reporting?

2002-01-31 Thread Galbreath, Mark
Yeah, but it's open source - fix it yourself! ;-) Mark -Original Message- From: Michelle Popovits [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 10:07 AM To: 'Struts Users Mailing List' Subject: RE: Struts for reporting? Have you tried this? Has anyone tried this for

Re: Need help on logic:iterate

2002-01-31 Thread Brian Holzer
This is only a debugging type suggestion, but you could put your interate inside of a logic:present name=user property=schedule SCHEDULE WAS FOUND your iterate /logic:present tag and make sure that the collection is being found. Brian

Transactional Control Tokens?

2002-01-31 Thread Greg Hess
In the struts-example application in (SaveRegistrationAction.java:190, :161) the author calls the method saveToken(request) and then isTokenValid() and resetToken(). What does this use of transactional control tokens provide? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Struts for reporting?

2002-01-31 Thread John M. Corro
If you have bare minimum requirements for printing, I'd almost be pushing for HTML reports via (as you said) some reporting beans of sorts. That way you'll get to the reporting part quickly w/o any overhead/learning curve/complexity of new technology (FOP, etc). If you decide you need to go

Struts/Tiles and nightly build features

2002-01-31 Thread Sean Willson
Hello All, Had a question about the latest nightly and some changes/functionality that was removed or missing. I am currently using Tiles and Struts (build from 11/9/2001) to manage the View portion of our website. We have custom renderers that serve up different views depending on the browser

Help needed regarding Weblogic with struts.

2002-01-31 Thread Sudhir S. Shetty
Hi Everybody, Im Facing a problem during the startup of weblogic server, I get a message As Follows and my application does not work, I guess there is a problem downloading some DTD file, Can you suggest me some workaround to this. A quick reply would be really helpful

RE: Transactional Control Tokens?

2002-01-31 Thread Afshartous, Nick
I believe the transactional token is used to validate that the user does not submit the same form twice. A common problem is web applications. Nick -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 10:47 AM To: Struts Users Mailing

dynamically generated form pages beans

2002-01-31 Thread rob
I'm trying to create a form that has a dynamic number of elements. Each element having two propertys property0 and property1. Ideally I'd like to generate a form that will allow input similar to the following; keeping in mind that the number of elements is dynamic. element1 property0 property1

RE: Transactional Control Tokens?

2002-01-31 Thread Greg Hess
Could you describe how a user would submit a form twice? By clicking fast? or by going back after the first submit? -Original Message- From: Afshartous, Nick [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 11:00 AM To: Struts Users Mailing List Subject: RE: Transactional

RE: dynamically generated form pages beans

2002-01-31 Thread Jon.Ridgway
Hi Rob, Have you had a look at the DynaActionForm stuff in the latest builds? This may help. Jon. -Original Message- From: rob [mailto:[EMAIL PROTECTED]] Sent: 31 January 2002 16:07 To: [EMAIL PROTECTED] Subject: dynamically generated form pages beans I'm trying to create a form

RE: Transactional Control Tokens?

2002-01-31 Thread Afshartous, Nick
I think both double-clicking and going back to submit again would do it. Nick -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED]] Could you describe how a user would submit a form twice? By clicking fast? or by going back after the first submit? -Original

Re: dynamically generated form pages beans

2002-01-31 Thread Jason B Menard
Checkout http://www.keyboardmonkey.com/struts/index.html. This will do what you are talking about. Jason - Original Message - From: rob [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 11:07 AM Subject: dynamically generated form pages beans I'm trying to

Re: Help with table with edit buttons

2002-01-31 Thread David M. Karr
Larry == Larry Maturo Maturo writes: Larry Hi David, Larry I have tried endless variations of the hidden variable Larry in each row trick you suggested. It seems like it should Larry be very simple, but each time I run into the problem of Larry the variable I pass in to

Re: Common classes, where should they go.

2002-01-31 Thread David M. Karr
Lyndon == Lyndon Smith [EMAIL PROTECTED] writes: Lyndon Hi Lyndon We have two Struts applications (front end back end) that share several classes. Where should we put them in the Tomcat folders so that both applications can 'see' them? Lyndon Any help/advice will be much

set-property semantics

2002-01-31 Thread Saikat Ghosh
Hi, I was wondering if there is a specific reason why set-property invoked from within a action element results in property setting for the action-mapping instance and not the action handler instance. I'm trying to figure out a good way to configure an action class and I thought this could be

set-property semantics

2002-01-31 Thread Saikat Ghosh
Hi, I was wondering if there is a specific reason why set-property invoked = from within a action element results in property setting for the = action-mapping instance and not the action handler instance. I'm trying to figure out a good way to configure an action class and I = thought this could

Re: No execute method in Action class.

2002-01-31 Thread David M. Karr
Bradley == Bradley M Handy [EMAIL PROTECTED] writes: Bradley I'm developing an application in Forte, and I've mounted the struts.jar Bradley file. When I derive my action class I go to have Forte automatically Bradley generate the code for the 'execute' method, and it's not there.

Re: Two dimentional Array problem

2002-01-31 Thread David M. Karr
manjunatha == manjunatha honnappa [EMAIL PROTECTED] writes: manjunatha Hi manjunatha Struts form class which returns the two dimentional manjunatha array, Could any one tell me the tag librarry to manjunatha render the values. manjunatha public Object[][] getCellValues()

Setting and Getting Attributes

2002-01-31 Thread Satish Jeejula
Hello All, I am redirecting my request to another jsp from the current action object. Before redirecting, I would like to add some attributes redirecting url. I tried using setAttribute method in HttpServletRequest class. But I am not able to retrieve it in my jsp page. The only way I can do

[Off Topic] get/set method generation

2002-01-31 Thread João Paulo G. Batistella
Anyboy knows a tool for generating get/set methods from a list of attributes?? An example: I have private String name; private int number; And I would like to generate: public String getName(); public void setName( String name ) ; public int getNumber(); public void setNumber( number );

Re: Need help on logic:iterate

2002-01-31 Thread Philippe Hodapp / 1genia
Hi, Yes user is your bean. Have you send it in a session context with session.setAttribute(user,variable) in your Action Class ? Philippe Hodapp Responsable Pôle Développement 1Genia - Groupe 2Is 76, av Edouard Vaillant, 92100 Boulogne Tel : 01 48 25 76

RE: [Off Topic] get/set method generation

2002-01-31 Thread Lawrence, Jane K
Together Control Center does this. As you build your class diagram it sets up the getter and setter methods. I'm sure other IDEs do the same thing. - JKL -Original Message- From: João Paulo G. Batistella [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 10:57 AM To:

RE: [Off Topic] get/set method generation

2002-01-31 Thread Jon.Ridgway
Hi, XDoclet may help. It does a lot more but.. Jon. -Original Message- From: João Paulo G. Batistella [mailto:[EMAIL PROTECTED]] Sent: 31 January 2002 17:57 To: Struts Users Mailing List Subject: [Off Topic] get/set method generation Anyboy knows a tool for generating get/set methods

Struts and Servlet Exec

2002-01-31 Thread Craig Tataryn
Hi there. Anyone using Struts with ServletExec? I guess the question would be, does it work just like Tomcat? Deploy struts-blank to webapps and start hacking (I would probably have to go into servletexec admin and register the struts app, but other than that, anything else)? Thanks,

RE: [Off Topic] get/set method generation

2002-01-31 Thread Anthony Martin
JBuilder5 does this. When you are done making the list of variables, click the Bean tab, then the Properties tab. You'll see your variables sitting there without getter/setter checkboxes. Check them, and you'll have the methods. It even fills in the body, which your example left out.

Re: [Off Topic] get/set method generation

2002-01-31 Thread Dustin Aleksiuk
I almost finshed one yesterday, and I'll probably have it done tomorrow. I've been working on in the little snippets of free time I get during the day. I wrote it because I use the light version of JCreator to write code, and it doesn't do getters and setters, and that's the only thing I miss.

RE: examples of struts templates struts templates Vs Tiles

2002-01-31 Thread Malani, Prakash
Hi, How are you doing? I'm looking for good examples of using struts templates for building a UI. I'm trying to figure out how to display the current tab as selected using templates, haven't found any example that helps me do that. Also, is Tiles the recommended way of templating

Re: Struts/Tiles and nightly build features

2002-01-31 Thread Ted Husted
The functionality will be restored, but for the time being to use Tiles you will have to roll back to a nightly build prior to 15 January. The same goes for the new Velocity/Struts toolkit. There were some changes to the ActionServlet, and some of the higher level compatibility issues need to

Re: Transactional Control Tokens?

2002-01-31 Thread Olivier Dinocourt
both - Original Message - From: Greg Hess [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 5:15 PM Subject: RE: Transactional Control Tokens? Could you describe how a user would submit a form twice? By clicking fast? or by going back

bug with the select tag value attribute?

2002-01-31 Thread Maturo, Larry
I'm sorry if this is a resend, but I have been having problems sending emails to the outside world, so I don't know if this ever made it to the mailing list, and I haven't seen any responses. I have noticed that the value attribute of the select tag, which is said to be a run-time expression in

RE: Help with table with edit buttons

2002-01-31 Thread Maturo, Larry
Hi Patrick, Wow! I had no idea you could put a form within an iterate. What a neat idea! It sort of puts things inside out to the way you would normally think about them. Thank you. I also found another way of handling the problem. I fake an array property by having setters that only saves

Strange behaviour of the logic:equal tag

2002-01-31 Thread Olivier Dinocourt
Hello list I've found what seems to be a bug with the logic:equa tag : I've tested the following struts code in a JSP : ... logic:equal name=FicheCandidatForm property=paysCandidat value=9F bean:write name=FicheCandidatForm property=paysCandidat / est egale à 9F /logic:equal logic:equal

How to set up Struts on Websphere Studio Application Developer 4.0 ?

2002-01-31 Thread Prashant Nehete
Hi Is there any help/document for setting up Struts on Websphere Studio 4.0. Thanks Prashant -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: [Off Topic] get/set method generation

2002-01-31 Thread Jonathan Gibbons
There are loads of them, for example the LowRoad http://www.faraway.co.uk/tallosft/lowroad/ But its a little heavy if all you want is get and set. Others may suggest XDoclet, I'd suggest you simply write your own. It will take you all of 5 or 10 minutes. Jonathan

Re: bug with the select tag value attribute?

2002-01-31 Thread Sean Owen
In the first listing, you have property and value attributes of the html:select tag set to the same thing. Is that right? I would imagine property would be something like org while value should be something like 24, the actual value of the item which should be selected. Sean On Thursday,

Ted Husted strut by strut tutorial in weblogic5.1/jbuilder

2002-01-31 Thread Knoll, Zach
Hi I am just starting to learn about Struts and see how it can be used. I tried starting with Ted Husted's strut by strut tutorial. I have weblogic5.1 integrated with Jbuilder4 enterprise. I downloaded the struts-stub.war and edited my weblogic.properties file as follows

Re: How to set up Struts on Websphere Studio Application Developer4 .0 ?

2002-01-31 Thread Dan Trevino
Just drop struts.jar into your web project's WEB-INF/lib directory. Its as simple as that. On Thu, 2002-01-31 at 12:36, Prashant Nehete wrote: Hi Is there any help/document for setting up Struts on Websphere Studio 4.0. Thanks Prashant -- To unsubscribe, e-mail:

request value not being dispayed in jsp

2002-01-31 Thread Sriram Nookala
I have the following line of code in my action class's perform method: request.setAttribute(test10,This is a test); In the jsp that the action forwards to I have the following line of code: % out.println(request.getAttribute( test10)); % I get null as the value. What am I missing here?

troubles in the install

2002-01-31 Thread Fagundes Pereira da Silva
Hi, I have TomCat (alone) running whithout problems. Today I tried to install the STRUTS. Copied the *.war files from the pack to my tomcat/weapps. So I opened the url http://localhost/struts-example , and found one error message: *** Error: 500 Location:

Threading issues

2002-01-31 Thread Brian Holzer
Hi there, I have not yet had to develop an application that had to deal with threading issues before. From reading the documentation I see that all users, are using the same instance of the Action class. Can anyone give me some basic pointers on things to do or avoid in order to avoid

RE: Threading issues

2002-01-31 Thread Afshartous, Nick
The golden rule is not to maintain any state in an Action instance variable. In other words Actions should not have any instance variables that are updated when perform is called. Nick -Original Message- From: Brian Holzer [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31,

Logic Iterator, access iteration counter

2002-01-31 Thread Greg Hess
I am iterating threw a collection and I am using a tag library within each iteration to build a link for delete and view. The objects themselves have no unique identifier and I would like to use the iteration counter to identify the object in the collection. Does the page, session have any

RE: Need help on logic:iterate

2002-01-31 Thread Greg Hess
Because you havent included the %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % page directive in the current jsp page. -Original Message- From: marco volpe [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 10:02 AM To: Struts Users Mailing List Subject: Re: Need help on

Expresso, Tiles and Multiple Controlers

2002-01-31 Thread John Menke
I would like to use Expresso with Tiles. Looking into the Struts resources section I found an entry for Multiple Controllers. This appears to be what is needed to get Expresso and Tiles working together. As per another previous post on the list: --- From: Peter

Simple Example

2002-01-31 Thread mglass
Can anyone recommend a very simple working example of struts? I'm familiar with MVC, have been working with Turbine but would like to use Struts. Thanks, Mark Glass

Re: Simple Example

2002-01-31 Thread Luis M. Rosso
Hi Mark, in my case, the following article, which includes samples and appears in the Resources section of Struts' site, was VERY USEFUL as the FIRST or second step in learning Struts: http://developer.bluestone.com/scripts/SaISAPI.dll/StrutsTrailMap.class/stru ts-trailmap/default.htm Hope it

LoadOnStartup.java compilation problem

2002-01-31 Thread Niranjan K Vuppu
Hi, Can anyone tell me how to get this error out of the way? I'm trying to compile LoadOnStartup.java written by Mr.Matthias Kerkhoff. Although I'm a starter, so far I think this is the major hurdle that I encountered. Thanks to the mailing list archive which enabled me to jump through

RE: Simple Example

2002-01-31 Thread Greg Hess
Use the struts-example web application that comes with the struts install and go threw the walking tour it helped me alot. -Original Message- From: mglass [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 3:37 PM To: struts List Subject: Simple Example Can anyone recommend a

Re: Logic Iterator, access iteration counter

2002-01-31 Thread Patrick Refondini
Hi Greg, I think what your are looking for is the indexId attribute of the logic:iterate tag, check the doc at : http://jakarta.apache.org/struts/struts-logic.html#iterate it is quite clearly stated. Here is a case in which I use it to populate my taskForm.index property : logic:iterate

General JSP question: how to protect the JSP source code

2002-01-31 Thread Zhiyong Li
When I ship a product with JSP code, I would like to avoid the direct shipping of the JSP source code. It seems that there is a way I can just ship the compiled JSP code. I tried this, but I can not get it work in Tomcat. Any one knows that whether this is a standard feature (you can just ship

RE: Simple Example

2002-01-31 Thread John Menke
The book: Stuts Fast Track is great. It's in the Resources section of the struts site. -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 3:49 PM To: Struts Users Mailing List Subject: RE: Simple Example Use the struts-example web

Re: General JSP question: how to protect the JSP source code

2002-01-31 Thread dhay
Yeah, check the archives for pre-compiling jsps. Basically you need to precompile them (eg using Ant's new jspc task) and then compile them like any other code. You must make appropriate changes to your web.xml file though to get it to use compiled version. Cheers, Dave Zhiyong Li

ResultSet and ListObject - List Screens

2002-01-31 Thread Matt Raible
I am looking to (hopefully) use Ed Hill's Display Tag Library to do sorting, alternate colored rows, and pagination of my list screens. Other alternatives I've seen are HTMLTables and JSTL's forEach tag. What I'm wondering is if there are any utilities that anyone knows of to copy a ResultSet

Re: Struts and Servlet Exec

2002-01-31 Thread Craig Tataryn
Got this out of the ServletExec log, could this be the culprit? [Thu Jan 31 14:29:45 EST 2002] resolveEntity('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'http://jaka rta.apache.org/struts/dtds/struts-config_1_0.dtd') [Thu Jan 31 14:29:45 EST 2002] Not registered, use

Re: Simple Example

2002-01-31 Thread Anu Padki
Can try Sue spielman's articles at http://www.onjava.com/onjava/jsp_servlets/. Helped me. mglass wrote: Can anyone recommend a very simple working example of struts? I'm familiar with MVC, have been working with Turbine but would like to use Struts. Thanks, Mark Glass -- To unsubscribe,

Re: Struts and Servlet Exec

2002-01-31 Thread Niranjan K Vuppu
Hi Craig, Can't comment on the original problem but resolveEntity problem comes with server not able to fetch the dtds from an external site (your server behind the fire wall etc.,). Copy, the following dtds to your webApp (or jsp root dir), you should find them in the struts distribution.

RE: initializing html:select

2002-01-31 Thread Paul Sijpkes
Larry, The answer to your last question is 'no', 'yes' and 'yes'! 1. No the select tag does not have a bug. 2. Yes the select tag documentation is absolutely, shockingly, inadequate. As is most of the Struts documentation I have seen, on the jakarta.apache site, anyway. 3. Yes

ActionServlet.getResources()

2002-01-31 Thread dhay
I see that this is now deprecated. What is the preferred method to get the message resources that we are dealing with, then? Or am I missing something? Cheers, Dave -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

bug with the select tag value attribute? - Solved somewhat

2002-01-31 Thread Maturo, Larry
I finally figured out what was wrong. The below did not work: html:select property=%= OrganizationForm.PARENT_ORG_ID % value=%=OrganizationForm.PARENT_ORG_ID % html:options collection=%= Constants.ORG_LIST % property=%= Constants.SELECT_VALUE %

Re: Struts and Servlet Exec

2002-01-31 Thread Robert Taylor
I use ServletExecAS version 4.1 at home and ServletExecISAPI for Windows version 4.1 at work. Deploying a struts app in ServletExec is rather simple. You should be able to do one of the following: 1. Use the auto deploy feature of ServletExec and drop it in the webapps directory. The following

RE: bug with the select tag value attribute? - Solved somewhat

2002-01-31 Thread Carter, Steve
I think that I think the problem is with the dot notation. I found that something like the following works: bean:definename =OrganizationForm property =parentOrgId id=parentOrgId type =java.lang.String/ html:select

Message Resource

2002-01-31 Thread Satish Jeejula
Hello, How can I get hold of the message resource from jsp page? I can do this in my actions by calling getResources() method. Is possible to get message resources from jsp pages??? Thanks, Satish -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Mapped Properties and JavaScript

2002-01-31 Thread Janardhan, Shandrila
Hello I am using mapping properties in my jsp. I am unable to refer these mapped property in the javascript. For instance : I have the following select tag in the jsp and the selection made is mapped to a bean named 'product' with an accessor threeDigitCode. I have a button (an image) which

Re: Message Resource

2002-01-31 Thread Matt Raible
bean:message key=keyName in properties file/ --- Satish Jeejula [EMAIL PROTECTED] wrote: Hello, How can I get hold of the message resource from jsp page? I can do this in my actions by calling getResources() method. Is possible to get message resources from jsp pages??? Thanks,

RE: Message Resource

2002-01-31 Thread Satish Jeejula
Matt, That will only render the key value from properties file onto the browser. Actually, I would like to do some processing in the jsp page after getting the value. Example: % double value = Double.parseDouble(getValue from properties file ...); if(condition depends on the value) {

Re: Connection Pooling

2002-01-31 Thread Andrew Myers
I did give this a try although I had a few hassles getting it running in the Visual Age 4.0 and the WebSphere Test Environment (the lazy instantiation didn't seem to work on the first attempt and I always had to reload my pages to see the data?). Has anyone successfully used this in WTE?

RE: Struts and Servlet Exec

2002-01-31 Thread Robert Taylor
Craig, sorry for the late response: I'm running SE41 AS at home on Win2k, JDK1.3.1, Apache for Windows. I just installed the struts-example web app without incident. Below are the steps I took. -opened admin ui -Under Web Applications I selected manage -I clicked on the Add Web Application

RE: Struts and Servlet Exec

2002-01-31 Thread Robert Taylor
I don't think so. I get the same thing in my log too. I'm really not sure of the details here. I think it is trying to resolve the dtd for the struts-config.xml file and when it cannot get the definition remotely, it gets it locally. Maybe someone else on the list could clarify this. I did,

1.01 Build Error

2002-01-31 Thread Team Gasoline
Hello I'm receiving an error when I try to build 1.01, which has been noted in the mail list. I have tried what was suggested, but still am receiving the same error. Here is part of the trace of the build. [echo] java.class.path =

dynamic form action flow

2002-01-31 Thread Jeff Oberlander
Ok, I've wasted an embarrassing amount of time on this and would appreciate any help. Its night now and no progress has been made. This is another action flow question. Maybe there is a sample somewhere that does this? I apologize that this is long. I have an action form that contains an

Are Vectors in a FormAction set to null after a user has submitted a form?

2002-01-31 Thread Antony Stace
Hi I have several variables of type Vector in a FormAction. This form is used on a page where a user can input data, the contents of the Vectors are used to populate drop down list boxes and were populated before the page was displayed to the user. After the user has submitted this form

Re: Simple Example

2002-01-31 Thread Martin Cooper
The examples that are part of the Struts download should provide you with what you need. If those examples do not work for you, then please let us know what else we need to provide. Thanks. -- Martin Cooper - Original Message - From: mglass [EMAIL PROTECTED] To: struts List [EMAIL

Poolman benefits? (was Re: Connection Pooling)

2002-01-31 Thread Mark Woon
cahana wrote: Have you tried Poolman to do your connection pooling? I've only taken a cursory look at Poolman and I'm a little unclear as to what benefits it provides. I'm using an Oracle server, and using the Oracle JDBC thin client to connect to it. The thin client has support for

Re: Are Vectors in a FormAction set to null after a user has submitted a form?

2002-01-31 Thread Chuck Cavaness
Just guessing, but the reason the Vectors are null is probably because the action that is being called is configured as request scope and not session in the Struts configuration file. Therefore, after the HTML page is drawn (using the Vectors to populate the drop-down boxes), the ActionForm is

Re: about struts

2002-01-31 Thread Chuck Cavaness
Not to be a smart aleck about it, but there's a decent set of installation instructions off the Struts main web site. There might be additional steps that you need to take based on which version of Tomcat that you're using. Here's the URL: http://jakarta.apache.org/struts/installation-1.0.html

Re: Are Vectors in a FormAction set to null after a user has submitted a form?

2002-01-31 Thread Antony Stace
Thanks for the reply Chuck. The action I am calling is the first action after the form has been filled in and the user submits the form. All the data should still be in the form. I can access all the other variables in this ActionForm which are of type String, so I find it strange that the

AW: Are Vectors in a FormAction set to null after a user has submitted a form?

2002-01-31 Thread Hudayioglu, Fehmi
Hi default is session. -Ursprüngliche Nachricht- Von: Antony Stace [mailto:[EMAIL PROTECTED]] Gesendet am: Friday, February 01, 2002 8:46 AM An: Struts Users Mailing List Betreff: Re: Are Vectors in a FormAction set to null after a user has submitted a form? Thanks for the reply Chuck.