Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: [solved] Newbie question: Generating an Excel View

  1. #11

    Default

    i define in WEB-INF/xxx-servlet.xml :
    Code:
    	<bean id="viewResolver" class="org.springframework.web.servlet.view.ResourceBundleViewResolver">
    		<property name="basename"><value>xxx-views</value></property>
    		<property name="defaultParentView"><value>jspView</value></property>
    	</bean>
    and then i have in WEB-INF/classes/xxx-views.properties :
    Code:
    jspView.class=org.springframework.web.servlet.view.JstlView
    jspView.requestContextAttribute=rc
    
    overtime_excelView.class=org.package.OvertimeExcelView
    which is a class that extends
    org.springframework.web.servlet.view.document.Abst ractExcelView

  2. #12

    Default

    I followed your steps, but my case still has problem. I notice that in your xxx-views.properties you only have xxx.class=someValue without using xxx.url=someValue.

    I have no idea about my problem, if you or some body can see my thread:
    http://forum.springframework.org/showthread.php?t=41676

Similar Threads

  1. Replies: 9
    Last Post: Nov 1st, 2005, 10:36 PM
  2. Beandoc crashing (on its samples!)
    By aaime in forum Container
    Replies: 17
    Last Post: Oct 7th, 2005, 07:21 AM
  3. Replies: 3
    Last Post: Apr 29th, 2005, 06:09 AM
  4. Content Provider vs View Model
    By Martin Kersten in forum Swing
    Replies: 21
    Last Post: Mar 10th, 2005, 02:25 PM
  5. Newbie question on Pages and Views
    By ragnarwestad in forum Swing
    Replies: 8
    Last Post: Dec 13th, 2004, 10:47 PM

Posting Permissions

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