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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:45:45+00:00 2026-06-09T19:45:45+00:00

I have done this before, but can’t get it work this time :S I

  • 0

I have done this before, but can’t get it work this time :S

I have a JSP with a form:

    <form action="/SimModSystem-web/ExecuteModel" method="post">
            <h2>Initial State</h2>
    <h3>ASSET</h3>
    <div  style="style0"><span style="style1">Assets Amount</span><span style="style2"><span style="style2">Amount<input type="text" value="[-Infinite - +Infinite]" id="initial..asset.amount.param0" /></span></span></div>
    <div  style="style0"><span style="style1">Savings Interest APR</span><span style="style2"><span style="style2">APR %<input type="text" value="[0.0 - 1.0]" id="initial..asset.apr.param0" /></span></span></div>
    <div  style="style0"><span style="style1">Desired Savings Percentage</span><span style="style2"><span style="style2">Annual %<input type="text" value="[0.0 - 1.0]" id="initial..asset.minsaving.param0" /></span></span></div>
    <h3>LIABILITY</h3>
    <div  style="style0"><span style="style1">Liabilities Monthly Minimum Payment Percentage</span><span style="style2"><span style="style2">Minimum Payment %<input type="text" value="[0.0 - 1.0]" id="initial..liabilities.minpay.param0" /></span></span></div>
    <div  style="style0"><span style="style1">Liabilities Amount</span><span style="style2"><span style="style2">Amount<input type="text" value="[0.0 - +Infinite]" id="initial..liabilities.amount.param0" /></span></span></div>
    <div  style="style0"><span style="style1">Liabilities APR</span><span style="style2"><span style="style2">APR %<input type="text" value="[0.0 - 1.0]" id="initial..liabilities.apr.param0" /></span></span></div>
    <div  style="style0"><span style="style1">Liabilities Delayed Payment Fee</span><span style="style2"><span style="style2">Fee Amount<input type="text" value="[0.0 - +Infinite]" id="initial..liabilities.delayedfee.param0" /></span></span></div>
...
<input type="submit"/>
        </form>

When I click “submit”, in the servlet when I try to do:

request.getParameterNames();
request.getParameterMap();
request.getParateter("initial..liabilities.delayedfee.param0"); //or any other param

All return ‘null’.

As you can see there is no special encoding in this form.

Does anyone knows what could be wrong?

  • 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-09T19:45:46+00:00Added an answer on June 9, 2026 at 7:45 pm

    You need to use name of component, just “id” won’t work

    <input type="text" value="[-Infinite - +Infinite]" id="initial..asset.amount.param0" name="comp1" />
    

    And

    request.getParameter("comp1");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have done this several times before but for some reason I can't get
i have done something like this: <form action=validate.php method=get> Id :<input type=text name=pID/><br/><br/> Name
I'm sure I've done this before but I can't recall how. I have 2
I have seen this done before but I can't remember where I saw it.
I know I have done this before, but it isn't working today, nor can
I swear I have seen this done before but can not find it now.
I've done this before, but can't remember how its done now. Have one json
I have done this before and for some reason I just can't get it
I know I have done this before but I can't seem to remember where
I have done this before but I forgot where in my app I have

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.