| Author |
Usage of REST URI for JSP
|
madhankumar kumaravelu
Greenhorn
Joined: Nov 30, 2011
Posts: 17
|
|
Hello
I have an automated mail generated using JavaMail API application.
This mail will have an link as given below:
http://{name}.mail.application/link/{link_id}
Here, {name} and {link_id} are linked in the database .
When i click the above link a web page should be opened (i.e. jsp) with
the following URL:
http://link.mail.application/1234
Here: '1234'(Auto generated) should be specific to the person who clicked the link
Can i use REST URI?
Please let me know with sample code since i dont know how to use.
Thanks
Madhan
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12271
|
|
Logic like that should be accomplished in a servlet which can decipher the URI and forward the request to the correct JSP.
Have you looked into REST toolkits such as Jersey?
Bill
|
Java Resources at www.wbrogden.com
|
 |
madhankumar kumaravelu
Greenhorn
Joined: Nov 30, 2011
Posts: 17
|
|
No, i have to look in to Jersey.
Thanks
Madhan
|
 |
 |
|
|
subject: Usage of REST URI for JSP
|
|
|