Find Jobs
Hire Freelancers

convert small portion of php code into jsp code with a few simple modifications

$30-50 USD

Closed
Posted over 9 years ago

$30-50 USD

Paid on delivery
Hello, I have with me a php script that can fill in multiple similar web forms easily- what it does is, asks for the values (required by each form) from the user initially, then one-by-one, it opens a form (filling in all values asked from the user) and shows only captcha and multiple choice value of "Category" on screen. Now end user has to fill in captcha and multiple choice value. After that, the php script submits the form successfully. What I want you to do is to convert this php code into java. The php script requires "curl" library- there is a workaround for this also-- We can take advantage of libcurl straight from within Java programs using this binding. All you need to do is to get the 'curl-java' package and use it! Refer [login to view URL] for more details. OK, the main task of php code is to show only captcha and one category value on screen, and then(after user has filled in captcha and category) fill in other fields automatically and then submit the form. I want you to make the java equivalent of this, with the following in mind- (1) Currently the list of fields for each form, is hardcoded in php code. I want your java code to have a function that accepts a list of fields as input parameter. SO if I want to submit data to a different form, then I can accordingly give as parameters to your function, the list of fields required by that form. (2) Currently only one multiple choice value- "Category" is shown on screen - again I want that I can pass as parameter to your function a list of multiple choice fields, so that these can then be displayed on screen. (3) Full response message (whether error or success) should be logged by your function. Ideally I want your code to give the exact response message, however if you can even store the full response in a file on server that is also acceptable. Before I accept your work as complete, create 2 working samples of your function for me- one should submit data and captcha to a web form with regular captcha, the second form should submit data to a web form with recaptcha. Simple work for a good php/java coder. Your code will be used in a jsp web application. It may also be used in a java desktop application. Pls refer additional information also... ## Deliverables (4) I should be able to submit data to multiple forms simultaneously using your code. (Current php code submits data to one form at a time) So for your function, one input parameter is the list of form URLs, one input parameter is list of fields in each form, one input parameter is list of multiple choice values (like radio button/check box or other type) and one parameter is the list of actual values (corresponding to the list of fields parameter ie the values to be filled in for various fields in each form)... Also I should be able to submit data to multiple forms with each form having a different set of fields/multiple choice values. The method (Get or Post) should also be passed as a parameter to your function. Finally, I should be able to use your code to register as a new user at a website, then login and finally submit data (after logging in). I think this requires cookies but you will have to ensure that I am able to do this...Also both GET and POST requests should be supported by your code. The entire php script is attached with this project as a zip file. Please refer "[login to view URL]" in the zip file to see the relevant php code that has to be converted into java. You can see a working demo of this work by going to [login to view URL] and login with user='arvindikchari' and password='password'. Now in left hand side menu go to "Directory Submission" under this click on "Start Submitting". Now you can see the action of showing only captcha + category on screen, and then autosubmission of form (after user has filled values for captcha and category).
Project ID: 6477601

About the project

10 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
10 freelancers are bidding on average $47 USD for this job
User Avatar
Hi I've read the project in details. I'm a perfectionist, my codes will be neat & clean, updated, easily understandable with necessary comments. Please note, I'll test your system A-Z before deliver the work. I've bid with my best price & time frame. Please ping me if you are interested. Thank you
$45 USD in 3 days
4.9 (38 reviews)
5.5
5.5
User Avatar
Dear hiring manager, I have read your job description very attentively. I have fully understood what you need to done.. We have a team of professionals.. I can work full time and have the ability to finish the project within the deadlines . I am interested in this job. I can give you 100% assurance of my work. Have a nice day..
$54 USD in 3 days
5.0 (11 reviews)
3.8
3.8
User Avatar
A proposal has not yet been provided
$45 USD in 7 days
5.0 (12 reviews)
4.0
4.0
User Avatar
A proposal has not yet been provided
$45 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
hi i would deliver this work in 3 or less days based on your requirement and provide you the support if needed after that based on my availability
$45 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
India
0.0
0
Member since Sep 19, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.