-1

I am developing Email Verification code when new user register to the system. When the user fill the registration form and click the submit button system send the activation URL with encrypted username. Below I mentioned the URL that I am sending.

http://localhost:8080/webplatform/getVarifiedLogin.action?loginuser=3385a6e7d0ce17f3e4383a390256f7a9

When the user click on the URL it should execute particular action. It is ok. It executes particular action. I want to send this encrypted value to action class. So can you please tell me how can I do configuration in struts.xml and action class to do this.

Roman C
  • 49,761
  • 33
  • 66
  • 176
WCM
  • 595
  • 3
  • 11
  • 27

1 Answers1

1

With what I understand from your question,

On your action class, you will need

private String loginuser;
//its getter setter

once you click url, your action class loginuser will have loginuser value passed through url.

want2learn
  • 2,471
  • 2
  • 20
  • 37