JSP Template

Discussions

General J2EE: JSP Template

  1. JSP Template (4 messages)

    I'm trying to create a marketing campaign emailer using a template JSP file as a content, so that i can do personalization for my web page.

    Is anybody could tell me how to ?

    Thanks.

    Threaded Messages (4)

  2. Re: JSP Template[ Go to top ]

    I think you need to provide some more details (i.e. requirements) in order for someone to provide meaningful feedback.
  3. Re: JSP Template[ Go to top ]

    I want to send out an HTML/JSP email like below :
    -------------------
    heloo <%=name%>

    I have something new 4 u:
    <%=content%>
    -----------------------
    Different people have different content (maybe image, etc), depend on users.


    So can I use a JSP as template for my email content. And how to do that?
  4. Re: JSP Template[ Go to top ]

    no, you cant use jsp in a mail - jsp lives only inside jsp container (like tomcat).

    you can however create text template, with strings like "%USER%", "%CONTENT%" inside it it, and then replace them when creating the email.
  5. Re: JSP Template[ Go to top ]

    Thanks..