Can any one suggest an example on how to integrate Spring+Hibernate+JSF?
Thanks.
Type: Posts; User: gopu; Keyword(s):
Can any one suggest an example on how to integrate Spring+Hibernate+JSF?
Thanks.
Did u try invalidating the session as below?
<%session.invalidate();%>
It is bit wired b'cos the system is working fine. I have added one more condition and trying to call saveorupdate from tehre.
if(..) {
saveorupdate();
}
else{
saveorupdate();
}
It is bit wired b'cos the system is working fine. I have added one more condition and trying to call saveorupdate from tehre.
if(..) {
saveorupdate();
}
else{
saveorupdate();
}
When I try to call saveorupdate method on my object, I am getting the folllowing stacktrace. Kindly provide me some more info as google search didn't help me much to solve my problem. Thanks.
...
yes thanks for your response. Why I need 2 sets of jsps are, even though they are very similar, I may show very slight difference in the display... Let me see whether it can serve my purpose?
Sorry if my question is not clear and Let me be more clear this time.
I am asking whether it is possible to show 2 different sets of view list for 1 singale controller. For example the original...
I made the fields as hidden and now I am able to submit my information. Thanks.
I have a controller and I have created one set of view for that in my xml file as follows.
<bean id="submitController" class="web.user.SubmitController">
<property...
I am trying to change an editable text box to non editable one as follows in my spring application. Previously I was allowing user to input his name, now I am trying to avoid that and I am trying to...
One of a good tutorial for CAS withAcegi integration can be found in http://www.tfo-eservices.eu/wb_tutorials/media/SpringAcegiTutorial/HTML/SpringAcegiTutorial-1_1-html.html
Try it out and Good...
I have successfully implemented Spring web application with Acegi
and CAS with JDBC authentication in a straight forward manner
following the instruction
...
I tried the following but couldn't remove the cookie by name CASTGC This is being set by CAS server (https)
<%
Cookie killMyCookie = new Cookie("CASTGC", null);...
Thnaks that solved my problem :)
I try to connect to jdbc server. I get an exception like this. Can anyone let me know?
root cause
java.lang.LinkageError: Class oracle/sql/converter/CharacterConverters violates loader...
I just read in acegi manual, that inMemoryDaoImple allows you to externalise the java.util.Properties in another spring configured bean or external properties file. How do I do that? I saw some...
Is it something like ROLE_ANONYMOUS with additional bean as follows:
<bean id="anonymousProcessingFilter"
class="org.acegisecurity.providers.anonymous.AnonymousPro cessingFilter">
<property...
I could solve the problem by first logging out from cas and then calling session.invalidate() in my logout.jsp in order to literally logout and invalidate the session. So when I try to enter my...
I have integrated cas with acegi and secured my spring application. Usually, we specify the user name and roles in our xml file as follows
<bean id="authenticationDao"...
Hi I am alos facing the exact problem. Even though, a successful cas/logout page is shown, still I could manage to enter the secured pages. Did you manage to colve theis problme? Please let me know...
I got it worked. When latest spring version(i.e) spring-2.0.6.jar was added, due to compatibility I had to change the older version to commons-fileupload-1.2.jar and commons-io-1.3.2.jar. And it is...
I am facing the following problme. Initially my spring application worked perfectly fine with acegi security. Then I removed all the acegi part from my application and without any access control,...
Thanks for your help. I did try as follows:
class Sample implements MessageSourceAware {
import org.springframework.context.MessageSource;
import...
I have stored a constant by name maxNumber=50[/B} in my messages.properties file. I am able to access this value in my jsp as follows:
<fmt:message var="Number" key="maxNumber"/>
How do I...
thx and will try that one and get back to you!