Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9062787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:49:37+00:00 2026-06-16T15:49:37+00:00

I have a JSP file where the form field will uploads a file to

  • 0

I have a JSP file where the form field will uploads a file to Google app engine, the below code shows it,

 <form name="myform" id="myform" action="<%= blobstoreService.createUploadUrl("/adminupload",UploadOptions.Builder.withGoogleStorageBucketName("sampleapp")) %>" method="post" enctype="multipart/form-data">

as i wrote this program with jsp and servlet i need to provide the same process in android app. If my GAE path is say like this http://sampleapp.appspot.com/Upload.jsp how can i provide this link in the form action property of an android app. As i don’t have idea about android app. Kindly suggest me what to provide in android app form property so that from the app a file can be uploaded.

Kindly tell me whether it is possible in android form to give url path like this,

http://sampleapp.appspot.com/uploadservlet

so that the android app will upload the file in the GAE sampleapp.appspot.com

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T15:49:38+00:00Added an answer on June 16, 2026 at 3:49 pm

    Yes it is. Use an HttpPost object by passing your server URL in the constructor.

    HttpPost request = new HttpPost(urlString);
    

    [EDIT]: Just noticed you used multipart entries. I’d suggest you do something of the sort explained in this tutorial.

    When you pass the url as a parameter you’re telling Java the destination for your request. So your request must then contain your file data (written in any way you wish DataOutputStream or any other way) and then you must execute it using an HttpClient object.

    Further, from the GAE pages on JSP you can see that every new <form action="/handleName" method="methodName"> you add will result in:

    .. a new URL, /handleName, to be handled by a new servlet class…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my .jsp file I have the code below. How can I compare the
I have a jsp file in which I have a form. It shows data
I have a jsp file that contains this code, <form id=testForm> <input type=hidden value=study--study
I have a jsp file: validate.jsp- var rollNo=document.forms[result_form][studentRollno].value; var name=document.forms[result_form][studentName].value; $(#student_result).load(result.jsp?rollNo=+rollNo+&name=+name); As you can
I have the following in jsp: <form action=/ucReady2/uploadservlet method=post enctype=multipart/form-data> <label for=filename_1>File: </label> <input
I have a form that lives in a .jsp file (yarntree.jsp). The form is
I Have following in my struts.xml file <action name=ProductVerification class=com.frontend.ProductVerification> <result name=success>/jsp/product_verification.jsp</result> <result name=input>/jsp/product_verification.jsp</result>
I have a jsp form, there is the next line in the code: <%@page
I have a form in my jsp file of the eclipse. the form gets
I have following piece of code in my jsp file which getSession information: <jsp:useBean

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.