Hi all, for first sorry for my english.

I'm using GAE with the Java Spring3 Framework. Everything works fine
but now I need to upload and save a simple image for each "Book" model
in my application.

I have some annotated controller with Spring3 that respond to some
URLs but I don't know how to handle the uploaded file.

I mean, I have a simple Controller like this:

@Controller
@RequestMapping(value = "/admin/book/add.htm")
public class BookAddController {
...
}

I don't know how to do with the JSP.
<form:form modelAttribute="book" action="<%=
blobstoreService.createUploadUrl("/upload") %>"  method="post"
enctype="multipart/form-data">

because if I set the action attribute to that path I'm unable to
persist the "Book" model, because the BookAddController, obviously,
doesn't work.

The documentation and the examples I've found are all about a classic
standard servlet so I'm a little bit confused.

Can you help me?

Thanks a lot.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to