RE: [OT]: What is vim?

2003-03-03 Thread John Espey
People always mention auto-complete, but it seems to me that it is one of the least significant features of an IDE in terms of enhanced productivity. Auto-generation of test cases, refactoring, import organization, package generation, exception generation, JPDA, etc. are all things that I think

RE: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread John Espey
I disagree STRONGLY with the statement that a programmer who uses a text editor learns the language better. This is like saying a construction worker cannot be a good carpenter unless he builds a house from the ground up with a hammer and a standard screwdriver. Just because I look at a black

RE: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread John Espey
, you are full of shyte. Okay? Mark (been a master carpenter and Java certified) -Original Message- From: John Espey [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 5:40 PM To: Struts Users Mailing List Subject: RE: [OT] Text editor usage (was RE: [OT]: What is vim?) I

RE: [struts-el] What's the benefits ?

2003-02-28 Thread John Espey
here is a simple example: logic:present name=”mylist” bean:size id=”mylist_size” name=”mylist”/ logic:equal name=”mylist_size” value=”0” There are no items to be evaluated…… /logic:equal logic:greaterThan name=”mylist_size” value=”0”

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

RE: security question #2

2003-02-26 Thread John Espey
Jason, One thing you may want to consider is using the Template pattern here. Make your class abstract, declare an abstract method called doExecute or something like that, have your execute method call doExecute where it currently calls super.execute() (the super call is unnecesary I think). Sub

RE: Student question about struts

2003-02-25 Thread John Espey
You should read about the html:select and html:options tags. http://jakarta.apache.org/struts/userGuide/struts-html.html They won't actually be connected to a database directly, instead they will read from a java.util.Collection (no ASP or PHP here ;-) -Original Message- From: Jobe,

RE: Reporting an Exception message in a JSP.

2003-02-25 Thread John Espey
Quick questiondo you really want the user to see a SQLException message? Assuming that is really what you want, there are constructors for AE that take a key and up to four objects that will be substituted in the error value that is specified for the key. The key and value appear in

RE: Reporting an Exception message in a JSP.

2003-02-25 Thread John Espey
What do you think of printing that exception out in comment, so you can view the source to see the exception but not have to worry about turning it on or off? -Original Message- From: Robert S. Sfeir [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 9:30 AM To: Struts Users

[OT] RE: where do i get info for setting the logging level in struts1.1.b3

2003-02-25 Thread John Espey
http://jakarta.apache.org/log4j look for log4j.properties -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:21 AM To: [EMAIL PROTECTED] Subject: where do i get info for setting the logging level in struts1.1.b3 Hi, I want

RE: struts book

2003-02-24 Thread John Espey
James- Probably to put [OT] when you drop into the realm of Off Topic -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 1:10 PM To: Struts Users Mailing List Subject: RE: struts book -Original Message- From: Kirby

RE: seeking shortcut name of current FormBean inside every html:from

2003-02-23 Thread John Espey
maybe I'm missing something, but if you use an EL tag (like the core:if or core:choose or logic-el:equals) you wouldn't need to do any scriptlet or casting. c:if test=${parameterForm.structure_changeable eq 1} /c:if as far as the constants, i'm not sure I follow. Hope this helps though...

RE: seeking shortcut name of current FormBean inside every html:from

2003-02-23 Thread John Espey
cast to the correct type for usage : - inside EL-Tag you wrote it is correctly typed - but for scriplet, isn't it just exposed as being of type java.lang.Object ?!?! -Original Message- From: John Espey [mailto:[EMAIL PROTECTED] Sent: Sonntag, 23. Februar 2003 17:21 To: Struts Users

RE: seeking shortcut name of current FormBean inside every html:from

2003-02-23 Thread John Espey
bean cast to the correct type for usage : - inside EL-Tag you wrote it is correctly typed - but for scriplet, isn't it just exposed as being of type java.lang.Object ?!?! -Original Message- From: John Espey [mailto:[EMAIL PROTECTED] Sent: Sonntag, 23. Februar 2003 17:21 To: Struts

RE: [OT] What's your IQ?

2003-02-22 Thread John Espey
142, ditto on the spacial reasoning =/ -Original Message- From: James Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 20, 2003 1:29 PM To: 'Struts Users Mailing List' Subject: Re: [OT] What's your IQ? 144 here. The spacial reasoning ones were *HARD* James

RE: [OT] What's your IQ?

2003-02-22 Thread John Espey
? who care about your pseudo IQ ??? - Original Message - From: John Espey [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, February 22, 2003 7:04 PM Subject: RE: [OT] What's your IQ? 142, ditto on the spacial reasoning =/ -Original

RE: Anybody have an idea??????????

2003-02-21 Thread John Espey
I would do this, register a ServletContext listener, add some logging or something simple to the context destroyed event, add a breakpoint to that line of code, and attach your debugger to Tomcat. Then try to shut down, and take a peak at what is going on with the various threads. That will at

RE: [OT] What's your IQ?

2003-02-20 Thread John Espey
Any chance Ted will send an autographed copy of the book to the highest scorer?? -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 8:53 AM To: Struts User List Subject: [OT] What's your IQ? Does our list consist of the best

RE: Universally Accessable Object

2003-02-20 Thread John Espey
1) create an object that implements ServletContextListener (read the javadocs on it to see how to configure it in web.xml) 2) put the object on the servlet context. Here's code from a listener that I have: public void contextInitialized(ServletContextEvent sce) {

RE: Universally Accessable Object

2003-02-20 Thread John Espey
Geeta, Do you really think this would be better than doing it in a servlet context listener? If your container doesn't support that, wouldn't you still prefer to write a plugin? Or a class that uses the class loader to make sure the data only gets loaded once? Or a startup class (if you don't

RE: Universally Accessable Object

2003-02-20 Thread John Espey
so far testing with it 9almost six months or so). But then we are really beginners in Struts so I'm sure we could learn! :) Geeta John Espey wrote: Geeta, Do you really think this would be better than doing it in a servlet context listener? If your container doesn't support

RE: return (mapping.getInputForward()); - not working

2003-02-19 Thread John Espey
Ramasami [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 9:55 AM To: Struts Users Mailing List Subject: RE: return (mapping.getInputForward()); - not working John, -- On Tue, 18 Feb 2003 19:56:43 John Espey wrote: Pani, Can you copy your action mapping configuration

RE: Who can tell me how to get off this mailing list

2003-02-19 Thread John Espey
I would try [EMAIL PROTECTED] you can also find this address at the bottom of every email you've received. -Original Message- From: Goldberg, Joel S [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 11:34 AM To: [EMAIL PROTECTED] Subject: Who can tell me how to get off

RE: Email validation example (Struts newbie)

2003-02-19 Thread John Espey
There is an excellent validator example that ships with Struts. It should be in the webapp directory and packaged in a war called struts-validator. -Original Message- From: Johan Kumps [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 4:48 PM To: Struts Users Mailing List

[OT] RE: [Q] Iterating over a collections.Bag works, but..?

2003-02-19 Thread John Espey
Out of pure curiosity, is the Bag you're using from the EDU.oswego libraries? -Original Message- From: WILLIAMS,RAND (HP-USA,ex1) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 3:58 PM To: 'Struts Users Mailing List' Subject: RE: [Q] Iterating over a collections.Bag

RE: [OT] RE: [Q] Iterating over a collections.Bag works, but..?

2003-02-19 Thread John Espey
Never mind, just realized there was a bag in commons, sorry -Original Message- From: John Espey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 4:57 PM To: Struts Users Mailing List Subject: [OT] RE: [Q] Iterating over a collections.Bag works, but..? Out of pure

RE: Application Flow with Transaction Tokens?

2003-02-18 Thread John Espey
Nobody will like this solution, but I've had to resort to it (as recommended by a coworker). Create a page scope javascript variable, and increment it when the user clicks the button, if it's equal to one , return true, otherwise false. I am fully aware of the shortcomings of javascript (for all

RE: return (mapping.getInputForward()); - not working

2003-02-18 Thread John Espey
Pani, Can you copy your action mapping configuration (if your input is an action can you copy that one too? -Original Message- From: Becky Norum [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 7:37 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: return

RE: Tiles, Struts 1.1 and index.jsp in EAR file

2003-02-18 Thread John Espey
you can do a forward from index JSP -Original Message- From: John Dubchak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 9:17 PM To: [EMAIL PROTECTED] Subject: Tiles, Struts 1.1 and index.jsp in EAR file Hello Everyone, I'm trying to configure tiles and struts

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread John Espey
i think the argument isn't about it being too servlet-container centric, rather that it is too tightly coupled to JSP as the view technology. -Original Message- From: James Childers [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 9:11 AM To: Struts Users Mailing List

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread John Espey
to use in JSPs but does not dictate that you must use JSP as your view layer. This has been demonstrated by people using Velocity, XML, and Web Services with Struts. David From: John Espey [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List

RE: Undergrad student seeking help with struts

2003-02-16 Thread John Espey
-Original Message- From: Michael Jobe [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 10:26 AM To: [EMAIL PROTECTED] Subject: Undergrad student seeking help with struts I am a undergrad student and I am just getting started developing using struts for a senior project.

RE: Controller - Model design question?

2003-02-16 Thread John Espey
components(just to use it!) my question was: Is it correct the Action to know about the EJB's interface? Hope I'll expained myself better than before. Thank you -Original Message- From: John Espey [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 4:19 AM To: Struts Users Mailing

RE: help on org.apache.commons.scaffold.sql.executeQuery needed - closes stament before evaluating result set ?????

2003-02-15 Thread John Espey
I ran into that error too... I think the only way it could work is if the jdbc driver being used has a bug, because according to the javadocs a close on a statement should also close the resultset. http://java.sun.com/j2se/1.4.1/docs/api/java/sql/Statement.html#close() I filed a bug report on

RE: Controller - Model design question?

2003-02-15 Thread John Espey
I'm not sure about your particular requirements, but I personally use a singleton ServiceLocator to do EJB home lookups. Because it is a Singleton, it is easier to find than the way you've shown, and it can be reused outside of the web container. -Original Message- From: Marco Tedone

RE: javax.sql.DataSource

2003-02-14 Thread John Espey
http://ibiblio.org/maven is a good place to find all sorts of libraries. -Original Message- From: Chiming Huang [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 10:20 AM To: [EMAIL PROTECTED] Subject: Re: javax.sql.DataSource Could you please point out where is the

RE: overriding the ActionServlet class

2003-02-14 Thread John Espey
Jason, Have you considered using a Filter instead? It might be better than extending the ActionServlet. If you can't use Filters, then you will want to write your own RequestProcessor instead of extending the ActionServlet. -Original Message- From: Jason Vinson [mailto:[EMAIL

RE: Newbie Question about tiles definitions. I am lost :(

2003-02-13 Thread John Espey
If you have *.do mapped to the action servlet, then you will need to request (relative to the webapp of course) /home.do or /products.do. You'll need to switch the action mapping like so: action path=/home forward=tiles.home Or else configure the mapping such that an action that automatically

RE: how to calculate A*B in jsp, where A and B are from nested:write

2003-02-13 Thread John Espey
I'm not familiar with the nested tags, but suppose you were using a struts-el text tag, you could do like so: html:text value=${width * depth}/ I'm guessing you can do something similar in the nested tags. -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent:

RE: how to calculate A*B in jsp, where A and B are from nested:write

2003-02-13 Thread John Espey
, where A and B are from nested:write ...ah! Much cleaner. No, I don't think there's a nested-el Sri P.S. I'm sure you meant html-el:text value=${width * depth}/ -Original Message- From: John Espey [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 4:13 PM To: Struts

RE: 1.0.2 with Collection property

2003-02-12 Thread John Espey
Can you post a snippet from your JSP? -Original Message- From: Clement, Stephen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 10:19 AM To: [EMAIL PROTECTED] Subject: 1.0.2 with Collection property Is it me or does the logic:iterate tag with a Collection property

RE: Simple question

2003-02-12 Thread John Espey
formName.property inside an el expression or name=formName property=property inside of tags that support these two attributes but not EL where formName is the name of the form in struts-config.xml -Original Message- From: julian green [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

[OT] - ServletContextListener

2003-02-11 Thread John Espey
Does anybody know if the container should be setting the contextClassLoader on the current thread when it loads the various listeners configured in web.xml? The particular behavior we're seeing is that the contextClassLoader for the thread launching our listeners (both context and session) is

RE: [OT] - ServletContextListener

2003-02-11 Thread John Espey
to me.. Thanks -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 2:49 PM To: Struts Users Mailing List Subject: Re: [OT] - ServletContextListener On Tue, 11 Feb 2003, John Espey wrote: Date: Tue, 11 Feb 2003 14:25:58 -0600

RE: Exception loading sessions from persistent storage

2003-02-11 Thread John Espey
It looks like there is a non-Serializable object on your session. I believe that whatever you put on the session must implement (directly or indirectly) Serializable or else be declared transient. -Original Message- From: Scot Rob [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11,

RE: posting an updated collection back to Action

2003-02-10 Thread John Espey
You can create indexed properties ( getOrderDetail(int), setOrderDetail(int, string) ) You have to back them whatever way you see fit (I've used arrays in the past but I had to make sure they were sized propertly on each call). On your JSP, the resulting names for your input fields will need

RE: posting an alternate value to a submit button

2003-02-10 Thread John Espey
You should look at the FindForwardAction in scaffold. It relies on you creating forwards that correspond to button names (with the .x or .y if you are using image buttons). If you can stomach a little bit of javascript (simply to set the value on a hidden field), you can use the RelayAction to

RE: Logging and log4j?

2003-02-10 Thread John Espey
By using Commons, you can defer the implementation of the logging framework that clients of your components use to configuration. In most circumstances you will see log4j used, but by using Commons it is very simple to change out your logging framework. -Original Message- From: Bjørn T

RE: to use Ant to configure my webApp with struts

2003-02-09 Thread John Espey
what do you mean by configure it with Ant? What type of configuration do you want to perform? -Original Message- From: Giovanni Di Lembo [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 09, 2003 12:07 PM To: [EMAIL PROTECTED] Subject: to use Ant to configure my webApp with struts Hi

RE: to use Ant to configure my webApp with struts

2003-02-09 Thread John Espey
place. - Original Message - From: John Espey [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, February 09, 2003 7:06 PM Subject: RE: to use Ant to configure my webApp with struts what do you mean by configure it with Ant? What type of configuration do

RE: How do i keep the commons-*.jar files from being required? (Weblogic 5.1)

2003-02-05 Thread John Espey
1.1 factored a lot of common functionality out to the commons libraries. You will have to include them as far as I know when using 1.1. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 10:02 AM To: Struts Users Mailing List Subject:

RE: How do i keep the commons-*.jar files from being required? (Weblogic 5.1)

2003-02-05 Thread John Espey
Oh yea, and I wouldn't add the commons libraries to your system or weblogic class path, put them in web-inf/lib. -Original Message- From: John Espey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 10:07 AM To: Struts Users Mailing List Subject: RE: How do i keep the commons

RE: simeple question about logic:iterate

2003-02-05 Thread John Espey
You won't need the logic iterate tag. The following would suffice: html:select property=subject html:options collection=your_collection property=your_property labelProperty=your_label_property/ /html:select Hope this makes sense, all you

RE: Struts Tools

2003-02-05 Thread John Espey
Have you ever used JBuilder? I'm just curious, I've never met anyone that actually had used it and thought it was very good. You should check into Eclipse. -Original Message- From: Expedito Reinaldo da Silva Júnior [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:35 AM

RE: How do i keep the commons-*.jar files from being required? (Weblogic 5.1)

2003-02-05 Thread John Espey
http://www.newegg.com/app/ViewProduct.asp?submit=manufactorycatalog=14manu factory=1304DEPA=1sortby=14order=1 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:00 PM To: [EMAIL PROTECTED] Subject: RE: How do i keep the

RE: how to access a specific object inside a List efficiently

2003-02-05 Thread John Espey
what's wrong with the values() method? -Original Message- From: Derek Shen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 1:06 PM To: [EMAIL PROTECTED] Subject: RE: how to access a specific object inside a List efficiently How to iterate through the values of a Map?

RE: how to access a specific object inside a List efficiently

2003-02-05 Thread John Espey
] Subject: RE: how to access a specific object inside a List efficiently Because there's no getter method for the values. To iterate through the values of a map: logic:iterate id=row name=map property=??? If there's getValues() method, values can be put as the property. From: John Espey [EMAIL

RE: form naming

2003-02-05 Thread John Espey
Vinay, The name will appear as the name specified in struts-config.xml for the action to which your form is submitting. ie- action path=/MyAction type=com.mypackage.MyAction name=mySimpleForm validate=false forward name=success path=/success.jsp/

RE: Date format question

2003-02-05 Thread John Espey
the JSTL format parseDate tag will do the trick for you -Original Message- From: Swish [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 7:34 PM To: Struts Users Mailing List Subject: Date format question Hello, I was wondering if there is a way to use the bean:write tag

RE: Do I have to set a classpath? If so, how?

2003-02-04 Thread John Espey
http://developer.java.sun.com/developer/bugParade/bugs/4034167.html I saw this bug report, not sure how releavant it is to your problem, but it could cause problems. Apparently on many JVMs, (though not all) a class in a package cannot access a class in the default package. I tried three VMs

RE: Screen-flow based on data entered on a form

2003-02-03 Thread John Espey
IMHO: I personally don't think what you've described goes against the Struts way. It seems to be very common for an action to check a condition and forward to an appropriate resource based on that condition. (Which seems inline with the role of a controller in any MVC application)

RE: Design question: Model component using Business logic beans

2003-02-03 Thread John Espey
I would have the business components handle their own DB connections (they shouldn't rely on the presentation layer for that). As far as your errors coming back to the presentation layer, I usually have a BusinessDelegate class that the action makes business calls into. That business delegate is

RE: html:text tag indexed attribute

2003-02-02 Thread John Espey
I think this is how you'd do it using JSTL and Struts-EL (I may have messed the names up) c:forEach var=aString items=aForm.stringArray status=status html:text property=astring[${status.count}]/ /c:forEach -Original Message- From: Charlie Toohey [mailto:[EMAIL PROTECTED]] Sent:

RE: are static classes GC'd?

2003-01-31 Thread John Espey
I believe classes are never garbage collected, only objects. What sort of issue are you having where this question arose? -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 8:03 AM To: [EMAIL PROTECTED] Subject: are static classes GC'd? A

RE: are static classes GC'd?

2003-01-31 Thread John Espey
: John Espey [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: are static classes GC'd? Date: Fri, 31 Jan 2003 08:46:13 -0600 I believe classes are never garbage collected, only objects. What sort of issue are you

RE: are static classes GC'd?

2003-01-31 Thread John Espey
not references in the method? Or is TemplatesCache.getInstance().get(key); considered as a reference? Thanks From: John Espey [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: are static classes GC'd? Date: Fri, 31

RE: one desing question, Revisited

2003-01-31 Thread John Espey
You could create a CommonFunctionsFactory, with a method: CommonFunctions getCommonFunctionsByClass(Class) Your action could pass itself to this call to retrieve a CommonFunctions implementation, determined by the Factory, which could look up in a properties file which implementation to create

RE: one desing question, Revisited

2003-01-31 Thread John Espey
sorry, the action wouldn't pass itself, it would pass its class. -Original Message- From: John Espey [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 10:10 AM To: Struts Users Mailing List Subject: RE: one desing question, Revisited You could create a CommonFunctionsFactory

RE: using images and modules

2003-01-31 Thread John Espey
I submitted a bug about this. The documentation on the Struts site claims that the page attribute is context relative, when in reality it is moduleRelative (as described in the source documentation). I haven't heard anything back yet though. -Original Message- From: Andy Kriger

RE: proper use of back button -- design patterns

2003-01-31 Thread John Espey
I'm curious if people find the token idiom useful in Struts. It seems to me that if you get a double submission, the first action goes about its business, and the action invoked on the second submission catches the problem. But how does that action know where to forward the user? Isn't it better

RE: Passing parameter in a pop up window

2003-01-30 Thread John Espey
Why didn't you use the html-EL taglibrary to do it? It seems like it would be the simplest way to do it -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 9:02 AM To: 'Struts Users Mailing List' Subject: RE: Passing parameter in a pop up

RE: [OT] Geek Code

2003-01-30 Thread John Espey
We should take political discussions offline as well, we don't ALL share your views. ;-) -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 2:24 PM To: Struts Users Mailing List Subject: RE: [OT] Geek Code Hey guys, Let's stop to

RE: Struts-el

2003-01-30 Thread John Espey
I would use the JSTL core:out tag, but I would also probably use the core:forEach tag instead of the logic:iterate: c:forEach var=tran items=${trans.transactions} tr tdc:out value=${tran.acctno}//td tdc:out value=${tran.testcode}//td tdc:out

RE: one desing question, need help

2003-01-30 Thread John Espey
Just write a singleton class with methods that take the appropriate parameters, and have both actions delegate to that class. Then any other classes can use those services also. -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 5:30 PM

RE: one desing question, need help

2003-01-30 Thread John Espey
the connection and properties in the request to these actions, then after they are done, return the connection or close it, and essentially clean up whatever you created. Filters Rock! - Area Culligan man | -Original Message- | From: John Espey [mailto:[EMAIL PROTECTED]] | Sent: Thursday

RE: How can I retrieve Parameter from Action Bean to JSP ?

2003-01-29 Thread John Espey
If you just want to output it, you could use the JSTL core:out tag, something like this: c:out value=${myForm.recordNumber}/. The form should be available in the request scope as an attribute with the name specified in your struts config file. It doesn't look like the bean:write tag was ported

RE: Réf. : Re: No getter method for property message

2002-11-07 Thread John Espey
not sure if this matters, but there isn't a closing quote around the action definition in your form tag -Original Message- From: [EMAIL PROTECTED] [mailto:meissa.Sakho;bpam.fr] Sent: Thursday, November 07, 2002 9:02 AM To: Struts Users Mailing List Subject: Réf. : Re: No getter method for