Re: [appfuse-user] problem uploading files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [appfuse-user] problem uploading files

Matt Raible-3
When you say "temporary upload dir" - what do you mean?  Where is this
created directory located?  Are you sure it's the path that's causing
the problem?  What if you just use "/" as the RealPath?

Matt

On 6/28/05, W. Ivan Coro <[hidden email]> wrote:

> Hello,
>
> The following instruction:
>
> String uploadDir = servlet.getServletContext().getRealPath("/resources");
>
> works fine if the struts action is mapped as:
>
> * @struts.action name="articleForm" path="articles" scope="request"
> * validate="false" parameter="method" input="mainMenu"
>
> but, when I change the path to path="/admin/articles" then tomcat creates a
> temporary upload dir and the creation of "/resources" dir is ignored. How to
> solve this? Thanks.
>
> Ivan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...