Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

image text in transcribedWrite 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual C# And Databases

Authors: Philip Conrod, Lou Tylee

16th Edition

1951077083, 978-1951077082

Students also viewed these Databases questions

Question

How do we organise for international logistics?

Answered: 1 week ago

Question

What are the logistics implications of internationalisation?

Answered: 1 week ago