Results 1 to 3 of 3

Thread: MVC and Generic Types

  1. #1
    Join Date
    Mar 2012
    Posts
    2

    Default MVC and Generic Types

    I'm using Spring webmvc 3.2.1. I have the following code in a JSP:

    <%@ taglib prefix="sf"uri="http://www.springframework.org/tags/form"%>
    ......
    <sf:errors path="firstName"/>


    I'm getting the following warning in Spring Tool Suite 3.2.0 Release:

    List is a raw type. References to generic type List<E> should be parameterized

    Is there a way to fix this warning? If there is a way to just turn off that specific validation for JSPs (and NOT Java code) I would be happy enough with that.

    Thanks,
    Johnny

  2. #2
    Join Date
    May 2011
    Posts
    9

    Default

    Did you ever resolve this issue? I'm having the same problem and finding no solutions.

  3. #3
    Join Date
    May 2013
    Posts
    6

    Default

    Is there a way to fix this warning? If there is a way to just turn off that specific validation for JSPs (and NOT Java code) I would be happy enough with that.


    For more information Tradingforex
    For more information Tradingforex

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •