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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:05:55+00:00 2026-05-13T13:05:55+00:00

I am working on the front end of a jsp based app. We’re using

  • 0

I am working on the front end of a jsp based app. We’re using spring running on weblogic.

I have a page with a form that submits to itself and I am trying to access the values of hidden fields that I set with javascript.

 <form method="post">

  <input type="hidden" name="choosenDateFrom" value="test1" />
  <input type="hidden" name="choosenDateTo" value="test2"  />
.... more code

However when I use the code on the same page:

 <c:choose>
  <c:when test="${param.choosenDateFrom!=null}">
   <c:out value="${param.choosenDateFrom}" />
 </c:when>
   </c:choose>

The params are not shown on the page. What am I missing? I though this is the standard way of doing this.

Could it be that since we are using a MVC framework I can’t pass params around like this?

  • 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-05-13T13:05:55+00:00Added an answer on May 13, 2026 at 1:05 pm

    Do you have JSTL installed in webapp and declared in JSP?

    Check the generated HTML output (open page in browser, choose View Source). It should contain no traces of any JSTL code. If it does, then you likely just need to install JSTL first. Just drop jstl-1.2.jar in webapp’s /WEB-INF/lib and declare the taglib in top of JSP as per the JSTL core TLD:

    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    

    If that still doesn’t solve the problem, then there’s apparently means of a brand new request (i.e. a redirect has occurred), or you were using wrong parameter names. Use <c:out value="${pageContext.request.parameterMap}" /> to see all names.

    As per your doubt:

    Could it be that since we are using a MVC framework I can’t pass params around like this?

    That purely depends on which one you’re using. Not mentioning it doesn’t help us to give better answers. But in general the ${param} should be left untouched.

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

Sidebar

Related Questions

I'm using PyroStreams on my PyroCMS-based site, which is working great, but the front-end
I have the WordPress Login form working in the front-end of my website, to
I am working with a form, and the front end devs have default text
I have a high-level/conceptual question about Shibboleth. I'm working on the front-end (running Drupal)
I have been working on the front-end to a universal iOS app, setting up
I'm working on particular application, a spring+hibernate setup. I have one front end in
I am working on a Flex Front End at the moment, and have been
I'm working on a Java web application (Adobe Flex front-end, JPA/Hibernate/BlazeDS/Spring MVC backend) and
I am working on a project that requires some image processing. The front end
I am working on a front-end web app where a nested unordered list would

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.