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

  • Home
  • SEARCH
  • 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 7846239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:30:51+00:00 2026-06-02T17:30:51+00:00

Hei. I am using the POST method for sending some information from a JSP

  • 0

Hei. I am using the POST method for sending some information from a JSP to a Servlet. I cannot understand why when I send through the POST method a “+” character, it will be replace with a space character. Example: when I type the following String:
4+5 -> the Servlet will return 4 5; it replaces all the “+” signs. How can I fix this thing? I really need the “+” characters to be visible because after that I need to evaluate the expressions .

  • 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-02T17:30:53+00:00Added an answer on June 2, 2026 at 5:30 pm

    Form variables are sent URL encoded. The “+” plus character is (one) URL encoding of a space.

    See also:
    AJAX POST and Plus Sign ( + ) — How to Encode?

    If you want to send a literal plus sign, you would need to URL encode it either through Javascript or hard-coded “%2B”.

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

Sidebar

Related Questions

Hei, I'm trying to fill a textfield declared in a jsp file with some
Hei, I have a method from a class in a custom library which I
hei, Using Linq to SQL (ala NorthWind database for example): How to select all
Hei there, I started using ajaxForm plugin, having the form statement like this: <form
Hei! I need to optimize some matrix multiplication code in c, and I'm doing
Hei guys i have this JQuery Ajax call from my view and it looks
Hei , I'm trying to verify if my username and password from my xml
I'm having a problem including a different layout through the include tag in the
Hai, I done a server program in vc++(using visualstudio 2008). At that time it
Hei I’m trying to learn Linq to SQL and wondering if somebody can suggest

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.