Thanks Dave.
I am using Struts 2.2.3. For #2 question i have a common jsp which is
used for both Add and Edit operation. So on the basis of whether it is
add/edit i want to set appropriate action.
Well one tweak just now came in my mind is to set the action name in
request scope and use this as
On Fri, May 27, 2011 at 11:29 AM, Emi Lu wrote:
> Confirmed. Two tags are used in jsp for now:
>
> <%@ taglib prefix="sj" uri="/struts-jquery-tags" %>
> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
Hmm, okay.
> Is dojo deprecated?
Has been for some time, don't recall for sure h
Are you really using all of those S2 plugins?
You should not deploy plugins you are not using, as they may change
fundamental S2 behavior.
If nothing else it is almost certainly a bad idea to include both the
codebehind (deprecated) and convention plugins.
I use both struts1(history libs for
On Fri, May 27, 2011 at 10:40 AM, Sachin Lale wrote:
> 1. In Jsp while displaying text box and i want this to populate from
> ApplicationResource.properties file. I did this be adding getText() method
> like below. Is this the only way?
>
Nope; you can use the "key" tag attribute to define the pr
Hi,
I have two questions:
1. In Jsp while displaying text box and i want this to populate from
ApplicationResource.properties file. I did this be adding getText()
method like below. Is this the only way?
2. I want the 'action' property of s:form tag to be populated
dynamically. For this i
I solve this problem by creatig duplicate tiles.xml (tiles 2
configuration) which will be used by Struts2 and the other tiles-defs by
struts1. The other change i have to made is to duplicate my layout.jsp
for tiles 2. And then every thing is working fine.
On 24-05-2011 23:29, Sachin Lale wrote
Are you really using all of those S2 plugins?
You should not deploy plugins you are not using, as they may change
fundamental S2 behavior.
If nothing else it is almost certainly a bad idea to include both the
codebehind (deprecated) and convention plugins. It's unusual to use
both the Dojo and jQ
Hi Frans.
I found your question a little vague. Would you mind adding some more detail?
jb
/
From: Frans Thamura
To: Struts Users Mailing List
Sent: Friday, May 27, 2011 7:34 AM
Subject: Struts2 Plugins inside IoC
hi all
i found that springmvc register all their bean in the appcontex.
Good morning,
Thank you very much for your inputs!
To figure out which jar is missing, I downloaded the xwork-core.jar and
complied it.
The following files fixed the problem:
=
. lib/asm-4.0_RC1.jar
. lib/asm-commons-4.0_RC1.jar
For people might see th
On Fri, 2011-05-27 at 09:00 -0400, Dave Newton wrote:
> On Friday, May 27, 2011, Miguel wrote:
> > Following my previous email and agreeing with you on this, I might, of
> > course, get off the request hook by changing the request injection with
> > injecting, for example, those two properties (u
Use struts2-spring plugin to configure actions as spring beans.
I use it and it is very cool:
Instead of
http://www.jetbrains.com
"Develop with pleasure!"
-Original Message-
From: Mohamed SIDI [mailto:mhm.s...@gmail.com]
Sent: Friday, May 27, 2011 4:45 PM
To: Struts Users Mailing List
S
If you need any consulting or development in the Java client-side area (Swing,
JFC/AWT, core Java, etc.), feel free to give me a shout. Also I do C++ GUI
development, particularly with DirectX.
I used to be a server-side developer but have focused on client development for
the past seven years
On Friday, May 27, 2011, Miguel wrote:
> Following my previous email and agreeing with you on this, I might, of
> course, get off the request hook by changing the request injection with
> injecting, for example, those two properties (username and ipaddress) to
> this class, but the underlying prob
Can you be more clear about what you like to understand
2011/5/27 Frans Thamura
> hi all
>
> i found that springmvc register all their bean in the appcontex.xml
>
> any reason, why struts2 better rather using this method
>
> thx
>
> F
>
--
Cordialement
Mohamed
On Fri, 2011-05-27 at 13:24 +0100, Miguel wrote:
> Hi Dave,
>
> On Fri, 2011-05-27 at 08:10 -0400, Dave Newton wrote:
>
> > What specifically do you need an actual request for? This strikes me
> > as coupling your design to the servlet spec, and there's rarely a
> > strong reason to do that past
hi all
i found that springmvc register all their bean in the appcontex.xml
any reason, why struts2 better rather using this method
thx
F
Dave is right that it suggests its bad design but if you really need it you
can get your action to implement servletrequestaware:
http://struts.apache.org/2.0.11/struts2-core/apidocs/org/apache/struts2/interceptor/package-summary.html
Might be better to create a threadlocal in an interceptor to s
Hi Dave,
On Fri, 2011-05-27 at 08:10 -0400, Dave Newton wrote:
> What specifically do you need an actual request for? This strikes me
> as coupling your design to the servlet spec, and there's rarely a
> strong reason to do that past the web layer itself. The idea on
> injecting a request just se
What specifically do you need an actual request for? This strikes me
as coupling your design to the servlet spec, and there's rarely a
strong reason to do that past the web layer itself. The idea on
injecting a request just seems wrong.
Is that a Struts 2 interceptor you're trying to inject it in
Hi,
I'm using spring to inject dependencies in my application.
I added a module I had previously developed that had the code in some
class (request is a HttpServletRequest):
private String getIpAddress() {
request = ServletActionContext.getRequest();
did you determine which class validation is producing the error?
i assume cognizant is paying you t&m
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bi
> -Original Message-
> From: vijayaraja...@cognizant.com
> [mailto:vijayaraja...@cognizant.com]
> Sent: Friday, May 27, 2011 6:58
> To: user@struts.apache.org
> Subject: RE: Struts File Upload Issue
>
> Hi Alejandro,
>
> It sometimes happens even for very small files.
Is there a proxy
Hi Alejandro,
It sometimes happens even for very small files.
Regards,
Vijayarajan S
-Original Message-
From: Alejandro García Gil [mailto:alejandro.garcia@gmail.com]
Sent: Friday, May 27, 2011 11:51 AM
To: Struts Users Mailing List
Subject: Re: Struts File Upload Issue
Have you ex
I don't think that the exception is referring to the xwork library, the
xwork library is present (see the stacktrace).
It seems rather that the xwork ClassFinder is not able to find your
ActionClass.
On 27 May 2011 09:56, Mohamed SIDI wrote:
> You have to copy the jar in your classpath and rede
You have to copy the jar in your classpath and redeploy your application
after, it should work
2011/5/27 Martin Gainty
>
> copy xwork-core-2.2.1.jar to WEB-INF\lib
>
> Martin
> __
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentiali
25 matches
Mail list logo