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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T12:00:48+00:00 2026-06-01T12:00:48+00:00

Making a drop down list for my JSP and the values I’m entering won’t

  • 0

Making a drop down list for my JSP and the values I’m entering won’t show. Probably me being an idiot but a solution would be really helpful

The drop down box appears but the values to select are empty.

It’s a big JSP so here’s the piece that I’m looking at..

Form is put at the top of the JSP:

out.println("<form action=\"ExchangeServlet\" method=\"get\">");                    

At the bottom of the jsp:

out.println("<select name =\"status\">"+
"option value =\"Accepted\">Accepted</option>"+
"option value =\"Declined\">Declined</option>"+
"</select>");
out.println("<br />");
out.println("<input type=\"submit\" value=\"Update Exchange\" />");
out.println("</form>");
  • 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-01T12:00:50+00:00Added an answer on June 1, 2026 at 12:00 pm

    Your HTML is invalid.

    Change

    out.println("<select name =\"status\">"+
    "option value =\"Accepted\">Accepted</option>"+
    "option value =\"Declined\">Declined</option>"+
    "</select>");
    

    to

    out.println("<select name =\"status\">"+
    "<option value =\"Accepted\">Accepted</option>"+
    "<option value =\"Declined\">Declined</option>"+
    "</select>");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is probably something really stupidly simple.. I have a drop down list bound
On my index page, I have a drop down list that, when clicked, sends
I'm attempting to repopulate a drop down menu. I'm making an ajax call to
hi i'm making a dropdown menu, but there is a problem with ie7, sub-list's
I am making a drop down menu that is populated using an sql database.
I have created a partial view to handle drop down list controls. In my
I am working on making some drop-down menus. Our designer prescribed a gap between
I'm making some basic drop down menus based on this tutorial So its all
I'm making a webapp for iOS. When I make a dropdown list with the
I'm on the process of making a dropdown widget. The menu the expands down

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.