Re: those ace logic jsp tags

2003-02-10 Thread Taylor Cowan
there any chance that they'll ever be incorporated into Struts proper? The direction for struts seems to be conformance/reliance on the JSTL as much as possible, therefore, you'd use the JSTL tags with matching functionality. Taylor Cowan

Re: Testing I18n.

2003-02-04 Thread Taylor Cowan
that i18n in struts is different from swing in that you must always tell the java.text and util classes which locale to use. The default locale of the server may not be what the user wants. Is that what you meant by make struts to think that this application runs on Chinese/German locale? Taylor Cowan

Re: defeating caching

2003-01-02 Thread Taylor Cowan
besides the struts feature I thought someone might find this of interest. Jason Hunter covers servlets and web caching here: http://www.onjava.com/pub/a/onjava/excerpt/jebp_3/index2.html Taylor - Original Message - From: Caoilte O'Connor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: How to get a reference to an Action instance

2002-12-29 Thread Taylor Cowan
Action instances, like servlets, usually do not maintain state by using member variables. Thus most invokations of their methods do not depend upon a particular instance, so you may just instantiate the action and invoke its methods. Of course, using the pooled instances maintained by struts

Re: Call methods from different Actions

2002-12-28 Thread Taylor Cowan
Sure, you can create an instance of the action and call its methods. That's all struts does anyway. I had used that technique once to provide a cleanup or destructor method on my actions so that when you leave an action you can clean up any temporary session values that aren't needed later. It

Re: Struts XML - XSL

2002-12-27 Thread Taylor Cowan
There was an article on JavaWorld regarding struts/XML/XSLT, however, it wasn't clear to me what you are trying to do. If you're using struts you'd most likely use HTTP, not simple sockets. In that case the action perform would return null after setting the response type to text/xml, and writing

re: how to send actionForm from one action to another action

2002-12-17 Thread Taylor Cowan
or inspecting all keys in your session scope. My guess is that it's the form's name, which should be unique. Taylor cowan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Wizard Interface question

2002-02-05 Thread Taylor Cowan
All that is not necessary. You can have the ActionForm bean placed in session scope, and allow different JSP pages to fill out the properties. This is configured in the struts config file. Taylor -Original Message- From: Stephen Owens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February

RE: Boost Struts with XSLT and XML - JavaWorld.com

2002-02-04 Thread Taylor Cowan
Matt, Those are very good points. Here is how I deal with each one: 1. You can internationalize using resource bundles with Xalan, because it allows Java extensions. Another thing on i18n, I've noted that when UI's are described in XML, you are combining question text, labels, instructions

RE: Struts with dynamically generated contenct?

2002-01-30 Thread Taylor Cowan
There was something posted within the last day or so regarding an XML/XSLT struts modification, similar to the cocoon idea. http://www.openroad.ca/opencode/stxx/documentation.html Because JSPs are so flexible, I just leave struts as it is and do this in the JSP: %=content% -Original

editable tables with Struts

2002-01-21 Thread Taylor Cowan
by case basis, depending on the type of persistence. Taylor Cowan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: editable tables with Struts

2002-01-21 Thread Taylor Cowan
. Mark - Original Message - From: Taylor Cowan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, January 21, 2002 11:44 AM Subject: editable tables with Struts I wrote this article some time ago to help move SilverStream developers into a more J2EE centric

RE: client side XSLT

2002-01-11 Thread Taylor Cowan
The last time I tried client side XSLT I found that IE was not supporting the spec as well as Xalan. It's also not a given that all clients will have an XSLT processor embedded in them. Styling an XML doc is not going to tax the server enough to make this a performance or distributed computing

RE: XML/XSL and Transformation using Struts/Expresso

2002-01-11 Thread Taylor Cowan
Matt, That sounds like an interesting approach. Don't get sidetracked thinking of an action emiting something. You'll want to forward to a view component that does what you like. Cocoon might be of interest to you as well. I like server side styling. My actions forward to a view which gets

RE: datasources

2002-01-11 Thread Taylor Cowan
When you configured the datasource you gave it a name. Use that as a key to lookup the datasoruce using findDataSource( String name ) Taylor -Original Message- From: Rubens Gama [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 2:38 PM To: Struts-User Subject: datasources i

RE: datasources

2002-01-11 Thread Taylor Cowan
value=bar/ /data-source /data-sources where is the tag name ?? Thank you -Mensagem original- De: Taylor Cowan [mailto:[EMAIL PROTECTED]] Enviada em: sexta-feira, 11 de janeiro de 2002 16:48 Para: Struts Users Mailing List Assunto: RE: datasources When you configured

RE: XML/XSL and Transformation using Struts/Expresso

2002-01-11 Thread Taylor Cowan
have an example of calling this from your action class? --- Taylor Cowan [EMAIL PROTECTED] wrote: Matt, That sounds like an interesting approach. Don't get sidetracked thinking of an action emiting something. You'll want to forward to a view component that does what you like. Cocoon might

RE: Accessing ActionForm in JSP page?

2002-01-08 Thread Taylor Cowan
You're right. Struts places the ActionForm into either request or session scope. That is configured by the user in the config file. (please correct me if I'm wrong ) I think it's keyed by the action's name. I discovered that by accident once when I was going to use the action mapping name for

RE: why have another xml file?

2002-01-05 Thread Taylor Cowan
It's an irritation at first until you become familiar with it, then its no problem. What I see in various applications is a move to place more and more information in XML files. For example, all the XML files described in the J2EE spec. I mean, if you don't like XML descriptors, you've

RE: Using Struts with XSLT

2002-01-04 Thread Taylor Cowan
Yes, you are correct about comlexity. However, when you define the XML format, you only need 1 style sheet. Then you are modifying the XML. As for things XSLT cannot do see http://www.javaworld.com/javaworld/jw-12-2001/jw-1221-xslt.html? Taylor -Original Message- From: Shengmeng Liu

RE: Struts EJB support

2001-12-31 Thread Taylor Cowan
+AD4-So why would anyone say +ACI-people attempt EJBs to much+ACI- for +AD4-medium sized projects ? Because those points don't make sense. 1) J2EE supports pooled database connections without EJB, unless I don't understand what +ACI-Automated Database pooling+ACI- means. 2) Even if I were

RE: How to access value of a form bean property inside a scriptlet?

2001-12-21 Thread Taylor Cowan
I think the form bean is stored in the session or request scope by the name of the action. So it would be request.getAttribute or session.getAttribute. request/session option is specified in the actions config. Taylor -Original Message- From: T. Wheeler [mailto:[EMAIL PROTECTED]]

Apache and Tomcat

2001-05-02 Thread Taylor Cowan
I have just begun using a new service provider which runs Tomcat 3.2 underneath Apache. After installing my struts application I noted that none of the *.do mappings were working. The tech support told me that the WEB-INF/web.xml is ignored when Tomcat is run underneath apache, so they gave me