Hey Thanks a lot!
Type: Posts; User: YoannM; Keyword(s):
Hey Thanks a lot!
Hi all!
I have a little issue here...
How can I tell Spring Security to allow access to some pages for more than 1 ROLE... Seems stupid but I tried some stuff and it all failed...
I am using...
Sorry I took my time to answer...
SO yes I am using that already, but what I did to fix everything is to create a new filter and to reset everything to UTF-8 on all responses...
private...
Hi all,
I have a little problem here...
I am using Freemarker templates, and when I use it with an AbstractWizardFormController I come across an encoding problem...
Let me explain, The first...
Hi,
Same thing with freemarker, it worked by adding that property.
Thanks.
Well it seems to work... (I am using JBoss4.0.5GA)
I just changed it to false, and now jboss is sending back a new JSESSIONID.
I feel a bit better.
Does anybody think there will be some...
Waw I've been quite stupid on this one ;)
Thanks a lot !
Well my first dispatcher takes care of the .html files and the second one (for static pages) is only taking care of the .htm. At least that is what I am trying to achieve ;)
But while looking at...
Ok, thanks a lot I had a look at it, but still can't make it work...
It is kind of looping forever when I tried to reach one page inside that folder...
Here is a part of my 'second' dispatcher...
Hi everybody,
My question is how to deal with static content within Spring...
I explain, I have a web application which is working like I want :) Good. But I would like to have another part of...
Hi everybody,
I might be blind or something but I couldn't find anything on the Spring forum to deal with the UTF-8 problem inside the internationalization i18n property files.
I found a good...
Sorry I haven't seen anything, maybe somebody else will.
Is your "hibernate.dialect" set somewhere in a property file ?
I don't understand why you can't try the example I showed but it doesn't matter if you found a good one. I haven't checked it, but it seems it is using Struts, which makes one more thing to learn......
Well I believe that this example will be almost what you need:
www.zabada.com/technology/Wiki.jsp?page=SpringMVCBasics
If you need others, try google ;)
Good morning everybody !
I have a simple question, but before getting crazy of trying half a dozen different solutions I would like to have some advices.
I have a search feature on the website...
Ok, I am sorry I haven't seen that before but actually you are trying to insert something in the DB when calling the Controller, before displaying your page it already tries to insert something...
But the form is showing or not? Is it when you process the form that it happens or before?
Did you really put a number inside the field "stuNumber" ?
WAW .......... I have noooooooo idea why it wasn't working so I created the SAME controller and freemarker template step by step and SURPRISE it works....
Sometimes I have very strange errors.......
Ok great I made it work like I wanted it to work !! that's a good thing !!
Thanks again !!
But now I have a very strange behaviour... I have no idea how, but all the language tags are changed...
Well in your form, you have :
<input type="text" name="StuNumber" maxlegth="20" >
Which is correct (from my point of view).
But after you do a:
String stuNumber= (String)...
Ok thanks, I don't know how I missed that page .... Don't ask...
I really need to go now, but I will be back in a few hours, and I let you know how it is going.
Thanks,
Yoann
Yes you are right, I haven't said that... Sorry.
The goal is to have a multilingual interface (that an user can change whenever it wants). All the translated elements are in a Database (retrieved...
Yes you are absolutely right, I am concerned with Performance (obviously) and readability. What I just tried now is to:
- Create a HashMap<String, String> with all the Strings I needed and send...
Good morning,
I am not sure it will resolve the problem but you should check that:
You are retrieving your StuNumber from the form with:
String stuNumber= (String)...