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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:36:22+00:00 2026-06-01T01:36:22+00:00

I am implementing a password reset function and would have the key I want

  • 0

I am implementing a password reset function and would have the key I want to use as a parameter to a jsp page(I assume that is how it’s done. How can I pass parameters and to the jsp page and make those parameters only active for a certain amount of time?

  • 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-01T01:36:23+00:00Added an answer on June 1, 2026 at 1:36 am

    how can I pass parameters and to the jsp page

    Just include it in request URL.

    http://example.com/activate.jsf?key=12345678


    and make those parameters only active for a certain amount of time that

    Store a timestamp along the key in the DB when the key is generated for the first time. Retrieve the timestamp from the DB when the key is requested. If the difference with the current time is too big, invalidate it. Don’t forget to setup a background job to cleanup keys which are never used within a too long time, otherwise the DB may grow out its borders with unused keys.


    Unrelated to the concrete problem, I’m not sure what project you have there, but if you can, upgrade to JSF 2.x with Facelets as soon as possible. JSP is only typical for old JSF 1.x and is deprecated since JSF 2.0 almost 2.5 years ago.

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

Sidebar

Related Questions

I am implementing a reset password aspx page and in that page, I am
How do I go about implementing a secure password reset function without sending the
What is the best approach for implementing a single-use password to download a file?
I am implementing a system where the user can Reset their password if they
I'm implementing a PreferenceActivity, which would ask the user for username and password. I'll
Does anyone have any pointers for implementing the following: I want to cheaply enable
I'm implementing a password + password hint code I and want to prevent the
Are all modern browsers implementing a remember password feature? Or do I have to
I am implementing single sign on and i have the login name and password
I'm not sure how password hashing works (will be implementing it later), but need

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.