Search:

Type: Posts; User: bowa; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    861

    i know i can do it like that but i would like to...

    i know i can do it like that but i would like to do it with some kind of interceptor or filter ... so i can easily add or remove it to ALL pages, from my spring configuration files
  2. Replies
    4
    Views
    861

    timing webrequests

    What would be the easiest way to add the total time that was needed to process a page request to the model ? (so i can put in the footer of the page for debugging).

    So the delta between the...
  3. Replies
    1
    Views
    931

    listing current logged in users

    In the admin panel of my webapp i would like to give an overview of the currently logged in users and the timestamp of the last 'activity'.

    What is the best approach for this ?
    Is there a central...
  4. Replies
    5
    Views
    1,417

    isnt this what the...

    isnt this what the org.springframework.web.filter.CharacterEncodingFilter is supposed to be doing ?
  5. Replies
    5
    Views
    1,417

    like i said the freemarker templates load ok as...

    like i said the freemarker templates load ok as UTF-8, no problem there, its the response headers that are not UTF-8.
  6. Replies
    5
    Views
    1,417

    Controllers and UTF-8

    i have tried a lot of things but i cant get my pages outputted by my controllers to have a UTF-8 encoding

    the response headers keep on giving:
    Content-Type text/html;charset=ISO-8859-1

    there...
  7. Replies
    3
    Views
    1,516

    the problem is that once i make the bean...

    the problem is that once i make the bean applicationContextAware i get these errors.


    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openProjectJob'...
  8. Replies
    1
    Views
    1,036

    some extra usefull information the startup...

    some extra usefull information

    the startup logs:

    21 dec 2007 11:57:00 INFO [main] org.quartz.core.QuartzScheduler - Quartz Scheduler v.1.5.0 created.
    21 dec 2007 11:57:00 INFO [main]...
  9. Replies
    1
    Views
    1,036

    Quartz job starting 4 times

    on my development environment (windows) everything works like expected, on my staging environment (linux) my job starts 4 times ??


    <bean id="thumbsJob"...
  10. Replies
    3
    Views
    1,516

    FactoryBean vs ApplicationContextAware

    <bean id="openProjectJob"
    class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
    <property name="targetObject" ref="projectManager"/>
    <property name="targetMethod"...
  11. Replies
    1
    Views
    1,620

    ok i was thinking the getLocalizedMessage would...

    ok i was thinking the getLocalizedMessage would use the visitors locale, but that exception has no knowledge of that locale, so it uses the system locale, adding a -Duser.language=nl to my tomcat...
  12. Replies
    1
    Views
    1,620

    Localization issue

    in my login controller i have this code:



    if("1".equals(request.getParameter("login_error"))){
    AuthenticationException ae = (AuthenticationException)...
  13. HttpServletRequest from AuthenticationSuccessEvent

    I have a LoggingListener bean that also accepts AuthenticationSuccessEvent's



    public void onApplicationEvent(ApplicationEvent appEvent) {
    if(appEvent instanceof...
  14. Ok thanks for the insight, so instead of just...

    Ok thanks for the insight, so instead of just making only my DAO transactional, i want to make my business logic beans transactional. like i did with the OrderListnerHelper.
  15. ok i found a working solution: OrderListener:...

    ok i found a working solution:

    OrderListener:


    public class OrderListener implements ApplicationListener {

    private OrderListenerHelper orderListenerHelper = null;

    protected final...
  16. i was thinking that my orderDAO and txManager...

    i was thinking that my orderDAO and txManager would take care of it.



    <bean id="orderDaoTarget" class="my.package.order.dao.HibernateOrderDAO">
    <property name="sessionFactory"...
  17. Hmm, i still didn't get this working. i added...

    Hmm, i still didn't get this working.

    i added some logging statements so the error occors in this method.



    public void onApplicationEvent(ApplicationEvent event) {
    if (event instanceof...
  18. Replies
    0
    Views
    811

    localized view with FreeMarkerViewResolver

    i have a SessionLocaleResolver that adds a Locale to the users session.


    <bean id="localeResolver" class="org.springframework.web.servlet.i18n.SessionLocaleResolver">
    <property...
  19. Replies
    2
    Views
    1,153

    checking if user is logged in the view

    I am using freemarker as a view technology, i have the authz taglibs set up and they work fine. I can check if a certain user has this or that Role or not. But i cant find a clean way to check where...
  20. some extra info.

    I think the problem is that my ApplicationListeners get executed in a different thread by the ThreadPoolTaskExecutor. And that way there is no session bound to the thread.

    I tried injecting my...
  21. opening Hibernate session for ApplicationListeners

    using a "openSessionInViewInterceptor" helped me to keep my sessions open during the rendering of my view.

    now i am also using hibernate from an ApplicationListener instance ... what would be the...
  22. Replies
    3
    Views
    956

    http://forum.springframework.org/showthread.php?t=...

    http://forum.springframework.org/showthread.php?t=15089

    :-)
  23. i like that approach ... the query itself is...

    i like that approach ... the query itself is configuration, not code.

    also comes in handy if your DBA asks for a list of all the queries you do for a project, just give him the apropriate spring...
  24. Replies
    3
    Views
    956

    11 okt 2007 08:34:53 DEBUG...

    11 okt 2007 08:34:53 DEBUG myPackage.mvc.controller.DocumentViewController - loaded document with id : 1633
    11 okt 2007 08:34:53 DEBUG org.hibernate.impl.SessionImpl - initializing proxy:...
  25. Replies
    3
    Views
    956

    the logs ... (sorry for the long longs but i...

    the logs ... (sorry for the long longs but i guess they might be helpfull)



    34:53 DEBUG myPackage.mvc.controller.DocumentViewController - request for document with id 1633
    11 okt 2007 08:34:53...
Results 1 to 25 of 61
Page 1 of 3 1 2 3