Hi,
I am facing a similar problem:
I want to use a bulk edit for serveral items of the same kind, but my view always throws an error ...
Let's have a look at the coding:
I retrieve a list...
Type: Posts; User: nOiDStaRr; Keyword(s):
Hi,
I am facing a similar problem:
I want to use a bulk edit for serveral items of the same kind, but my view always throws an error ...
Let's have a look at the coding:
I retrieve a list...
Hi,
I am facing the following:
I have a list list1 of items I would like to iterate with a forEach loop.
<c:forEach items="${list1}" var="item">
Hi,
try to correct <form:select path="state"> to <form:select path="state.id">
this should fix your problem.
Spring uses a default scheme for database authorization (see below), therefore you have to map your scheme...
For spring security try something like this (but modifiy the SQL statement concerning...
Thx and yes, I already thought about incompatible versions but I could not figure it out.
Furthermore I was investigating heavily with google and co ;-) but it seems that I wasn't using the right...
It seemed to be a caching problem concerning my applicationContext file. Since I removed my whole application and deployed everything new the applicationContext runs at least every part of the...
I ran into another problem ...
Spring security is absolutely ignoring the
users-by-username-query
authorities-by-username-query
attributes.
I always get bad credentials exceptions or sql...
I used the wrong version of spring security ;-)
Now it seems to work ... (still testing).
THX
Thx so far, but... know I run into the next wildcard error with the http element!?
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c:
The matching wildcard is strict, but no...
Hi,
I am trying to migrate from acegi to spring security and get this error (and cannot figure it out) ...
Context initialization failed...
Am I able to individualize those SessionAttributes to distinguish different requests (with same type, but different instances (e.g. User - id 23, id 12)) in the same controller?
It seems that you did not qualify your HashItems setter/getter properly so Spring is not able to retrieve the values.
As you need some login mechanism why not use spring security(acegi) easy to...
As far as I understand ;)
whenever you use
status.setComplete();
you delete your last requested object from your SessionAttributes - so it cannot be accessed twice without reloading it...
Search for the ACEGI framework, this is exactly what you are looking for.
ACEGI = Spring security ;-)
So far I am using one controller for several basic methods like view(GET), create(GET), edit(POST), list, delete. My controllers are currently written in annotation-style, therefore they can be...
I would say:
1. Create the controller and the method, return the populated ModelAndView
- it should pass results and form data to the site
- form data: check weather you need a clean object...
Yes thats the way I am doing currently but there must be slight differentiations between both approaches.
When do you use domain objects and when do form beans suit better.
e.g.
-If I am lazy...
When you include your jsp pages make sure you are leaving correct html behind (maybe check with a HTML Parser).
Furthermore I also would use the include option to bundle both sites together and...
Hi,
just a simple design question I am not pretty sure about...
Do you rather use your domain objects for the form backing objects or do you implement own form beans and push the data through...
Hi there,
as I am changing my application from XML to annotation style (component scanning) I need further knowlege about how to get a AT-Controller (thread-) save.
I've got one controller...