Question: Write a Java program to take a String, encoded by URL encoding rules, and decode it it back into the the HTML forms fields (key)

Write a Java program to take a String, encoded by URL encodingWrite a Java program to take a String, encoded by URL encoding rules, and decode it it back into the the HTML

forms fields (key) and data (value).

See attachments for more details.

Attach you URL decoding program here.

See Powerpoint of problem.

See Lab exercise for designing form.

Hand in Screen shot of filled out form and program and output.

Submit your work in the Assignment Folder.

YOU MAY NOT USE THE JAVA BUILT IN URL ENCODER/DECODER,

AND YOU MAY NOT USE THE STRING SPLIT METHOD.

DO NOT HARDCODE SPECIFIC HEX TO CHARACTER DECODES. YOU NEED AN ALGORITHM.

Write a method that tests each character in the URL string and perform the appropiate decode.

You may want to write a method to convert hexidecimal numbers to decimal numbers.

Skills demonstrated:

Loops

Decisions

Positional notation to convert hex to decimal

String parsing

Casting (integer to character)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!