Hi all
I have a requirement where the various attributes of the form-login element need to come from system properties
eg
<form-login login-page='${myapp.login.loginpage}'...
Type: Posts; User: ashario; Keyword(s):
Hi all
I have a requirement where the various attributes of the form-login element need to come from system properties
eg
<form-login login-page='${myapp.login.loginpage}'...
I'm not sure if it matters, but my JSP viewing bean is declared a little differently to yours
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property...
thanks. i was having trouble trying to work this one out until i stumbled upon this thread
Thanks.
I'm assuming I'll need to extend AbstractView and use a 3rd party library for Word doc generation.
I figured this was a reasonably common requirement in applications, so wanted to find...
Hi all
I've used Spring's handy AbstractExcelView class in the past to generate MS Excel spreadsheet output from my web app.
Is there a similar way to generate output as an MS Word document?
Thanks for that
Hi all
I'm a reasonably experienced Spring developer and have done a couple of quickstart grails tutorials online.
Can anyone recommend a book or site that might best help me get up to speed...
I had this problem too.
Adding spring-modules-cache.jar to WEB-INF/lib fixed it.
It has been a while, but I thought I'd post how to get mysql stored procs to run via a read-only connection
1. you need at least mysql-connector-java-5.1.7-bin.jar
2. you need to add READS SQL...
Hmm, always happens.
Immediately after posting I stumbled upon SwitchUserProcessingFilter.
I'm guessing this can pretty much help me implement 'user switching'?
Hi all
I'd like to setup a 'login as' feature in my application.
I have a few users who help with administration and support. I'd like them to be able to login as a different user without...
I'm not sure if it would make any sense, but my first instinct would be to add a sessionTimeoutUrl property to AuthenticationProcessingFilter
If someone can point me in the right direction that would be great.
Essentially, I'm trying to determine the difference between
1. when the user tries to access a secured resource and hasnt...
Hi all
When acegi redirects a user to the login page upon httpsession expiry, i'd like to display a 'session expired' message, so they know why they are now at the login page
is there a point...
When binding to a domain object as a whole, rather than by individual properties within the domain object, you need to tell Spring how to to do the binding, since Spring is actually binding directly...
Hi all
I'm using Spring 2.0, Hibernate 3.1 and MySQL 5.1
I have read-only transactions setup for any get* methods in my service package
eg
<tx:advice id="transactionAdvice"...
after a bit more digging, i found a solution here. seems to work OK in IE and Firefox
http://forum.springframework.org/showthread.php?t=36568&highlight=form%3Aform+attribute
I'm having a similar issue
i want the result of a form post (an excel spreadsheet representing report results) to open in a new window
usually my form looks something like
<form...
How do others do this in a maintainable way?
Is there perhaps a technique to control/modify error message display other than wrapping
<c:forEach items="${status.errorMessages}"...
I'll give that a try. thanks
Hi all
I have a spring 1.2 app that has a couple of hundred bits of HTML very similar to the following
<spring:bind path="obj.formDate">
<input type="text" name="<c:out...
My understanding is that you are not allowed to set the value property for file text inputs, and that browsers ignore any value you do specify.
I guess its security related, otherwise a webpage...
Yep, sure did. I'd been struggling with this one for a while until I added the (ref) text.
http://forum.springframework.org/showpost.php?p=53610&postcount=7
Found a post that explains it all quite well.
I'm having the same problems
For example, if I leave a required field blank, validation fails (which is fine). I then call showForm()
However, hibernate tries to persist my command object to...