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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started