Results 1 to 3 of 3
  1. #1
    saurabh208 is offline Member
    Join Date
    Jun 2010
    Rep Power

    Default can i process two web pages at once?

    Hello friends,
    Actually i want to creating a Servlet which basically process ( not re-direct) two HTML files.

    I got two HTML Files:
    1. First.HTML is doing auto login into an website using simple java script.
    2. Second.HTML is sending auto mail using again hard coeded JavaScript.

    what i want is that there is an Servlet program
    which is first going to call First.html and process it at Server side but don't Re-Direct . & then after the first.html is processed ( AUTO LOGIN IS SUCCESSED) this servlet is going to call second.html that will send the mail.

    can anybody help me me out.....

    thank in advance..

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power


    Two files, fine. Two threads with the same question, not.
    Is it possible to have an action which launches a jar?


  3. #3
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Rep Power


    Servlets don't "call" HTML pages.
    That's pretty meaningless.
    They deal with requests (GET/POST) and return responses.

    HTML pages do call servlets (or URLs, whose end point is a servlet anyway).

Similar Threads

  1. java server pages
    By abinesh.s in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 03-10-2009, 09:03 AM
  2. cached pages or backups
    By angryboy in forum Suggestions & Feedback
    Replies: 8
    Last Post: 03-02-2009, 04:29 PM
  3. Navigate to behind pages when I am in a wizard
    By Radhikaibm in forum SWT / JFace
    Replies: 2
    Last Post: 09-09-2008, 07:42 AM
  4. JSP pages with no caching
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-31-2008, 01:53 PM
  5. Getting all the pages from a domain
    By eva in forum New To Java
    Replies: 0
    Last Post: 12-25-2007, 12:41 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