Results 1 to 4 of 4
  1. #1
    aditya3098 is offline Member
    Join Date
    Jun 2013
    Posts
    3
    Rep Power
    0

    Default Document mailing service

    I am new to java and jsp. I would like to build a jsp app running on tomcat that would provide a listing of a directory (containing pdfs) , and when a file is clicked, it should prompt the user for their email id. Then it should send the document via email to the users email id. How would I do this? Code would be appreciated :D

  2. #2
    aditya3098 is offline Member
    Join Date
    Jun 2013
    Posts
    3
    Rep Power
    0

    Default Re: Document mailing service

    Anyone?

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,354
    Rep Power
    6

    Default Re: Document mailing service

    Code would be appreciated? I thought you were going to build this?

    You'll have to do some effort yourself first. You know what you want, start with step 1: creating a basic web application with a hello world JSP which actually deploys and runs. Then go to the next step, creating a page which can display the files in a directory of the server. Its not that hard, all you need is the File class basically. And you have to know how to actually create JSPs of course. I would also recommend to combine servlets and JSPs and to not only use JSPs; put your Java code in a servlet and let a JSP contain only HTML and JSTL tags. This free book can help you to learn how to do that:

    Free Online Version of Core Servlets and JavaServer Pages (Second Edition) in PDF

  4. #4
    aditya3098 is offline Member
    Join Date
    Jun 2013
    Posts
    3
    Rep Power
    0

    Default Re: Document mailing service

    By code I meant small helpful snippets :D
    Thanks for the book!

Similar Threads

  1. Replies: 0
    Last Post: 02-16-2012, 08:47 PM
  2. about mailing service in j2ee applicaiton
    By anuja in forum Java Servlet
    Replies: 1
    Last Post: 12-30-2011, 01:42 PM
  3. mailing concept
    By vikram.jamakhandi in forum AWT / Swing
    Replies: 3
    Last Post: 03-03-2010, 01:43 PM
  4. mailing concept in java
    By sniffer139 in forum Networking
    Replies: 1
    Last Post: 02-22-2010, 11:34 AM
  5. e-mailing in web application ......?
    By prabhurangan in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 07-10-2008, 09:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •