OHOHO yes of course. It works now !!! I am a jackass :(
it's good to have 4 eyes control.
Thanks
The fix ....
@Component
@Aspect
Type: Posts; User: jujuz; Keyword(s):
OHOHO yes of course. It works now !!! I am a jackass :(
it's good to have 4 eyes control.
Thanks
The fix ....
@Component
@Aspect
[RESOLVED]
Hi all,
My spring-config.xml
<context:annotation-config />
<aop:aspectj-autoproxy />
<context:component-scan base-package="com.xyz.csi.core.aspect" />
little up .....
Hi all,
I try to display a jsp with a select box. There is 500 options in this select.
but it's very slow to display it.
First method with Spring spend Something like 60secondes
...
little up- :rolleyes:
Hi all,
I reopen an old issue, I never understood why, and I want to know if it's possible.
So I Have an annotated controller, and I want to securized it with the @Secured annotation.
...
Dont know about 1 year ago,
I am using WebFlow2, Its not so simple than annotated controlers, but url is handle by the flow id.
Hi all,
I am using SpringWeb Flow, you can do more than simple wizards ...
see doc
RESOLVED,
It was a conflict between old spring libraries.
I ve update all libraries, and it qworks fine now,
thanks for all.
I restart from scratch and I have this issue :
Caused by: org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class...
not sure to understand but :
@RequestMapping( value = "/pulse/partThumbnail.do" )
public void displayThumbnail( @RequestParam( "fileId" ) Integer fileId,@RequestParam( "fts" ) EnumType fts)...
are you sure it s
<bean class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping">
<property name="order" value="1"/>
</bean>
this is not enable...
oh SORRY, (I am french my english is not very good ...),
so I change to
<!-- Enables POJO @Controllers -->
<bean...
So you said
1) add annotation-scan directly in web-application-context, not neither in mvc.xml nor in security.xml
2) add <property name="order" value="1" /> to the tag
<bean...
Dont know what s the problem,
It works when I remove the @Secured annotation.
thanks for your times.
I will try to enter in debug mode to understand whats happen.
cheers,
Julien.
I obtain the same result
404 Not Found
/pulse/sales.do was not found on this server.
So normaly I securise URL like this?
@Secured( "TAB_MAIN_MENU_SALES")
@RequestMapping("/pulse/sales.do")
public final ModelAndView initLeftContainer()
{
Web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
...
I dont have the jsr250 config but the configuration you talk about and I obtain always the same result :
.WARN PageNotFound - No mapping found for HTTP request with URI [/secured/test.do] in...
can you explain more, because do you mean that :
<context:annotation-config/>
<context:component-scan base-package="com...web.controller"/>
is only enable for Controller and not for...
HI,
thanks for reply,
In fact the scan is done on the good package, If I removed the @Secured tag, the controller works (I mean request dispatcher send request to the good method).
It s when I...
Hi all,
How can I double annotate a controller method with @RequestMapping @Secured. Does anybody make it works?
Kaz07 has the same problem ...
thanks,
--
Julien
I have the same porblem.
I will create a post directly in WEB forum
RESOLVED:
During a subversion merge, the line <aop:aspectj-autoproxy/> was forgiven !
In fact I have just update from Spring 2 to Spring 2.5
It worked on Spring 2 not in Spring 2.5, so you mean that this configuration is not supported on Spring 2.5?