Hi, I have developed an application using Struts 2 but I need store files 
into the blob store (> 1Mega files).

In docs appear this:

<form action="<%= *blobstoreService.createUploadUrl("/upload") *%>" 
method="post" enctype="multipart/form-data">
            <input type="text" name="foo">
            <input type="file" name="myFile">
            <input type="submit" value="Submit">
 </form>

if the url is an Struts action (ex: myAction.action) doesn´t work, but if 
you put index.jsp works fine.

One thing I have solved is include <constant 
name="struts.action.excludePattern" value='/_ah/.*'/> in struts.xml file to 
exlcue urls wich starts with _ah.

In conclusion:

I think the problem is that I put an action into createUploadUrl Method but 
the callback refers to _ah/upload/KEY and this can´t be find as an action, 
Any IDEA??

Thanks alot!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/vdGGCBs66JEJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to