Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting Exception for Spring File upload
    primarykey
    data
    text
    <p>I am getting following Exception at the time of uploading the file using spring file upload functionality.</p> <p>trying to uplaod 291 KB jpg file. </p> <p>For less than 50 kb file it works properly. Following are bean entries</p> <pre><code>&lt;bean id="fileUploadController" class="com.businesscaliber.controller.FileUploadController"&gt; &lt;property name="commandClass" value="com.businesscaliber.bean.FileUploadBean"/&gt; &lt;property name="formView" value="admin.do"/&gt; &lt;property name="successView" value="admin.do"/&gt; &lt;/bean&gt; &lt;bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"&gt; &lt;!-- one of the properties available; the maximum file size in bytes --&gt; &lt;property name="maxUploadSize" value="100000"/&gt; &lt;/bean&gt; </code></pre> <p>Please help</p> <p>Hi i had updated spring 2.5 jar </p> <p>After that getting same error</p> <pre><code>11:45:29,562 INFO [STDOUT] 147375 [http-localhost%2F127.0.0.1-9090-3] ERROR org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/businesscaliber].[businesscaliber] - Servlet.service() for servlet businesscaliber threw exception javax.servlet.ServletException: Circular view path [exceptionController.do]: would dispatch back to the current handler URL [/businesscaliber/exceptionController.do] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.) </code></pre> <p>Privious Exception using Spring 2.0 jar </p> <pre><code> 1782687 [http-localhost%2F127.0.0.1-9090-3] ERROR org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/businesscaliber].[businesscaliber] - Servlet.service() for servlet businesscaliber threw exception java.lang.StackOverflowError at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215) at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544) 2010-02-04 16:43:31,406 INFO [STDOUT] a:544) </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload