Search:

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

Search: Search took 0.03 seconds.

  1. Spring 3 JacksonJson has problem with Javassist

    Using JacksonJsonView with Spring 3 (RC2), Hibernate 3.3.2 app. Jackson has a workaround to skip over lazy loaded fields when using Cglib, but no support when using Javassist.

    There is an issue...
  2. Replies
    4
    Views
    3,868

    My solution

    I see this is an old thread, but I was trying to solve exactly this problem. I wanted to bind a checkbox to a String, or Enum in my case. (Our Enum had states of ENABLED, DISABLED and DELETED). ...
  3. David, I'd be interested to see what you came up...

    David, I'd be interested to see what you came up with. This type of problem could really use a solid design pattern.
  4. Thanks for the reply. I'd put this part of the...

    Thanks for the reply. I'd put this part of the project on the backburner and worked on other stuff in hopes the MVC book would be out by now.

    I was looking into this and I was thinking of calling...
  5. Replies
    6
    Views
    1,249

    You can integrate the IOC part of spring into...

    You can integrate the IOC part of spring into struts with the spring plug in.

    You can use SpringMVC alongside struts, but the two are not integrated in any way.

    I have .html, .view and .edit...
  6. Added some debugging code

    @Override
    protected ModelAndView handleInvalidSubmit(HttpServletRequest request, HttpServletResponse response) throws Exception {
    System.out.println("IN handleInvalidSubmit!!!!!!!!!");...
  7. Any ideas, or other information I need to post?

    Any ideas, or other information I need to post?
  8. Replies
    3
    Views
    852

    If you are using JSP 2.0, replace

    If you are using JSP 2.0, replace

    <c:out value="${errorMessage}"/>

    with

    ${errorMessage}

    I never use c:out anymore unless I need to escape html characters stored in the variable.
  9. Debug log

    This is what displays if I enter any junk (or nothing) into the form and submit.



    [viz] DEBUG [resin-tcp-connection-*:8080-3] DispatcherServlet.doService(633) | DispatcherServlet with name...
  10. Code Samples

    <bean name="/signup/customer.edit" class="com.viz.web.controller.springmvc.publicsite.signup.CustomerController">
    <property name="lookupService"><ref bean="lookupService"/></property>
    ...
  11. AbstractWizardFormController based controller calling handleInvalidSubmit

    I have a simple 2 page form with a 3rd page being the success/confirmation page. I am extending AbstractWizardFormController. It was working at first, but now, regardless of what is entered into...
  12. Thread: Road Map?

    by tedberg
    Replies
    8
    Views
    2,056

    I was looking for the same thing. I was doing a...

    I was looking for the same thing. I was doing a cursory evaluation of different web frameworks to use in porting an existing struts app. I chose Spring MVC as it seemed to be the simplest port. ...
  13. It looks like beta 4 or final 1.0 has not been...

    It looks like beta 4 or final 1.0 has not been posted. Is this plug in still being actively developed?
  14. I have good names for my foreign key constraints,...

    I have good names for my foreign key constraints, but not for unique constraints.



    select * from user_cons_columns;


    Is a useful query, that could be used to generate a mapping. It gives...
  15. Generating user friendly error messages / constraint violati

    I have 2 unique constraints on a table, as well as not null and foreign key constraints. When I get a sql exception:

    org.springframework.dao.DataIntegrityViolationException: (HibernateTemplate):...
  16. Getting the username is very simple. I have the...

    Getting the username is very simple. I have the following line in a Struts LoginAction:

    String username = request.getHeader("sm_user");

    In my older apps, I would pass this username (and...
  17. Architecture questions Struts/Service/Dao + Acegi

    I have a web app with architecture following AppFuse and the Oreilly article http://www.onjava.com/pub/a/onjava/2004/04/07/wiringwebapps.html

    My layers are:
    View: JSP
    Controller: Struts...
Results 1 to 17 of 17