> >URL url = new URL(<server URL containing JSP>); >URLConnection con = url.openConnection(); >Object obj = con.getContent(); > >Is this it? Otherwise sorry to add to the confusion :-) > >das >
I think this is exactly what Ivan was asking for. Recently I had to implement a newsletter and that was the technique I used for retrieving my JSP code from my app. I have one question related to this one: How can images be embedded into the mail? Now, I just use absolute URLs for every image in the JSP (Iv�n, take care of this, because relative URLs will not work in the mail client). I know images can be embedded into the e-mail as attachs, and referenced from the page, but I don't know how to do this with Java Mail API. I've been looking for examples on internet, but I haven't found anything yet. Anybody has experience in this issue? Thanks in advance ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
