| Author |
Exception: related to struts -need help
|
ashwini hikulkarni
Greenhorn
Joined: Jun 16, 2008
Posts: 25
|
|
Hi all When i am trying to upload the file more than 200 MB it is throwing an exception and if the file size is less than 200MB it is working fine I would be thankfull to all if any one could resolve my error thanks exception javax.servlet.ServletException: Path upload.jsp does not start with a "/" character org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) root cause java.lang.IllegalArgumentException: Path upload.jsp does not start with a "/" character org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:107) org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:96) org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:54) org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51) org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190) org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304) Upload.jsp ---------- UploadAction.java ------------------
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
The default maximum file size that the struts upload facility will accept is 250 Megabytes for Struts 1.3.8. If you want to increase that value, you can do so by changing the maxFileSize attribute of the controller element in your struts-config.xml file. Example:
|
Merrill
Consultant, Sima Solutions
|
 |
 |
|
|
subject: Exception: related to struts -need help
|
|
|