aspose file tools*
The moose likes Web Services and the fly likes Usage of REST URI for JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Usage of REST URI for JSP" Watch "Usage of REST URI for JSP" New topic
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: 12683
    
    5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Usage of REST URI for JSP
 
Similar Threads
get the value in a jsp page to the servlet
how to encode query string.
dyanmic left navigation menu?
html:link tag
[S2] IncludeParams with s:url Tag