path should point to the property name, not the value of the property...
It should be 'paid', not ${device.paid}..
Type: Posts; User: Prasi; Keyword(s):
path should point to the property name, not the value of the property...
It should be 'paid', not ${device.paid}..
In your index.jsp, change the below line
<form:form commandName="busquefiltro" method="POST">
to
<form:form commandName="busqueda" method="POST">
Hi All,
we are using spring security 3.1.0 RC3. Our security-context.xml, looks like below
<security:form-login login-page="/login.jsp"
login-processing-url="/loginProcess"...
Thanks for the reply Marten. But, what if i want to make my object blank on every GET requests, since user might cancel a form, by not going till the final POST.
Hi All,
Currently we are using @SessionAttributes. In post request method, we are having status.setComplete. If i print the model value after status.setComplete, it is still holding the value. Can...
Hi All,
Currently we are having LDAP authentication and its working fine, the LDAP Server address and its userdnpatterns are set in XML. Now, we are planning to move this to database. So, what we...
Hi All,
In our jsp page, we are having more than one input fields with the same name (actual number is determined at run time only ), how to i bind it to spring? can you please help me out in this?
Thanks Marten for the reply, but in our application the number of pages and the pages are not fixed, based on the user input in the first 2 pages, the number of pages and also the pages itself...
Hi All,
currently, We have designed the AbstratWizardFormCOntroller (AWFC) using annotations, and we are processing each page separately, based on page number as below.
...
Yes, sure i will post the logs when i reproduce this issue.. BTW, can you please tell, why it may happen? i.e session count increases when i refresh the page (only sometimes)..
Yes Luke, I am able to login multiple times, as i said earlier, if 3 sessions are allowed for a user, on logout will decrement 1 from SessionRegistry, however another 1 will be active only and will...
Thanks rwinch for the reply. My web.xml looks like below.
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
can anyone please help me with this?
Hi All,
I am using Spring Security in our application. It works fine, but sometimes, spring security created two session for the same login. We are printing the number of active sessions for the...
Hi,
We are using Spring Security 3.0.5 in our application. Now, I want to show a text, like 'Currently there are x number of active sessions' in my JSP. How do get this x, i searched and i got...
We are not using web flow.. Is it cannot be done using the @Controller and other annotations.. ?
Hi All,
I am learning Spring MVC 3.x, i have done samples using @Controller annotations. Now, i want to learn how to emulate the classic spring AbstractWizardFormController, in Spring 3.x using...
Great.. Thanks a lot Luke..
Hi All,
Currently, we are using Spring Security(3.0) to authenticate our users from LDAP and everything is working fine. We have configured, that maximum number of concurrent session for a user is...
Also, If you guys can provide an example, just a bean configuration, will be fine, showing the controller configuration in XML, will be good.. Can you guys please give this?
Thanks Rossen for the reply, Sure, I will have a look into spring reference documentation
Thanks Marten, for the answer, Do you mean i can still have an XML file, where all my controllers with formView, successView can be defined ?.. one more question, SimpleFormController and other...
Hi All,
As we all know, SimpleFormController, is deprecated from spring 3.0 onwards, in favour of @Controller annotations. But, What i was wondering is, Is there any way, where i can keep all my...
Hi,
Currently i am having 10 lines in an input file.. using spring batch, i am now writing header, the 10 lines in input file and a footer(number of lines). Now, I want the number of lines to be...
Thanks Arno, It is now working.. but what happens is, if i have 10 lines in file and commit-interval=2.. i get 5 files, fine, but the file2,3,4 will be empty and file 1 has header and 2 lines.. 5th...