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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:17:33+00:00 2026-06-11T03:17:33+00:00

I am completely new to JAVA. I need to write a servlet which will

  • 0

I am completely new to JAVA. I need to write a servlet which will consume http post parameters sent from a client. I already have a java application platform server and could deploy my applications there. What I need is to write a servlet which will react to posted parameters.

Apparently I will need to expose these variables in Servlet? I did google and came across results where it is suggested to use REST frameworks to achieve this. Is this not possible writing plane java code (e.g. to be run Tomcat) without using any additional framework? A link to sample or tutorial would be helpful too.

Thanks

  • 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-11T03:17:34+00:00Added an answer on June 11, 2026 at 3:17 am

    No, you don’t need a REST framework.

    Just write a servlet that extends HttpServlet and implements doPost().

    Start with the Sun/Oracle tutorial:

    http://java.sun.com/developer/onlineTraining/Programming/BasicJava1/servlet.html

    Here are the javadocs for the parent class:

    http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html

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

Sidebar

Related Questions

I come from a .NET background and am completely new to Java and am
I'm trying to write a 3D demo for a client which will simply display
Completely new to java and I have been playing around with regex in a
Hi I am completely new to Java, so sorry if my question may sound
I am completely new to java and I am using Solr search server. It
Just a warning: I'm completely new to Java and am trying to teach myself
I am completely new to android, and pretty much a Java newb. I have
Please forgive me if any of this is wrong -I'm completely new to Java.
I need to use OGNL for reading some properties from Java object. OGNL is
I'm completely new to Ant and need to add a couple jars to my

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.