ASP AND JSP

I am developing a facility that has to email up to 3 individuals at 1 user's request.the data that should be emailed is extracted from a sql database. as far as i know i can't program this using jsp but i know that it is possible with asp using sendmail, can i therefore, combine an asp page with jsp pages. can a jsp page be redirected to an asp page and vice versa - will tomcat handle this, do I need IIS configured for the ASP?????
First of all is this possible using just jsp.
For those that don't understand my question:
A user clicks a submit button after entering three email addresses. Records are extracted from the sql db and emailed in html format to the 3 email addresses. I don't want to do this manually - too much maintenance work....i want it programmed.
HELP HELP HELP
Regards
:-)

http://java.sun.com/products/javamail/

Similar Messages

  • What is different between asp and jsp, which is better and why

    hi, i would like to know which script language is better (ASP or JSP). if you can give me a detail comparison. Thank in advance
    zhe

    What do you expect small-time loser?

  • Can I combine ASP and JSP pages?

    Hi all,
    Maybe a dumb question...
    but Can I have ASP pages in my JSP application?
    My problem is as follows:
    In the JSP pages of my application, I have some links to ASP application:
    http://domain/app.asp
    Now IIS is running on another port. But I do not want to go through all my JSP and change the above link to:
    http://domain:port/app.asp
    Instead any request to http://domain/app.asp should be automatically forwarded to http://domain:port/app.asp
    How can this be done? I am using Tomcat as my JSP container.
    m_asu

    Actually that is not what I am looking for. I dont want to 'buy' any product. I dont want to deploy ASP application with the JSP application. I just want to redirect the client to another website through an ASP page.
    Only catch is that this ASP page needs to sit in my JSP container (Apache Tomcat). Is this possible?
    m_asu

  • WL vs. WL-express and JSP vs. javascript/SQL

    folks-
    i am trying to convince a certain party to
    disband a web-based job tracking system being
    written in ASP, javascript, html, css and SQL.
    it will be hosted on MS webserver running NT.
    i am trying to convince them to use JSP and
    WL express. i have done two years of EJB
    component work on weblogic, however, i have not
    done work with JSP or thin-clients. i was mostly
    business-logic.
    anyway i have some questions and need some
    direction. i already know JSP is better than
    ASP/javascript etc. because:
    * ASP is proprietary. ditto for VBscript
    * with an IDE creating JSP is easy and JSP
    automatically creates servlets which is way
    faster than by hand
    * JSP is JAVA based and hence benefits from
    all the portability pluses of JAVA
    but here are the more difficult questions:
    * why is WL express better than an MS
    web server? (not including WL market share
    and size. after all MS can claim that)
    * since WL express does not have an EJB
    container, how do you access the database?
    via JDBC? does one just have JDBC code
    floating around?
    * since there is no EJB container how does
    one separate presentation from logic from
    data access? this is a major downside of
    javascript, html, css and SQL etc.
    * if a web app grows beyond JSP with WL express
    into the need for an EJB container, i would
    think that most of the app needs to re-written
    as business-logic must be refactored into EJBs
    and all JDBC code will be replaced by container
    managed beans. this sounds a like a lot of
    rework.
    * isn't JSP slower than javascript as the
    servlet and hmtl code is bounced back and
    force across the network?
    with respect to architecture, scalability,
    and robustness what are the downsides to an
    MS webserver and non-JSP coding?

    * since WL express does not have an EJB
    container, how do you access the database?
    via JDBC? does one just have JDBC code
    floating around?
    Use JDO or an OR-mapper or embed JDBC into your own data access classes.
    * since there is no EJB container how does
    one separate presentation from logic from
    data access? this is a major downside of
    javascript, html, css and SQL etc.
    Presentation=JSP
    Logic=Servlet
    Data access=JDO or similar
    * if a web app grows beyond JSP with WL express
    into the need for an EJB container, i would
    think that most of the app needs to re-written
    as business-logic must be refactored into EJBs
    and all JDBC code will be replaced by container
    managed beans. this sounds a like a lot of
    rework.
    You should be able to tell up front if it a tx-intensive app that requires
    WLS.
    * isn't JSP slower than javascript as the
    servlet and hmtl code is bounced back and
    force across the network?
    They aren't exclusive. For dynamic pages, use Javascript on the front end,
    JSP on the back.
    * with respect to architecture, scalability,
    and robustness what are the downsides to an
    MS webserver and non-JSP coding?
    In the real world, and for most apps, while Java has the architectural edge,
    they both have similar scalability and similar robustness. MS gives you no
    choice though, and you rewrite every time they see a new buzzword. You can't
    leave MS-land without abandoning almost everything. You can leave WLS in a
    week if you have to.
    It's an investment. Invest wisely.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "shane miller" <[email protected]> wrote in message
    news:[email protected]...
    folks-
    i am trying to convince a certain party to
    disband a web-based job tracking system being
    written in ASP, javascript, html, css and SQL.
    it will be hosted on MS webserver running NT.
    i am trying to convince them to use JSP and
    WL express. i have done two years of EJB
    component work on weblogic, however, i have not
    done work with JSP or thin-clients. i was mostly
    business-logic.
    anyway i have some questions and need some
    direction. i already know JSP is better than
    ASP/javascript etc. because:
    * ASP is proprietary. ditto for VBscript
    * with an IDE creating JSP is easy and JSP
    automatically creates servlets which is way
    faster than by hand
    * JSP is JAVA based and hence benefits from
    all the portability pluses of JAVA
    but here are the more difficult questions:
    * why is WL express better than an MS
    web server? (not including WL market share
    and size. after all MS can claim that)
    * since WL express does not have an EJB
    container, how do you access the database?
    via JDBC? does one just have JDBC code
    floating around?
    * since there is no EJB container how does
    one separate presentation from logic from
    data access? this is a major downside of
    javascript, html, css and SQL etc.
    * if a web app grows beyond JSP with WL express
    into the need for an EJB container, i would
    think that most of the app needs to re-written
    as business-logic must be refactored into EJBs
    and all JDBC code will be replaced by container
    managed beans. this sounds a like a lot of
    rework.
    * isn't JSP slower than javascript as the
    servlet and hmtl code is bounced back and
    force across the network?
    with respect to architecture, scalability,
    and robustness what are the downsides to an
    MS webserver and non-JSP coding?

  • Websites for downloading code-templates (java and jsp) existing ?

    Hi,
    I'm searching for a website, offering code examples or templates (in java and jsp) for downloading.
    For example: A code for creating a new xml-file, login-procedure or sending an e-mail with a java-program, I can customize.
    I know, for asp.net such websites for downloading code-templates are existing (e.g. a German website: http://www.aspheute.com).
    So I think for java and jsp those sites will also be existing�
    Does anyone know some links ?
    bye
    Chris

    Yes, with google - I'll surely find some matches, but I'm looking for links and websites which will be provided by personal experiences.
    With google - you won't find any personal experiences...
    bye
    Chris

  • DW CC no _ServerBehaviorsPanel, ASP PHP jsp COLDFUSION other functions

    I come from China, I know where software piracy is very serious, but there is really a great market, there are a lot of people use genuine, and when I try DW CC after me sad, because there is no _ServerBehaviorsPanel, ASP PHP jsp COLDFUSION other functions, although now there are ways to recover, but you can see ADOBE no longer attached to these, it is difficult too many people may no longer to use this product, thank DW accompany me for so many years.

    Hello,
    At DMXzone we've already released (in Sept 2013) a full set of extension for connecting to your database(s) and managing your database content. A great replacement of the old server behaviors technology to create new dynamic web apps built the Ajax way!
    The Database Connector as well as the Database Updater feature a great Database Connection Wizard, fully visual Query Builder to make your work a breeze.
    They are available for PHP and ASP
    You can check the Database Connectivity Collections and learn more about the features of the extensions on our website:
    For PHP:  http://www.dmxzone.com/go/22151/dynamic-database-connectivity-collection-php
    For ASP:  http://www.dmxzone.com/go/22152/dynamic-database-connectivity-collection-asp

  • Trying to simply connect to Oracle with VBscript/ASP - and I cannot.

    This is rather embarrassing. I am pretty fluent with ASP and VBscript, and I have written many a web application connecting to Microsoft SQL Server. Now I have a need to connect to an Oracle database, and I'm beating my head against the wall.
    1) Web server is Windows Server 2003 SP1
    2) Using ASP (not ASP.NET) & VBscript
    3) I have installed the Oracle drivers on the server - it is version 10g
    4) The administrator of the Oracle database to which I want to connect has created a username and password for me to use from within my code
    5) Here is the code I am trying to run:
    Set objConn = Server.CreateObject("ADODB.Connection")
    objConn.Open "Provider=MSDAORA;Data Source=XXXXXXX;User Id=YYYYYYY;Password=ZZZZZZZ;"
    That's it. 2 lines of code just trying to establish a connection. Using the user name and password provided to me by the administrator, and for Data Source I am using the IP address of the Oracle server (like I have done in the past when connecting to SQL Server). I receive the following error message when viewing this in a browser:
    Microsoft OLE DB Provider for Oracle error '80004005'
    ORA-12154: TNS:could not resolve the connect identifier specified
    Evidently, the Data Source I am using is not correct, but I was provided no other information from the admin. This is the first time any of us have tried to connect to Oracle using ASP/VBScript, so the administrator isn't sure what I need to do ... any help would be so appreciated.

    Hello,
    I got mine to work by setting up an ODBC System DSN and connecting to it. I think this bypasses the Microsoft driver, which might be what's causing the problem.
    Set Db = Server.CreateObject("ADODB.Connection")
    Db.Open "DSN=TEST;User ID=userid;Password=password;"
    Good luck, I've found it requires a lot of persistence...
    Al
    Springfield, MO

  • Ideas pls for a small application on java and jsp?

    hi ,
    I would like to create an application which for resume. I would like to codify the java code . The java code should be able to autogenerate jsp file's since the output of the resume would be on an jsp page. To add it simply a wizard for dynamic resume creation using java swings and jsp. Code for jsp should be autogenerated please note it.
    Ideas please!
    Thanks in advance

    I'd like to add more information to Patreck's suggestion.
    JSP pages are wonderful if you need the web server to perform some actions before sending you the final web page.
    Here, you don't need the web server to do anything because your Swing application can do it for you. As Patreck implies, Swing can make a connection to the database, retrieve any information you want, perform whatever logic you need, and write the output to an HTML file.
    To give you an example, you can use Internet Explorer to view a basic web page on your hard disk. You can also use Microsoft Word to view the same basic web page. They both do the same task and there is no need to force IE to use its Word plug-in in order to view the web page.
    JSPs are not necessary because Swing will do all of the work for you. You only need JSPs if you want people to use your program through a web browser because they can't do Swing inside a web browser. You should only use one or the other, not both. Understand now?
    If you really really must generate JSP code from a Swing application, then just write out the JSP stuff in the file. For example...
    public void createWebPage( Printwriter pw, String myName ) {
       pw.println( "<% String myJSPName = \"" + myName + "\" %>" );
       pw.println( "<HTML>");
       pw.println( "<HEAD>");
       pw.println( "<TITLE>My Resume</TITLE>" );
       pw.println( "</HEAD>");
       pw.println( "<BODY>" );
       pw.println( "<H1>My name is " + myName + " and my JSP name is <%= myJSPName %></H1>" );
       pw.println( "</BODY>" );
       pw.println( "</HTML>" );
    }As you can see, it's pointless to embed JSP when you can do all the programming within Swing first and just write out the correct response.

  • Hi frnds i want to help in servlet,java bean and JSP

    hi friends i'm right now in M.SC(IT) and i want to do project in SERVLET,,JAVA BEANS and JSP ,
    so pls give me a title about that
    NOTE: I develop a project in group(2 persons there)
    my email id is : [email protected] , [email protected] , [email protected]

    You cannot pair your iPod to a cell phone, so forget about it.
    The only way you can get free WiFi is to hang out at a Denny's, a Starbucks, or a truck stop, and I don't think your parents would approve....

  • Problem with getting Dreamweaver CC to support ASP and ASPX

    My company and our developers have been using Dreamweaver for more than 10 years and over that time have used DW to build an ASP and SQL server based system with a code base of over 200 programs and literally thousands of web pages in many, many currently active business websites.  We subscribed to Creative Cloud upon upgrading our workstations to Wondows 8 but found to our consternation that DW CC does not support ASP or ASP.NET.  We have followed instructions provided in this forum in June and attempted to edit the Extensions file to include ASP and ASPX, but either DW or Windows 8 refuses to allow the change to be saved, even with have Administrator access.  What can we do now, apart from cancel our CC subscriptions?

    Thanks Nithya.MV for your earlier response.
    We have now found a solution at http://helpx.adobe.com/dreamweaver/kb/change-add-recognized-file-extensions.html which applies to Dreamweaver CS6 but can be adapted to DW CC.  The solution was:
    1. Go to C\Users\username\AppData\Roaming\Adobe\Dreamweaver CC\en_US\Configuration\Extensions.txt
    2. Open the file in say NotePad (visit Preferences first to turn off Read Only if necessary).
    3. Add ASP, ASPX, to the front of the list of extensions in the first line.
    4. Save the Extensions.txt file (then resent the file to Real Only in Preferences)
    5. Close Dreamweaver CC if it's open.
    6. (Re)start Dreamweaver CC and open the required .asp or .aspx file.
    This worked a treat.
    Unfortunately all the other intructions provided on the Support Forum had us looking in the wrong place at:
    C\Program files (x86)\Adobe\Adobe Dreamweaver CC\configuration\Extensions.txt

  • Cannot checkin/checkout html, js, txt, and jsp files in MS Sharepoint Workspace 2010

    I am having issues checkin/checkout html, js and jsp files in Microsoft Sharepoint Workspace 2010. I can access (checkin/checkout) any files in the actual Sharepoint site, but when I am synchronized to the site in Sharepoint Workspace 2010 I cannot access
    html, js, and jsp files. When I try to checkout a html file, a message pops up saying:
    "Can not perform this operation. This document has been checked out or may no longer exist."
    Could this be a synchronization issue, or was Sharepoint Workspace 2010 not design to work with html, js, txt, and jsp files?

    Hi Armando,
    I'm afraid that you posted your question on the wrong forum. This forum is intended for Project Server questions. Please go to this forum in order to have answers from experts: 
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/home?category=sharepoint&filter=alltypes&sort=lastpostdesc
    Cheers.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Creating FOrums with Servlet and JSP

    Hi everyone,
    Is there a good resource that explains how to build a forum using servlets and JSP technology?
    Regards,
    Basil Mahdi

    please let me know here if you find any useful resources...I am in the process of writing my own searchable threaded forum for my company with JSP's/servlets. It's a very slow process at the moment though...if I ever finish it, I'll gladly share it.

  • How to master good design with EJB and JSP?

    I use JSP to calling EJB. But the .jsp file is complex and it's difficult to maintain...I just want to work higher efficent with EJB,JSP and JavaBean. I want to know is there a good design with EJB and JSP? and is there any good material about MVC for EJB,JSP and JavaBean?

    You should read the J2EE blueprint available on this website. Better download the PDF, and print it for yourself so you can read it anytime.

  • Hot swap and JSP debugging for Weblogic in exploded format?

    Hi,
    I'm trying to use JDeveloper for JSF development to be deployed to a weblogic server.
    I must say JDeveloper is a great tool for JSF development as none of the free IDE in the market can do what JDeveloper does.
    However, I have a question on hot swap and JSP debugging.
    I have managed to setup JDeveloper to debug my JSF application deploy to my Weblogic server's applications folder in exploded format.
    I can step through the java code.
    However, I didn't manage to do a hot swap and the break point set in the JSF-JSP does not seems to take effect.
    I would appreciate any advice on the problem.
    Thanks.
    Han Ming

    How did you setup the server to handle exploded format? Appreciate the help. Sorry can't help with your question though.
    Thnx.
    Soni

  • Servlet and JSP in OAS

    I'm developing web application with OAS
    4.0.8.1 and JDeveloper 3.0 and I want to call
    JSP from servlet using "RequestDispatcher".
    I downloaded JSP for OAS from www.olab.com.
    In the Release note, there is a description
    about RequestDispatcher, but I cannot
    understand about details.
    In what configuration can I use servlet and
    JSP together with RequestDispatcher. Anyone
    scceeded about that?
    null

    wan (guest) wrote:
    : Hi everyone,
    : I am using OAS 4.0.8 on Solaris 2.6. After viewing servlet
    : and JSP samples, I am kind of confuse whether OAS supports the
    : following options
    : 1. JSP
    : 2. servlet chaining
    : 3. running JDeveloper DB Servlet wizard
    : (oracle.jdeveloper.servlet.*) and Java Business Objects
    : (oracle.jbo.rt.cs)
    : Thank you for your time.
    I found a white paper 408newfead.pdf, that says under "Future
    Directions" that it will add jsp support. I read somewhere (I
    can't remember where exactly :( ) that said 4.0.8.1 would
    support
    JSPs. I don't know if this release is out yet.
    I wish Oracle would get with the times and put out a product that
    is consistent with the technology they are touting as the
    future.
    Having us download Suns server to run servlets and JSP is
    ridiculous for the worlds second largest software company!
    null

Maybe you are looking for

  • How i hide a field of a custom view in OAF 11

    Hi, im a new developer of OAF11. What should I do, to customize the Purchase Order screen, if then the requirement is to hide the field that i insert from extended VO. What I did was modify the XML of the page to add the field and then extended the o

  • BULK In-BIND and FORALL

    Hi All, Could someone help me in solving the error 'DML statement without BULK In-BIND cannot be used inside FORALL'. I am getting the error when running the following query. DECLARE v_seq_row_id NUMBER; TYPE ap_addr_tt IS TABLE OF IN_EIM_ADDR_PER.AP

  • What is best method for getting most capacity when burning DVDs?

    Supposedly there's 4.7 gigs on your average one layer DVD that you get in a spindle at the office supply store, but I've never got that much on one. This Apple error message is frustratingly backwards and rediculous: "Files 001 is too large to fit on

  • How can I get Time Machine to only backup new and changed files?

    Time machine is backing up more than just new and changed files and is filling up my back up disk too fast.  How can I change it so that it will only back up the new or changed files instead of the whole drive?  I used to have my backups go back mont

  • Convert PDF file for press to photo-quality grayscale?

    Please forgive my ignorance on this--I'm usually an analogue kind of person, but I recently assembled a PDF photo+essay monograph (20,000 words, 100 images) in Acrobat XI Pro for limited publication for the sponsoring organization (which doesn't have