Advertisement
Guest User

struts2crud_upblob

a guest
Feb 28th, 2010
1,065
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.32 KB | None | 0 0
  1. <% BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService(); %>
  2. <form action="<%= blobstoreService.createUploadUrl("/blobstore-servlet?action=upload")%>" method="post" enctype="multipart/form-data">
  3.         <input type="file" name="photoUrl">
  4.         <input type="submit" value="Upload">
  5.  </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement