thanks for reply but it still doesn't work.I am looking the tutorials on the
google and it must be like this but its not working .I cant understand why
it is?if you have an example with arrays and logic iterate i will be
thankful if you share it with me
Andrew Sharpe-2 wrote:
I think you
I did some more testing and this is getting really strange. I'm using
eclipse and when I export the project as a WAR file and place it inside the
autodeploy directory of a running weblogic domain it works fine. It just
gives this error when using the publish feature of eclipse.
Any ideas?
2010/3/17 Gustavo Felisberto gustavo.felisbe...@wit-software.com:
I did some more testing and this is getting really strange. I'm using
eclipse and when I export the project as a WAR file and place it inside the
autodeploy directory of a running weblogic domain it works fine. It just
gives
Try:
SecurityContextHolder.getContext().getAuthentication().getPrincipal()
-Original Message-
From: Lance Hill [mailto:la...@baldhead.com]
Sent: Tuesday, March 16, 2010 5:15 PM
To: 'Struts Users Mailing List'
Subject: Getting the authenticated user from Spring Security for use in an
I tried using that, but SecurityContextHolder.getContext() returns a null
value. Any thoughts on how to fix that?
-Original Message-
From: Hoying, Ken [mailto:ken_hoy...@premierinc.com]
Sent: Wednesday, March 17, 2010 7:36 AM
To: Struts Users Mailing List
Subject: RE: Getting the
Along with the change I suggested, you also need to add a public getName()
method to your Book object. Try that, and also make sure you can get a simple
String property to display to ensure you have Struts configured properly.
If you still have trouble let me know and I ll come up with a
Thanks,
Are the artifacts in a snapshot repo somewhere, or do i have to manually
install them into local?
- J
Lukasz Lenart wrote:
2010/3/16 jonathan doklovic list-rea...@sysbliss.com:
I was able to resolve the issue simply by using the snapshot jar listed on
this blog post:
2010/3/17 jonathan doklovic list-rea...@sysbliss.com:
Are the artifacts in a snapshot repo somewhere, or do i have to manually
install them into local?
Not yet, I'm working on that ;-)
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl
I am trying to get access to the currently logged in user, but when I call
SecurityContextHolder.getContext().getAuthentication(), the Authentication
returned is null. I am assuming the user is logged in since they have access
to the secure page I am testing, but I don't know how to tell for sure
I already had public getName() method.i wrote all getters and setters to my
application just didn't post them to the forum.i created a new arraylist and
added String property but cant show them always the same error.I'm losing my
mind i have a problem with listing array elements.I really be
2010/3/17 Lance Hill la...@baldhead.com:
Any hints about why SecurityContextHolder.getContext().getAuthentication()
would return a null?
Spring version? Configuration? Did you try the simplest possible setup?
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
I'm using Spring 3/Spring Security 3.
I tried using security:authentication property=principal.username/ on the
protected page and the username actually appears when I go directly to
http://localhost/jsp/hello.jsp.
If I go to http://localhost/hello.action, the security:authentication
Store the data entered in an object and have it in the session, making the
get/set for the object do a get/put into the session.
they can change to their hearts content.
Date: Wed, 17 Mar 2010 02:52:50 +0530
Subject: Can we some how persist form
Check your filter order. I cannot recall if it is the filters are chained by
the filter declaration order of the filter mapping order.
-Original Message-
From: Lance Hill [mailto:la...@baldhead.com]
Sent: Wednesday, March 17, 2010 12:08 PM
To: 'Struts Users Mailing List';
Nice, that 'merge' parameter.
I'm still using Struts2 2.1.6 and had already stumbled on this.
Worked around it using params.excludeParams on the statically-parameterized
actions to filter out the static params.
Browsing the latest distribution I've noticed that it bundles
xwork-core-2.1.6.jar but
Hello
I cannot find any information about my problem on the web, may be You
could help me.
I'm developing application with Struts 2 (2.1.8) that requires an
ability to create URL-s in administrative panel, aside from those
declared in struts.xml and web.xml. Ie. I want to have a form
accepting
Hi Scott
Got you !! Thank you very much.
On 17 March 2010 04:30, stanl...@gmail.com wrote:
Hi Sandeep --
One clean way you can do this is by using the
ScopedModelDrivenInterceptor
http://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html
.
Peace,
Scott
On Tue, Mar 16,
2010/3/17 Francisco José Aquino García fj.aqu...@gmail.com:
Browsing the latest distribution I've noticed that it bundles
xwork-core-2.1.6.jar but the latest version listed on the XWork home page is
2.1.5... has Struts2 forked xwork-core-2.1.6 from the official XWork?
Yap, XWork is part of
2010/3/17 Marek Dudek marek.du...@gmail.com:
Is that possible and how to do it?
I'm not sure what you want to achieve, but maybe writing a custom
ActionMapper could help.
http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/dispatcher/mapper/ActionMapper.html
Regards
--
Łukasz
I found a full example for you here:
http://www.java2s.com/Code/Java/J2EE/StrutsFrameworkASampleStrutsApplication.htm
You'll notice that the name property of the logic:iterate tag is set to the
form name as used in struts-config (in your case, BookForm).
Assuming data.jsp forwards to
For the archives, the solution I'm going with is to have the javascript add
html:hidden elements to the document corresponding to the new values in the
select. The names of the hidden elements will be indexed. Something like this:
Action Form:
public ListString getOldList()
public String
21 matches
Mail list logo