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
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
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:
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
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
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
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]
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
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
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
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]
.
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
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
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
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
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
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
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
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
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
+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
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]]
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
23 matches
Mail list logo