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 8952805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:57:20+00:00 2026-06-15T13:57:20+00:00

As an assignment, I have ti implement a simple webserver in Java. My Problem

  • 0

As an assignment, I have ti implement a simple webserver in Java.

My Problem is:
There is a html-form that looks like this:

<form method="POST" action="dummy" accept-charset="UTF-8">
<input name="in1" type="text"/>
<input type="submit" value="GO"/>
</form>

i enter >dc=mydomain.com< (without ><), press GO.

the webserver reads the post from the socket, but the parameter suddenly is
“dc%3Dmydomain.com”

ps. i am running java 1.7.0-b147, 64bit

how can i avoid the html-form escaping characters like “=” and “,” to %3D and %2C? Or make java reconstruct the original string from the textbox?

  • 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-15T13:57:21+00:00Added an answer on June 15, 2026 at 1:57 pm

    In the web server code you will need to use java.net.URLDecoder.decode on it. The default enctype for a form is urlencoded.

    HTH

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

Sidebar

Related Questions

I am working on a short java assignment that I have been set. The
I have to implement a search algorithm for a school assignment. Right now, i'm
I have the following assignment: Implement a basic shopping basket without using any predefined
Hi I have a homework assignment where I need to implement an intersection of
I have assignment to work on producer and consumer problem by use thread and
In my assignment i have a problem with reading a file. See the following
For a school assignment I have to create a C++ program that will create
(this is indirectly a part of a much larger homework assignment) I have something
Let me establish that this is part of a class assignment, so I'm definitely
I need to implement a moderately simple Powerpoint-like tool for the web. The user

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.