why would you wan to do that? Packing static content inside a jar is
bad by itself (performance hit to read from inside the jar, at least
once, in the case of struts...every time you access the resource),
letting struts serve static content is also bad, as struts is not
designed/optimized for such
I see that Struts serve theme files (validation.js, styles.css, ...) from
JAR. How does it do it?
All I want is to pack all 3rd part web libs like jQuery, YUI, FCKEdtior...
into JARs e.g.:
jquery.jar
yui.jar
...
--
View this message in context:
http://www.nabble.com/How-does-Struts-serve-asset
> Date: Fri, 18 Sep 2009 19:46:13 -0500
> Subject: Re: Null exception on Struts Action
> From: pbened...@apache.org
> To: user@struts.apache.org
>
> I am pretty sure getDataSource() has been deprecated for more than half a
> decade.
>
-- Quite an answer Paul :S
___
I am pretty sure getDataSource() has been deprecated for more than half a
decade.
2009/9/18 Julio César Chaves Fernández
>
>
>
>
>
>
>
> Hi, i've been having a strange behavior with some struts apps deployed
> on Oracle portal. Lately, they're giving the 500 Internal Server Error
> and this outp
Hi, i've been having a strange behavior with some struts apps deployed
on Oracle portal. Lately, they're giving the 500 Internal Server Error
and this output:
09/09/17 16:10:19 java.lang.NullPointerException
09/09/17 16:10:19 at
org.apache.struts.action.Action.getDataSource(Action.java
Hi Alex,
For re-factoring HTML, JavaScript and CSS you can use numerous online
tools (e.g. jslint, w3c validators).
Also the Firefox browser is extremely useful with a selection of
appropriate plugins, for example:
Chris Pederick's Web Developer (validate CSS and *MUCH* more)
HTML Validator
Good Afternoon Greg
here is an example of forms using freemarker templates in chat\chatLogin.ftl
Showcase - Chat - Login
<@s.head />
<@s.actionerror />
<@s.actionmessage />
<@s.fielderror />
<@s.form action="login" namespace="/chat" method="POST">
Alex Siman wrote:
But I ask about NON Java refactoring. See the subject of this topic.
Not Struts related. Try using Google.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail:
>
http://www.eclipse.org/articles/article.php?file=Article-Unleashing-the-Power-of-Refactoring/index.html
OK, this article is about Java refactoring. I use and like it very much.
But I ask about NON Java refactoring. See the subject of this topic.
Kawczynski, David wrote:
>
> http://www.ec
Hi,
I have situation where some users will be posting an XML message (using a
java client) and some HTML forms to my application running in struts. I want
to know if there is a way that I can recognize the two different requests
from my struts acton class.
Because once I identify the two, I can
http://www.eclipse.org/mail/
http://www.eclipse.org/articles/article.php?file=Article-Unleashing-the-
Power-of-Refactoring/index.html
> -Original Message-
> From: Alex Siman [mailto:aleksandr.si...@gmail.com]
> Sent: Friday, September 18, 2009 1:45 PM
> To: user@struts.apache.org
> Subj
I'm using Eclipse and the current solution (which I dislike) is to
"Search/Replace". This is error prone solution.
Do you now any better approach to refactor non Java resources in big apps?
Or do you use any cool refactoring tool?
P.S. Maybe this topic does not relate to Struts directly, but Str
Hello,
Setup: struts2 (2.1.6) with Spring (2.5)
I Refer to the article in the docs
http://struts.apache.org/2.1.6/docs/freemarker-tags.html
We are trying to use FreeMarker tags with a custom theme in order to
pass extra parameters to the tag which the tag does not define (section
of the above
Thank you Greg.
I see my mistake now.
My filter was mapped to /* instead of *.action as you recommend.
-Original Message-
From: Greg Lindholm [mailto:greg.lindh...@gmail.com]
Sent: Friday, September 18, 2009 11:30 AM
To: Struts Users Mailing List
Subject: Re: Migration of traditional ser
Sure, no problem. I have several servlets running in the same web app as
Struts2 and if you have requests that go directly to jsp pages that works
also.
The only issue I had on the upgrade to 2.1.6 was to adjust the Struts filter
mappings so that Struts didn't try to process requests that were me
Hi,
I want to modify the style of the button of the tag by puting an
image.
Can I do that ?
Thanks for help
--
View this message in context:
http://www.nabble.com/html%3Afile%2C-how-to-make-image-instead-of-bouton-tp25507468p25507468.html
Sent from the Struts - User mailing list archive at N
I'm facing an issue with Struts 2.0.14 where it would automatically wire a
new object instance for any null property.
I wasn't aware of this feature and it really comes as a surprise. At first I
wanted to disable it.
It comes from Xwork InstantiatingNullHandler:104
-->Object param = createObject(c
P.S. Using Struts 2.1.6
-Original Message-
From: Lee Clemens [mailto:l...@leeclemens.net]
Sent: Thursday, September 17, 2009 10:24 PM
To: 'Struts Users Mailing List'
Subject: ConfigurationManager instance or how to reload configuration
Hello,
xwork2 does not seem to contain a static met
Hello,
xwork2 does not seem to contain a static method for
ConfigurationManager.destroyConfiguration(), which
http://struts.apache.org/2.0.14/docs/how-can-we-force-the-action-mappings-st
rutsxml-to-reload.html claims it does.
Is there a way to obtain an instance of the ConfigurationManager class
19 matches
Mail list logo