Hi,
I am using spring declarative transaction management in my project. My issues is that if from a service level method i call 4 DB methods and if exception is raised from method 3 my complete...
Type: Posts; User: sachin_yadav; Keyword(s):
Hi,
I am using spring declarative transaction management in my project. My issues is that if from a service level method i call 4 DB methods and if exception is raised from method 3 my complete...
I have an array of checkbox which are rendered on the JSP. Checkbox works just fine but when i post the JSP on controller i am not getting just those checkbox which are clicked but all along with...
I have a spring 3 application where i am using jquery to post ajax request. Now i want to redirect my page to another page after ajax response comes. A Pojo is returned by the 1st page controller,...
I have a model class with some methods, most of them are populated using ajax(jquery), I have a model attribute on JSP as orderVo, initially when page loads some values remains blank and when i call...
aahhhh....right, silly mistake though :P. Thank you so much for pointing out.
Hi All,
I am using jdbcTemplate to do database operations. I am facing an issue intermittently. While iterating row mapper resultset, if value from database is NULL then my code raise NPE. Can...
Hi All,
I am using @Autowire annotation to autowire my service layer in controller class, but i am getting null pointer exception. I am using JDK 6 on tomcat 6 with Spring 3.xx. Following is my...
changing c:if as per your suggestions has made is working perfectly. Thank you very much.
I am migrating my application from spring security 2.x to 3.0 Everything is working fine now except one thing. I want my login page to print authentication failure error messages. ex- Bad Credentials...
ya just noticed my bad. This is working fine now, thanks for all your support.
Hi All,
I have build a custome login/logout security handler and integrated in spring security 3.0. All is working good except 1 issue. I am trying to put ROLE_ prefix before every role i fetch...
Hi all,
I am planing to use my existing web based application's authentication infrastructure (implemented using spring security) to authenticate users coming from the rich client(swing)...
Hi Marten,
Thanks for your reply. I guess i have a singleton hashmap in the application where i am maintaining the user session for all the users who have logged in along with their userId, and...
I am using spring security and i have a custom logout filter.
public void logout(HttpServletRequest request, HttpServletResponse response, Authentication authentication) {
...
Ok, thanks for your reply. I will try this.
i am also planing to do something like you have done but i will be using rmi call in place of HTTP invoker. Can you please tell me if this works? as i haven't seen any example of using rmi for the...
a good link to start with is
http://www.codercorp.com/blog/spring/security-spring/configuring-spring-security.html...
ehhh i was missing custome-filter position in my logout filter, that's why it was not been called in filter chain and hence page not found. I just have to put a tag like
<beans:bean...
Hi,
i have written a custom logout filter. My security configuration file looks like this:
<beans:beans xmlns="http://www.springframework.org/schema/security"
...
Hi,
I am using spring security for maintaining user authentication and authorization. We have different roles for our site. Now a admin can see all the logged in users and can logout any user from...
Can someone please tell me what is the advantage of using spring dependency injection as compare to using factory pattern for creating beans on runtime?
Also do spring DI use factory pattern?
I have already post the required part of xml above. the name of the file is login-servlet.xml.
I did it now the error is:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'signUpController' defined in ServletContext resource...
I am trying to use MultiActionController first time. I had a user signup form where i have two buttons one is submit and one is cancel. onclick of submit my data get's inserted into database after...
to answer this question why spring not struts, asf, tapesty or anyothers framework you can consult any book or spring website itself.
:cool: :cool: