aspose file tools*
The moose likes JSP and the fly likes URL w/multiple parameters in Outlook Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "URL w/multiple parameters in Outlook" Watch "URL w/multiple parameters in Outlook" New topic
Author

URL w/multiple parameters in Outlook

Steve Swanson
Greenhorn

Joined: Aug 10, 2005
Posts: 6
Hello all! I'm currently having the following problem:

My web app has a "Send Mail" feature which needs to open Outlook via a simple mailto. Once the outlook window opens, I populate the subject and body fields, as such:

The http link is a url to a servlet that needs to pass three parameters.
The mailto in my jsp looks like:

Unfortunately what I get for my hyperlink is:
http://appsvr:9080/ProjWeb/ControlServlet?action=loadWorkItem

(It is not a big deal if users see these parameters in the link.)
The rest of the parameters aren't rendered in the email's body.
I have a feeling it's because of the ampersand following my first parameter. Is there a way to render my complete url in outlook, with all three parameters?

--Steve
Steve Swanson
Greenhorn

Joined: Aug 10, 2005
Posts: 6
Never mind, I just figured out the solution! javascript: x()
jumpingjoy
raul marzo
Greenhorn

Joined: Apr 09, 2007
Posts: 21
Hi,

I have the same problem. Could you post how you did it with Javascript?


<a href="http://benderscasino.blogspot.com/" target="_blank" rel="nofollow">http://benderscasino.blogspot.com/</a>
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Since this post is over a year old and the original poster only has 4 posts to his name, I think it's safe to assume that he's moved on.

I'll move this to our HTML/Javascript forum where the Ranch's Javascript Gurus hang out.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URL w/multiple parameters in Outlook