Why not start from the tutorial sample application (which does what you want)? Then you have a working configuration to build on.
Hello, I tried everything uv given me above, but it still didnt work. weird though, when i tried to put <c:out value="param.error" /> and <c:out value="params.error" /> what i get are "param.error" and "params.error" printed on the screen, not the value of parameter error which is "true".
-marckun
I hope that you mean
and notCode:<c:out value="${param.error}/>
If you wrote right the command then the problem is not on spring security but on the jsp and the GET variables.Code:<c:out value="param.error/>
Hello,
Thanks for that very sound comment. Hmmm, probably you are most definitely correct.. Have I missed something then? What I did is I placed jstl.jar and standard.jar on my WEB-INF/lib folder (and MyEclipse automatically adds in the build path). and I tried both these URL's on my jsp pages:
PHP Code:<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
That's all i did. I didn't put anything in my web.xml etc..PHP Code:<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
(*Sorry if I sound stupid above, this is my first time really setting up a complete project ground-up so I might really be annoying..)
-marckun
From your quoted post it seams that you have set right the jstl and standar lib. It prints the the value you want. But, when you write:
you tell to print the string "param.error". In order to print the value of the variable param.error you have to write ${param.error}. Generally, when you want to use a parameter in jsp you put it in ${....}.Code:<c:out value="param.error" />
Did you try this?
What IDE do you use?
I don't know how in eclipse, but there is a slight possibility that you have to define it to your IDE. Import libraries or something like this, from project settings. It seems that, although you put the jar files, the classes are not included at the build of your application.