i got a page that once the user enter the details click on submit button a reset password link will send to user email account i add a resetId in the link like this
Once the user click on the link how can i get the parameter values immediately the user click on the link? Because i want to check the reset Id is still valid or not if is expire den will redirct user to another page or show that this page is no longer exist how can i do that?
posted 6 years ago
This code may helpful for you, go through this code, you have to write the code in Action class in struts to get the Id of the link what you pressed.
Follow the code below,
public class QueryAction extends Action
private static final String ID_LINK = "IdofyourLink"; ------>(Id of the link)
private static Logger logger = Logger.getLogger(ContentQueryAction.class);