Results 1 to 2 of 2

Thread: Best Practices using ViewResolver with jsp and jspf

  1. #1
    Join Date
    Jan 2010
    Posts
    1

    Default Best Practices using ViewResolver with jsp and jspf

    Hello,

    I would like to use both jsp files and jspf files. Also, I would like to store both types in their own folder. For example,

    /WEB-INF/jsp
    /WEB-INF/jspf

    Unfortunately my ViewResolver, which is configured like this

    Code:
    <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"
              p:prefix="/WEB-INF/jsp/"
              p:suffix=".jsp" />
    can only handle one folder.

    I realise that I can rename all my *.jspf to *.jsp and move them into the jsp folder but I feel that it is clearer to seperate them.

    I do not mind having to some convention within the logical names to indicate whether it is a jsp or a jspf view that is required.

    What is the best way to go about this?

    Thanks,
    Steve.

  2. #2
    Join Date
    Jul 2012
    Posts
    1

    Default

    Hey,

    Did you manage how to do that? Whats the solution?

    I'm having exactly the same issue.

    Thanks in advance!

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
  •