RE: inserting delimiters

2004-05-05 Thread Robert Taylor
title for the category. This is a little > like the problem I posted, except that the outer loop needs a > delimiter and the inner loop needs the / delimiter. What > might that look like? > > Robert Taylor wrote: > > >One solution would be the following: > >

RE: inserting delimiters

2004-05-06 Thread Robert Taylor
/WEB-INF/tiles/content/misc/EditSeries.jsp(21,0) According to TLD or > attribute directive in tag file, attribute items does not accept any > expressions at > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:83) > at > > Know what's wro

RE: sending emails from a struts app

2004-05-18 Thread Robert Taylor
Daniel, we have several applications (both web and others) which send email for various reasons. We queue up the email messages in a database and allow a separate process to sift through the queue (every 30 seconds) and send any unsent messages. This way we avoid the threading issue in the appl

RE: How to get length of an array(collection)

2004-05-24 Thread Robert Taylor
robert > -Original Message- > From: Ding Lei [mailto:[EMAIL PROTECTED] > Sent: Saturday, May 22, 2004 1:45 AM > To: [EMAIL PROTECTED] > Subject: How to get length of an array(collection) > > > Hello all, > There is an array(dsmccList) obtained by a self-defined tag, and I wanna t

RE: Design Issue - Unchanged data getting submitted

2004-05-24 Thread Robert Taylor
I assume your using BMP for persistence. If so, then you could implement a Store Optimization (Dirty Marker) Strategy which would control which fields get updated. For CMP, the container should manage this. For more on this strategy: http://java.sun.com/blueprints/corej2eepatterns/Patterns/Compos

RE: tag

2004-05-25 Thread Robert Taylor
http://jakarta.apache.org/struts/userGuide/struts-html.html#link > -Original Message- > From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 25, 2004 4:47 PM > To: [EMAIL PROTECTED] > Cc: PADALA, SANDHYA (SBCSI) > Subject: tag > > > I am trying to generate usi

RE: [OT]: StatefulSessionBeans and HTTPSession

2004-05-28 Thread Robert Taylor
Why? It appears that you already have the appropriate "best practices" solution. Are you trying to avoid using a BusinessDelegate? robert > -Original Message- > From: Kunal H. Parikh [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 27, 2004 9:15 PM > To: Struts Users Mailing List > Subject

RE: [OT] EJB/Struts Design Question

2004-06-06 Thread Robert Taylor
Navjot, This sounds like a good design and follows suggested best practices. >From a pure architectural perspective, I think your existing solution is best. However if you are concerned with performance, then you may want to look into the FastLaneReader pattern. http://java.sun.com/blueprints/p

RE: Action Forward

2004-06-08 Thread Robert Taylor
Yes. return new ActionForward(path); robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 7:17 AM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: Action Forward Is it possible to forward to a page(ht

[OT] RE: wahtd does it means ? envCtx = (Context) initCtx.lookup("java:comp/env");

2004-06-08 Thread Robert Taylor
This is not really a Struts question and as such the subject should be prepended with [OT]. That being said, that particular line of code is retrieving the /env context. The javadocs are pretty good at explaining what a Context is and how it is used. http://java.sun.com/j2se/1.4.2/docs/api/java

RE: Need Help

2004-06-11 Thread Robert Taylor
Use Struts EL library: Submit or use scriptlets: <% String onclick = "javascript:callAction('" + beanValue + "')"; %> Submit robert -Original Message- From: Bharat Bhushan [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 12:29 PM To: [EMAIL PROTECTED] Subject: Need H

RE: Different input formats

2004-06-14 Thread Robert Taylor
Use Strings as data memebers in your action form when ever possible. You can "translate" the input in the action class performing what ever logic is necessary. robert > -Original Message- > From: Renato Romano [mailto:[EMAIL PROTECTED] > Sent: Monday, June 14, 2004 11:29 AM > To: 'Struts

RE: [OT] Soccer portal released goal.com

2004-06-17 Thread Robert Taylor
Wow! Cool site. Good job. Did you do all page authoring(javascript, css, dhtml, graphics, etc...) or just server side development (architecture, site design/structure, functionality, etc...)? How long did it take to design and implement? robert > -Original Message- > From: Simone - Dev

RE: how to implement && using tag in struts

2004-06-17 Thread Robert Taylor
I don't think you can. You can do this sort of thing with JSTL: robert > -Original Message- > From: Asim Ghosh [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 17, 2004 9:35 AM > To: [EMAIL PROTECTED] > Subject: how to implement && using tag in struts > > > hello guys, > >h

RE: Theoretical debate

2004-06-17 Thread Robert Taylor
> In Struts, although you aren't FORCED to, what you GENERALLY do is create > three different Action classes like addItemAction, removeItemAction and > totalPriceAction, and each is called in response to a form submission. > > But isn't it kind of odd that your object model isn't following what

RE: how do i get members of DynaActionForm inside Action Class

2004-06-22 Thread Robert Taylor
DynaActionForm theForm = (DynaActionForm) form; String myValue = (String) theForm.get("myValueName"); robert > -Original Message- > From: Asim Ghosh [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 22, 2004 5:30 AM > To: [EMAIL PROTECTED] > Subject: how do i get members of DynaActionForm i

RE: [OT] Issues while developing and deploying enterprise application

2004-06-23 Thread Robert Taylor
Navjot, although I don't have an answer for you, I posted (forwarded) your question to the [EMAIL PROTECTED] mailing list which may be a more appropriate list for this type of question. robert > -Original Message- > From: Navjot Singh [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 23,

RE: Logic:Iterate Problem

2004-06-23 Thread Robert Taylor
Assuming you have a scoped Collection named "pageRecords": Struts tags: JSTL: robert > -Original Message- > From: Eddie Yan [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 23, 2004 12:06 PM > To: [EMAIL PROTECTED] > Subject: Logic:Iterate Problem > > > Hi guys, > > Say I

RE: Struts and PL/SQL

2004-06-23 Thread Robert Taylor
If your trying to avoid the overhead of EJB, then you may want to look into the Spring framework. I've been wanting to find a flexible architecture/framework which allows me to start with a non-EJB type of approach and easily scale to using an EJB container while minimizing the impact on the applic

RE: Setting html:hidden property using JSTL

2004-06-23 Thread Robert Taylor
I believe the reason it's not populated in the action form is because its in the request as an attribute and not a parameter. I just started experimenting with jstl and i'd like to set a hidden field on MyActionForm using a value (contentId) available as an attribute on the request. robert >

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Robert Taylor
I'm sorry, I've missed parts of this thread, but this last message caught my eye when you said it's printing ${contentId} to the screen instead of the value of contentId. Which servlet spec. does your container support? I've seen this type of behavior when the container supports Servlet Spec. 2.4

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Robert Taylor
1.0. For JSP 2.0, use JSTL 1.1. As > Robert illustrated, the taglib URIs are not the same for the two JSTL > versions. > > Quoting Robert Taylor <[EMAIL PROTECTED]>: > > > I'm sorry, I've missed parts of this thread, but this > > last message caught my

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Robert Taylor
ke sure the integrated JSTL is not being used. > > > -Original Message- > > From: klute [mailto:[EMAIL PROTECTED] > > > > Robert, > > > > I am using servlet spec 2.3 and i did all the steps > > you mentioned. > > > > Thanks, &

[OT] FW: Timothy J Theis is out of the office

2004-06-24 Thread Robert Taylor
Should we call Mike, and tell him to tell Tim to unsubscribe when he is out of the office :) robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 9:55 PM To: [EMAIL PROTECTED] Subject: Timothy J Theis is out of the office I will b

RE: Trying to learn Struts, need help understanding design process

2004-06-25 Thread Robert Taylor
A general design for this sort of thing would be to load your collection of teams at application start up and put them into the ServletContext. Define an action for displaying the teams page and an action for processing the user input after they have selected a team. Define your actions to forward

RE: Is it possible to reuse the same FormBean with different actions?

2004-06-25 Thread Robert Taylor
Use different action mappings with same form bean. Each action mapping can have a different input attribute value for validation. robert > -Original Message- > From: Asif Rahman [mailto:[EMAIL PROTECTED] > Sent: Friday, June 25, 2004 3:52 PM > To: Struts Users Mailing List > Subject: Is i

[OT] Anatomy of a long URL

2004-06-28 Thread Robert Taylor
I'm not sure the subject of this email is indicative of my question, but I have always wondered why amazon, sun, and some financial institutions, use long URL's for invoking actions. My only guess, since I've only worked at small companies where all the applications pretty much run on one machine

RE: [OT] Anatomy of a long URL

2004-06-28 Thread Robert Taylor
limit. Also, hidden fields are > written out with your objects serialized into a string that you repost next > time you click a link on the page. > > > -Original Message- > From: Robert Taylor [mailto:[EMAIL PROTECTED] > Sent: Monday, June 28, 2004 8:51 AM > To:

RE: [OT] Anatomy of a long URL

2004-06-28 Thread Robert Taylor
; codes that only the server understands, others tend to use nested > directories, eg: > http://news.bbc.co.uk/1/hi/world/middle_east/3845517.stm > > Daniel. > > > -Original Message- > > From: Robert Taylor [mailto:[EMAIL PROTECTED] > > Sent: 28 June 2004 14:5

RE: image submit and lookupDispatchAction - drives me struts

2004-06-28 Thread Robert Taylor
This may help: http://issues.apache.org/bugzilla/show_bug.cgi?id=19925 robert > -Original Message- > From: Axel Groß [mailto:[EMAIL PROTECTED] > Sent: Monday, June 28, 2004 11:52 AM > To: Struts Users Mailing List > Subject: Re: image submit and lookupDispatchAction - drives me struts >

[OT] Sending multipart alternative emails (HTML and text)

2004-06-28 Thread Robert Taylor
I've been tasked with sending out emails which contain both HTML and text. I have successfully implemented this and tested it in Outlook 2000, 2002, 2003, Outlook Express and various web email clients (Yahoo, Hotmail, etc...). The problem I have is that some users, get the emails with a message

RE: [OT] Sending multipart alternative emails (HTML and text)

2004-06-29 Thread Robert Taylor
Robert, > > perhaps you may look at: > http://jakarta.apache.org/commons/sandbox/email/ > > there is allready an implemented multipartemail.clazz > > i used them successfully in my application. they are > easy to use, you are *free* from the java-mail-api > > Cheer

RE: [OT] How to do Xalan parsing of XML file retrieved with HTTP?

2004-07-01 Thread Robert Taylor
Have you looked into using the JSTL XML core and transform tag libraries? I haven't used them yet, but they have tags which allow you to parse and transform. robert > -Original Message- > From: Kransen, J. [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 01, 2004 4:47 AM > To: 'Struts Us

RE: getSession simultaneously

2004-07-01 Thread Robert Taylor
To isolate this problem, you should remove Struts from the equation and them perform the tests. For example create a simple web application with a servlet and access it concurrently and see what happens. robert > -Original Message- > From: Mathieu Grimault [mailto:[EMAIL PROTECTED] > Se

RE: Urgent help needed on struts!

2004-07-01 Thread Robert Taylor
There was a recent thread on this behavior although I cannot recall the resolution. Please search the mail archives. Also, make sure you have the appropriate .tld and .jar files in place. Make sure you web.xml file corresponds to the containers supported Servlet spec. Make sure you have importe

RE: Urgent help needed on struts!

2004-07-01 Thread Robert Taylor
; I'v searched all the recent 800 messages, and found no > similiar messages .. > Would any one of you kindly tell me what might causes the problem? > Thank you! > > > > Ding Lei > > > On Thu, Jul 01, 2004 at 12:25:50PM -0400, Robert Taylor wrote:

RE: What Is Wrong With This Tag?

2004-07-01 Thread Robert Taylor
You cannot embed tags as attribute values in other tags. Assuming you are using Struts-EL tag library AND the container you are using supports JSTL 1.1, then you can try the following: This code is not tested. robert > -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECT

RE: Urgent help needed on struts!

2004-07-02 Thread Robert Taylor
ase tell me? > > Thanks again. > > > > Ding Lei > > > > > On Thu, Jul 01, 2004 at 01:41:15PM -0400, Robert Taylor wrote: > > Remove the doctype declaration: > > > > "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";> > >

RE: image submit and lookupDispatchAction - drives me struts

2004-07-02 Thread Robert Taylor
of the button name it should work > for me; i should add some regexp lookup, maybe :) > > thanks, > axel > > On 2004-06-28 at 12:00:22 -0400, Robert Taylor wrote: > > This may help: > > > > http://issues.apache.org/bugzilla/show_bug.cgi?id=19925 > > > &

RE: javax.servlet.ServletException: Cannot find bean dblist in scope request

2004-07-06 Thread Robert Taylor
Okay. As I understand it, you have an action which retrieves information from the database and places it in the request scope under the name "dblist" and then forwards to page which should iterate over the list and render its contents. The problem you are having is that the iterate tag cannot f

RE: [OT] Speaking of "gratuitously difficult".....

2004-07-06 Thread Robert Taylor
+1 > -Original Message- > From: Bryan Hunt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 11:37 AM > To: Struts Users Mailing List > Subject: Re: [OT] Speaking of "gratuitously difficult". > > > Forget about it, the only way to do it without tearing your hair out is > to u

RE: Request bean is lost

2004-07-06 Thread Robert Taylor
One solution is to point the input attribute value of the PageSubmit.do action mapping to the Page.do action mapping thus re-retrieving the lists before displaying the page. An alternative solution is to override the reset() of your action form so that it retrieves the lists from the database and

RE: Submitting Indexed Properties and List Size/Resize

2004-07-06 Thread Robert Taylor
David, take a look at lazyList here: http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_1/org/apache/commons/collections/ListUtils.html robert > -Original Message- > From: Ellingson, David [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 3:22 PM > To: '[EMAIL PROT

RE: Request bean is lost

2004-07-06 Thread Robert Taylor
y 3 Lists as > > part of the > > Form bean. > > The user selects from the list and submits the data. > > If I set the imput to /Page.do wouldn't I lose the user's input? > > No, the input param in struts-config.xml is expressly used for the case &

RE: Request bean is lost

2004-07-06 Thread Robert Taylor
Let me clarify the last statement: Page.do will write over any input values to which it is programmed to write. ...more eloquently stated by Jim "It shouldn't... unless you are overwriting those fields in page.do explicitly." robert > -Original Message----- > From:

RE: Request bean is lost

2004-07-06 Thread Robert Taylor
on is not acceptable for these > lists. > > If I go the first solution route, then I have my 3 Lists as part of the > Form bean. > The user selects from the list and submits the data. > If I set the imput to /Page.do wouldn't I lose the user's input? > > - Glenn > &

RE: Session facade

2004-07-07 Thread Robert Taylor
+1 I would also add that the Facade should be an interface where the implementation can change without affecting the client code. I would also recommend looking at the Spring framework. It provides declarative transaction management without using EJB. I also provides a declarative way to "plug-i

RE: RE: Spring or Tapestry Framework

2004-07-07 Thread Robert Taylor
I got it (Expert one-on-one J2EE Design and Development) used on Amazon for $8.50 including shipping. It arrived looking brand new. He's got a new one coming out in November, "Professional Java Development with the Spring Framework". http://www.amazon.com/exec/obidos/tg/detail/-/0764574833/qid=108

RE: ActionForward with runtime parameter?

2004-07-08 Thread Robert Taylor
You may also want to check out ParameterActionForward: http://www.mail-archive.com/[EMAIL PROTECTED]/msg96372.html robert > -Original Message- > From: Twan Kogels [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 10:21 AM > To: Struts Users Mailing List > Subject: RE: ActionForwar

RE: LookupDispatchAction and html:image

2004-07-09 Thread Robert Taylor
This may help, although its a modification of DispatchAction not LookupDispatchAction http://issues.apache.org/bugzilla/show_bug.cgi?id=19925 robert > -Original Message- > From: Darryl Smith [mailto:[EMAIL PROTECTED] > Sent: Friday, July 09, 2004 11:22 AM > To: Struts Users Mailing List >

RE: [OT] Get Servlet Mapping at Runtime

2004-07-09 Thread Robert Taylor
I think you would have to define the mapping that exists in web.xml for that servlet in one of that servlets init parameters. I don't believe its explicitely available through an API call. robert > -Original Message- > From: Hookom, Jacob [mailto:[EMAIL PROTECTED] > Sent: Friday, July 0

RE: [EVIL] Modifying a request parameter

2004-07-09 Thread Robert Taylor
LOL > -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED] > Sent: Friday, July 09, 2004 1:41 PM > To: Struts Users Mailing List > Subject: Re: [EVIL] Modifying a request parameter > > > Jim Barrows wrote: > > > Then of course there's the attribute oriented programming

RE: Why Ajp13Connector.class is not found in tomcat-jk.jar inTomca 5.x but in Tomca 4.x

2004-07-10 Thread Robert Taylor
http://jakarta.apache.org/site/mail2.html#Tomcat > -Original Message- > From: ganesh gadi [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 10, 2004 6:31 AM > To: Struts Users Mailing List > Subject: Why Ajp13Connector.class is not found in tomcat-jk.jar inTomca > 5.x but in Tomca 4.x > >

RE: How to extract columnNames values

2004-07-13 Thread Robert Taylor
You might want to address the Hibernate mailing list as this is not really a Struts question...or at the very least prepend the subject with [OT]. robert > -Original Message- > From: Indra Gunawan [mailto:[EMAIL PROTECTED] > Sent: Friday, June 11, 2004 2:27 AM > To: 'Struts Users Mailing

RE: how to use dynamic values in html:radio

2004-07-14 Thread Robert Taylor
Can you be more descriptive as to what doesn't work? Are you including the Struts-EL taglib? What does the raw HTML look like? Is there a stack trace? robert > -Original Message- > From: ron piterman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 11:45 AM > To: [EMAIL PROTECT

RE: how to use dynamic values in html:radio

2004-07-14 Thread Robert Taylor
: how to use dynamic values in html:radio > > > I'm not using EL, should I ? > there is no raw HTML because the html:radio tag does not digest the > ${bean.prop} expression. > Cheers, > Ron > > > Robert Taylor wrote: > > Can you be more descriptive as to what

RE: outputting mysql (or any other database) error in jsp

2004-07-17 Thread Robert Taylor
One strategy is to wrap the SQLException thrown by mySQL in a meaningful ApplicationException which can be caught in your action class or declarative exception handling mechanism and "interpretted" into the appropriate client error message which can be placed in the appropriate scope (request or se

RE: JSF vs Struts - Development Process Questions

2004-07-19 Thread Robert Taylor
> If you'd like to see some leading edge Flash, turn up your sound and go to > http://www.2advanced.com/ That's some pretty cool stuff! robert > -Original Message- > From: Mike Duffy [mailto:[EMAIL PROTECTED] > Sent: Monday, July 19, 2004 12:58 PM > To: Struts Users Mailing List > Subjec

RE: About Struts + JBoss preference issue

2004-07-22 Thread Robert Taylor
This approach sounds similar to the Spring IoC framework. Objects are defined in an xml file and a manager loads them into memory. Your action class looks up beans using something like: MyBD bd = (MyBD)applicationContext.getBean("MyBD"); So you don't have to implement the ServiceLocator or Single

RE: coupla easy (I hope) beginner questions

2004-07-22 Thread Robert Taylor
I'm no guru, but You can put the appropriate HTML stuff in, but the basics are as follows: Sorry, can't help you with your second question :( robert > -Original Message- > From: Tim Cross [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 9:22 AM > To: [EMAIL PROTECTED]

RE: Form Bean and decions based on Business Logic calls

2004-07-22 Thread Robert Taylor
Define success and failure forwards in your struts-config file for the specified action. In the action class (which should delegate to a business object), retrieve the data. Upon failure, forward to the "failure" forward, else forward to the "success" forward. You could achieve the same using de

RE: parameterizing action attribute to html:form

2004-07-22 Thread Robert Taylor
You have to use the Struts-EL tag library for this to work with EL. robert > -Original Message- > From: Sergey Livanov [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 12:03 PM > To: Struts Mailing List > Subject: parameterizing action attribute to html:form > > > Please advise

RE: parameterizing action attribute to html:form

2004-07-22 Thread Robert Taylor
Are you including the html-el tag library in the page? robert > -Original Message- > From: Sergey Livanov [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 12:03 PM > To: Struts Mailing List > Subject: parameterizing action attribute to html:form > > > Please advise me, > > I t

RE: Form Bean and decions based on Business Logic calls

2004-07-22 Thread Robert Taylor
here. > > I am also interested in knowing if this is the correct approach to have the > form bean make such calls. If not, then kindly suggest a better > implementation. > > Regards, > Muhammad Momin Rashid. > > "Robert Taylor" <[EMAIL PROTECTED]> w

RE: Form Bean and decions based on Business Logic calls

2004-07-24 Thread Robert Taylor
formation returned by the Business Logic > the user is allowed to proceed to reset password or not. > > Regards, > Muhammad Momin Rashid > > "Robert Taylor" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > As Jim already mentioned, its

RE: DynaActionForm and ArrayList : IndexOutOfBoundsException

2004-07-27 Thread Robert Taylor
This problem has been discussed many times on this list. I recommend you search the archives. In the mean time, have a look at using a lazy list. http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_1/org/apache/commons/collections/ListUtils.html#lazyList(java.ut il.List,%20org.apa

RE: Display collection size with jstl

2004-07-31 Thread Robert Taylor
Linus, this question belongs on the JSTL mailing list. The answer can also be found in the JSLT 1.1 (mr) specification section 15.8. robert > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Linus Nikander > Sent: Saturday, July 31, 2004 8:39 AM > To: [EMAIL PROTECTE

RE: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Robert Taylor
Since you are using an EL construct in the value attribute of the , you will need to import the Struts html-el tag library so that the tag "knows" how to extract information from the scoped attribute. robert > -Original Message- > From: Ricardo Gladwell [mailto:[EMAIL PROTECTED] > Sent: F

RE: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Robert Taylor
uld indicate that the EL > version of the taglibs are working successfully. > > What is a puzzle is why is the setter method in the the DynaActionForm > being passed 'webdav.url' as the property name parameter, but 'null' as > the value name parameter? > &

RE: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Robert Taylor
Mailing List > Subject: Re: Problem setting nested bean properties on ActionForms > > > Not if hes using a servlet container that supports el. > > Niall > > ----- Original Message - > From: "Robert Taylor" <[EMAIL PROTECTED]> > To: "Struts Us

RE: Problem setting nested bean properties on ActionForms

2004-08-06 Thread Robert Taylor
Ah ha! You need to change your What should happen is that when struts tag is passed the property name webdav.url, it will access the webdav object and then since you are using a nested expression, it will invoke getUrl() on the webdav object which should return a string. So try changing your fo

RE: I suspect this is a bad idea...so what's a better one?

2004-08-09 Thread Robert Taylor
Joe, you could move your business logic to a service layer which also leverages the Command pattern. You could have a base command which did something similar as Craig has outlined. public abstract class BaseCommand { public void execute() throws Exception { try {

RE: HTML question

2004-08-12 Thread Robert Taylor
Start here: http://www.htmlhelp.org/faq/html/ BTW, I found this using Google. http://groups.google.com/groups?q=HTML+&ie=UTF-8&hl=en&btnG=Google+Search You may want to search Google Groups to find an answer to your HTML question. robert > -Original Message- > From: Erez Efrati [mailto:[

RE: Loosing request attributes

2004-08-13 Thread Robert Taylor
form.reset(); robert > -Original Message- > From: Leandro Melo [mailto:[EMAIL PROTECTED] > Sent: Friday, August 13, 2004 11:20 AM > To: Struts Users Mailing List > Subject: Re: Loosing request attributes > > > I was taking a look at the HttpServeltRequest and > ServletRequest apis and not

RE: [OT] DAO ... where to draw the line?

2004-08-16 Thread Robert Taylor
Strategy 3. I would basically have a DAO that handles the search query and returns a collection of value objects for the related use case. When the user clicks on a specific employee, then render the details using your employee DTO. As far as patterns are concerned you may want to take a look as

RE: Learning the basics

2004-08-18 Thread Robert Taylor
Ken, if you are familiar with basic web programming and the web MVC architecture, then download the Struts examples and go through them. That should get you up and running. After that, there are several books and a couple of good sites that can get you up to speed. The struts website contains a

RE: HTTP status 500 - No input attribute for mapping path /login

2004-08-22 Thread Robert Taylor
It seems that you have this action path set to validate user input. When validation fails, Struts looks in its action mapping for the input attribute value which tells it where to go when validation fails. Apparently you don't have an input attribute defined for your /login action mapping. robert

RE: Using Struts HTML tags

2004-08-27 Thread Robert Taylor
Just a note: You cannot embed tags within another tag's attribute; ie, "/> is not allowed. You could use JSTL and do something like I think your container has to be JSP2.0 compliant; if not then you could use the Struts-EL library. robert > -Original Message- > From: Varley, Roger [

RE: SecurityFilter Question?

2004-08-31 Thread Robert Taylor
I haven't been following this thread too closely but I know its been some what long so if this solution has already been proposed, I apologize in advance. We use SecurityFilter and an additional filter which checks for the Principal in the request. If the Principal exists, then we can be assured

RE: Height and width missing from

2004-09-02 Thread Robert Taylor
If you are using it to render an then use which should have the appropriate attributes. The is for rendering which does not have the height and width attributes. robert > -Original Message- > From: Janne Mattila [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 7:23 AM >

RE: Proper place for validation

2004-09-07 Thread Robert Taylor
I would avoid putting any business logic in the action class. Place this type of logic in the business class as it most likely is validation that is valid across all application logic and not for just one use case. robert > -Original Message- > From: Janne Mattila [mailto:[EMAIL PROTECTE

RE: [ANN] Bridgetown IoC Framework

2004-09-08 Thread Robert Taylor
Peter, this sounds interesting, but what would Bridgetown offer over a more mature IoC container like Spring? robert > -Original Message- > From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 3:52 AM > To: Struts User Apache (E-mail) > Subject: FW: [ANN] B

RE: [OT]: Best book J2EE Design patterns

2004-09-09 Thread Robert Taylor
+1. Both Johnson books are top notch. I highly recommend them to any J2EE developer. robert > -Original Message- > From: Nail, Evan Burke [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 7:57 AM > To: Struts Users Mailing List > Subject: RE: [OT]: Best book J2EE Design patte

RE: Moving from environment to environment

2004-09-10 Thread Robert Taylor
Dave, I have 3 environments: Development, Staging, and Production. I use Ant and have different deployment targets. Each target replaces tokens with the values which correspond to its deployment environment. Ant makes this pretty easy to do. http://ant.apache.org/manual/CoreTypes/filterset.html

RE: Validator with DispatchAction...help!...newbie

2004-09-14 Thread Robert Taylor
ValidatorForm, ValidatorActionForm, DynaValidatorForm, and DynaValidatorActionForm allow you to leverage the validation framework in Struts. How you use DispatchAction determines what you need to do to make it work with the validation framework. For example there are two basic approaches: 1. Di

RE: I'm going back to just using regular Actions.. a question

2004-09-17 Thread Robert Taylor
Rick, I have been using the following package layout for a while and it seems to make sense. For example, let's say the foo web application consists of various sub applications like account, store, product download, etc com.acme.applications.web.foo.account.action com.acme.applications.we

RE: I'm going back to just using regular Actions.. a question

2004-09-17 Thread Robert Taylor
17, 2004 3:05 PM > To: Struts Users Mailing List > Subject: Re: I'm going back to just using regular Actions.. a question > > > Robert Taylor wrote the following on 9/17/2004 2:58 PM: > > > com.acme.applications.web.foo.account.action > > com.acme.applications.

RE: Idea for chain and DB transactions

2004-09-17 Thread Robert Taylor
Sean, have you looked at Spring? It uses AOP and you can set up transactions declaratively. I'm just starting to investigate using Spring and I'm really impressed. Like you I had a requirement to demarcate transactions at a high level so that all business objects within the transaction were subj

RE: html:select in Struts

2004-09-19 Thread Robert Taylor
Is this the actual HTML generated by the .jsp page? robert > -Original Message- > From: Priya Jotwani [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 19, 2004 7:44 AM > To: Struts Users Mailing List > Subject: html:select in Struts > > > Hi Guys, > > > > I have a JSP Page with t

RE: html:select in Struts

2004-09-19 Thread Robert Taylor
[EMAIL PROTECTED] > Sent: Sunday, September 19, 2004 7:53 AM > To: [EMAIL PROTECTED] > Subject: RE: html:select in Struts > > > Hi Robert, > > This is the HTML code I have written in my JSP page for including the > two DropDowns. > > Thanks, > Priya. > >

RE: Checking a cookie or redirecting - best way?

2004-09-21 Thread Robert Taylor
Why not use a Filter? The logic goes in one place and you can map the Filter to all requests. robert > -Original Message- > From: Dave Johnson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 21, 2004 8:42 AM > To: Struts Users Mailing List > Subject: Checking a cookie or redirecting

RE: converters

2004-09-21 Thread Robert Taylor
Struts uses BeanUtils under the covers to facilitate copying and converting simple data. (String ==> int, String ==> long, etc...). robert > -Original Message- > From: Jesse Vitrone [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 21, 2004 3:53 PM > To: [EMAIL PROTECTED] > Subject:

[OT] Returned Receipts

2004-09-22 Thread Robert Taylor
I would like to respectfully request that those of you have returned receipts enabled in your emails to this mailing list, please disable them. I know they have a legitimate purpose in some cases, but for those searching the archives on a thread subject and getting a bunch of returned receipt not

RE: Reusing methods across actions classes

2004-09-30 Thread Robert Taylor
In Struts, you may want or have the need to use more than one "type" of Action to process your requests. If you are sure you will only use one Action throughout the lifecycle of your application, then yes, place common operations in a base class. If you are not sure and your application leverage

RE: Scheduling Actions

2004-10-01 Thread Robert Taylor
Factor the business logic out of your Actions into some generic business classes and run a separate process to handle this type of automation. There is no need to have it coupled to your web application. Look into Quarts, Timer/TimerTask, etc... robert > -Original Message- > From: Ciar

RE: Format Date Question

2004-10-01 Thread Robert Taylor
In JSP2.0 you could use JSTL fn:toUpperCase() after you format the date. robert > -Original Message- > From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] > Sent: Friday, October 01, 2004 2:50 PM > To: '[EMAIL PROTECTED]' > Subject: Format Date Question > > > I am using the fmt:formateDat

RE: Format Date Question

2004-10-01 Thread Robert Taylor
lity... How can I verify that? > > Thanks > Chris > > -Original Message- > From: Robert Taylor [mailto:[EMAIL PROTECTED] > Sent: Friday, October 01, 2004 3:16 PM > To: Struts Users Mailing List > Subject: RE: Format Date Question > > > In JSP2.0 you could

RE: [OT] Shale

2004-10-25 Thread Robert Taylor
+1. Excellent read. It certainly gives one insight into the future web application development. robert > -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Monday, October 25, 2004 1:09 AM > To: Struts Users Mailing List > Subject: [OT] Shale > > > For tho

RE: Blank Line Filter

2004-10-26 Thread Robert Taylor
I think your looking for a data compression filter. http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html?page=1 robert > -Original Message- > From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 26, 2004 12:26 PM > To: '[EMAIL PROTECTED]' > Subject: Blank Line

RE: Blank Line Filter

2004-10-26 Thread Robert Taylor
s a tiles insert tag: > > > I end up seeing the content of viewreport-body.jsp and seekHeader.jsp; > however I Never see the inserted /pages/mainmenu-body.jsp nor the > seekFooter.jsp when I apply a filter to the output. Any ideas why? > > -Original Message- > F

  1   2   3   >