But for the following code
i am not getting the values
what's the diff..
mthalis wrote:
>
> Using "${userId}" i did my work. :-)
>
> Thank You.
>
--
View this message in context:
http://www.nabble.com/%3Cbean%3Awrite%3E-value-print-in-%3Chtml%3Atext%3E-tp20832676p25075437.html
Sent fr
Hi,
In my application actions are distributed into several namespaces using
Conventions plugin.
When a request come for an action in a namespace (other than default one,
say, myapp/admin/action-name), and when there is no user session found, I m
returning 'login', which is configured as global-res
Hi,
I have changed the code and used the imp class methods but still having the
same exception, here is my code and hop you can help me:
LoginAction:
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package action;
import com.opensymphony.xwor
Hi all,
"a few years ago" means also that this solution still works.
But from my point of view, inteceptor might be better if You are in a situation
where You are not the only programmer
or You are laizy and have bad memory - just like me.
If so read this:
http://poulwiel.blogspot.com/2009/01/inter
HI GUYS,
Another problem is showing up before trying to login here is the stack
track:
SEVERE: Exception starting filter struts2
java.lang.ClassNotFoundException:
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
at
org.apache.catalina.loader.WebappClassLoader.loadClas
-Original Message-
From: Tommy Pham [mailto:tommy...@yahoo.com]
Sent: Tuesday, August 18, 2009 6:05 PM
To: Struts Users Mailing List
Subject: Re: [struts2] problem
- Original Message
> From: Paweł Wielgus
> To: Struts Users Mailing List
> Sent: Tuesday, August 18, 2009 1:18:13
I know that Spring Security (ACEGI) gets a lot of publicity, but there are
other alternatives out there too.
Last year I implemented a struts2 based system using Apache Shiro (formerly
jsecurity), and found it very easy to learn an implement. On their website,
http://cwiki.apache.org/SHIRO/ the
Could you please let me know what are the necessary steps to be followed in
migrating a struts2 application from 2.0.6 to 2.1.6?
I get following errors during migration.
It is found following errors were shown in server console:
WARNING: Could not find property [actionErrors]
Aug 21, 20
I use following jars in my struts2 application.
It is found following errors were shown in server console, Any other jar
files missing?
commons-fileupload-1.2.1
commons-io-1.3.2
commons-logging-1.1
freemarker-2.3.13
junit-3.8.1
ognl-2.6.11
spring-test-2.5.6
struts2-core-2.1.6
xwork-2.1.2
The conventions plugin reads a property called -
struts.convention.default.parent.package
Are you setting this property to the package that declares the global-result?
-Wes
On Fri, Aug 21, 2009 at 3:36 AM, ManiKanta G wrote:
> Hi,
>
> In my application actions are distributed into several names
hi wes,
I have changed the code but still have the same exception, would you min if
I send you my whole code maybe you can find out the problem?
cheers,
--
From: "Wes Wannemacher"
Sent: Thursday, August 20, 2009 7:44 PM
To: "Struts Users Maili
sure, zip it up and email it to me
-Wes
On Fri, Aug 21, 2009 at 10:00 AM, ZiedBejaoui wrote:
> hi wes,
>
> I have changed the code but still have the same exception, would you min if
> I send you my whole code maybe you can find out the problem?
>
>
> cheers,
>
> -
Check it out with the config-browser -- you should see on the results tab if
your login result is
really there.
Chris
-Original Message-
From: ManiKanta G
To: Struts-User
Sent: Fri, Aug 21, 2009 3:36 am
Subject: Problem with result returning from interceptor
Hi
Read the following link:
http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html
--- On Fri, 8/21/09, Raghuveer.V wrote:
> From: Raghuveer.V
> Subject: Migrating struts2 - Could not find property errors
> To: user@struts.apache.org
> Received: Friday, August
no problem
FYI: most email agents have a 10mb attach limit so send only java,xml and
properties in compressed zip or gzip.tar
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich
I will split it into 3 war files.
Cheers
--
From: "Martin Gainty"
Sent: Friday, August 21, 2009 3:35 PM
To: "Struts Users Mailing List"
Subject: RE: Hibernate3+Spring2.5+Struts2
no problem
FYI: most email agents have a 10mb attach limit so sen
i had a devil of a time coaxing mvn package to build proper jars until i
renamed the failing tests e.g:
ren
$SHIRO_HOME/trunk/core/src/test/java/org/apache/shiro/session/mgt/DefaultSessionManagerTest.java
$SHIRO_HOME/trunk/core/src/test/java/org/apache/shiro/session/mgt/DefaultSessionManagerT
- Original Message
> From: Raghuveer.V
> To: user@struts.apache.org
> Sent: Friday, August 21, 2009 6:22:18 AM
> Subject: Migrating struts2 version code from 2.0.6 to 2.1.6
>
> Could you please let me know what are the necessary steps to be followed in
> migrating a struts2 application
Martin, did you let the shiro guys know about the problems you had building the
jars? I haven't built the core package since it was still jsecurity.
I know that they've been doing lots of work on their svn repo, since they
renamed the project.
Les Hazlewood and the other shiro guys are extreme
sure thing..I'll ping the shiro guys and report back
thanks for the link,
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein,
Hi,
I'm at a little bit of a loss here. I am attempting to use the #stext()
user directive provide by Struts 2 to output I18N messages. However, I need
to pass in additional arguments. In tag libs, all I'd have to do is:
Param 1
However, in Velocity, the stext component is inline
Before I migrate my struts application from 2.0.12 to 2.1.6
The following
would generate:
You can not change your role to Agent.
which would display the message in the appropriate color defined by style sheet
class
However, after I have migrated my code to 2
Just add a selector so that your class applies to the span who's
parent LI's parent UL has the class "alert-go" (or whatever class name
you're specifying).
-Wes
On Fri, Aug 21, 2009 at 3:23 PM, Struts Two wrote:
> Before I migrate my struts application from 2.0.12 to 2.1.6
>
> The following
>
>
that was an enhancement, it does has a jira ticket somewhere.
musachy
On Fri, Aug 21, 2009 at 12:23 PM, Struts Two wrote:
> Before I migrate my struts application from 2.0.12 to 2.1.6
>
> The following
>
>
>
> would generate:
>
>
>
>
> You can not change your role to Agent.
>
Thanks for the advice Wes. However; in this case I am bound to corporate
provided style-sheet classes that I can not change. Based on your suggestion, I
have to write a few lines of css to define my own classes and then go through
every single page the uses wrote:
> From: Wes Wannemacher
> Su
You could just override the template for this tag. Just grab a copy of
the current template for the theme you are using and copy to your app
(outside of the struts jar), then update it to your heart's content.
I'm sure there are a few tutorials out there that give a better
step-by-step for overridi
you can update the ftl template
On Fri, Aug 21, 2009 at 1:07 PM, Struts Two wrote:
> Thanks for the advice Wes. However; in this case I am bound to corporate
> provided style-sheet classes that I can not change. Based on your suggestion,
> I have to write a few lines of css to define my own clas
>-Original Message-
>From: Wes Wannemacher [mailto:w...@wantii.com]
>Sent: Friday, August 21, 2009 4:17 PM
>To: Struts Users Mailing List
>Subject: Re: s:actionmessage issue after upgrade to 2.1.6 (possible bug)
>
>You could just override the template for this tag. Just grab a copy of
>the
Hi,
I think the tutorial
http://struts.apache.org/2.1.6/docs/struts-2-spring-2-jpa-ajax.html is
misleading(?). In the PersonServiceImpl class, the method:
public void save(Person person) {
if (person.getId() == null) {
em.persist(person);
} else {
em.merge(person);
hum, but in Person class, his Id is an Integer type
Juan
On Fri, Aug 21, 2009 at 7:12 PM, Tommy Pham wrote:
> Hi,
>
> I think the tutorial
> http://struts.apache.org/2.1.6/docs/struts-2-spring-2-jpa-ajax.html is
> misleading(?). In the PersonServiceImpl class, the method:
>
> public void save(
I want to post process an action instance after it is created. I could
create an ActionEventListener implementation. How would I register this
class with struts so that it notifies the listener?
--
Karan Singh Malhi
31 matches
Mail list logo