fabian verbeek

Ranch Hand
+ Follow
since Oct 20, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by fabian verbeek

thanks
i make a clean tomcat work directory and it works

really incredible as comportment
11 years ago
I tried your solution in cleaning the server and then publish but now when i start the application i receive a blank page.
after some seconds, i receive the alert: Page load failed with error: La requête a expiré.

I receive this message in the trace:
Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.lang.OutOfMemoryError: PermGen space

thanks for your help because i'm from Php and tomcat seems to suck
11 years ago
I checked in the build path and spring-web-3.2.0 are inside
I did a clean project but it still doesn't work
11 years ago
Hi,

I'm really disapointed in my learning.

I changed nothing!
An hour ago, everything worked and after restart the computer, i receive the error with this trace:



Do you have an idea to help me

thanks
11 years ago
Hi,

I get this error but i don't understand.
Here is my describe mysql:


And here is my class:


If you look the column: menuIsAdmin, it's the same type and it works :-s

here is the complete trace


thanks for your help
Hi,

I'm new in hibernate and i would like concat 2 fields and put in an alias
like this i mysql:

SELECT CONCAT(a,b) AS c from table ORDER BY CONCAT(a,b)

How can i use this in the query hibernate

Query q = session.createQuery("FROM table order by ?");

thanks for your help
Hi,

As newbie, i've a question about an xml that's use for all the application?
For example, now i'm using internationalization on each context

here is a context containing internationalization and mapped with my page user


An other question about internationalization, how can i know the choosing language in my controller?

thanks for you help
11 years ago
it works i forgot : @ResponseBody
11 years ago
I added this 2 jar:
jackson-core-asl-1.9.9.jar
jackson-mapper-asl-1.9.9.jar

modify my spring-context.xml:

i modify the servlet to return my object:


and finally my js function that return the alert error!


the error say: La ressource demandée (/starterSpring/WEB-INF/jsp/admin/getDetails.jsp) n'est pas disponible.
it's correct but how can i tell it thats the same page : admin/gestionMenu.jsp
thansk for your help
11 years ago
Hi,

I'm trying to use ajax with spring 3 but i can't find a correct tuto so i post here some questions.
here is my function js


here is my controller where i want to get my object Menu:

How can i get my param id from my js function getDetails?
i receive an alert error from my function getDetails: Error occured
How can i get my object in my function js to display the result? for example :
document.getElementById('txtDesc').value = object.getDesc()

thanks for your help
11 years ago
In fact it's empty but how can i intercept the message and display the message error?
Hi,

I'm new and i use hibernate4 and spring 3. i try to use the validation but i receive the next error : javax.validation.ConstraintViolationException when i try to save



Here is my complete trace error
Do you know an easy tuto to transform a web project to maven project?
11 years ago
I'm trying an other way by using a class HibernateSessionFactory



And my hibernate.cfg.xml


I replace the line in my userService:
Session session = sessionFactory.getCurrentSession();
session.save(usr);
by