Create printouts from data submitted in a form.

Long story short:
I'm looking to set up a system that automatically creates a document from data submitted in a form. So imagine I type "Jason" in the name field, "Orangutans" in the favorite animal field, and when I click print I'm presented with an A4/Letter document that says "my name is Jason and I love Orangutans" and the background is covered in cute orange apes. Where do I start?
Long story long:
I work at a computer store and due to my experience with Adobe products* I've been tasked with creating all the signage in the store. I've been doing all the signs for a year now and now we have a bunch of different signs that need printing every day. The most in-depth and time-consuming ones for me are signs for Trade-In computers. Unlike new computers, the specs are always different based on the particular model we buyback from the client. There are all kinds of fields that are different in each case.
As it stands, I have an illustrator file with all the information in the right place, and when a computer comes in I take all the specs, fill in the right boxes and unhide the image layer so I get an image of the corresponding model on my document. This takes considerable time, and means the process is specific to me, i.e if I'm not in the store, the computers don't get put up for sale beacuse we can't add a spec/price sheet.
What I want to do is automate the process so that anyone in the store can make these signs. All they will have to do is fill in a form (online or locally) that asks for model, year, RAM, HDD, etc**. Then when they click submit it returns a completed sign that they can print and put up next to the computer.
I'm not entirely sure how to accomplish this. I've looked at Adobe's free online FormCreater***, and I like the simple data output that it creates. However, I'm uncertain as to my next steps. I imagine I'll need it to send the results to a computer with blank templates for the Trade-In computers. It would then need to populate the applicable fields and automate all the work I usually do.
Where should I start? I'm willing to learn anything to get this working.
Thanks,
Jason
*Illustrator, Photoshop, Flash, inDesign
**Total of ~18 text and 4 image fields need to be changed per sign.
***http://www.adobe.com/ca/products/acrobat/form-creator.html

I'm willing to learn anything to get this working.
Excellent! Right attitude.
Where should I start?
With my favorite "graphics program": FileMaker Pro. (Yep. My favorite graphics-project tool is a relational database program.)
You see, you've discovered something that graphics people are discovering with increasing frequency all the time: Your project is not a graphics problem. It's a data problem.
Note how little of your problem has to do with graphics. Emphasis mine:
...we have a bunch of different signs that need printing every day.
the specs are always different based on the particular model
automate the process so that anyone in the store can make these signs
All they will have to do is fill in a form (online or locally)
an image of the corresponding model
See if this scenario sounds appealing:
You have on your computer a single file, named TradeIns. You or one of your authorized users doubleClick it. It opens to a nicely organized form that is completely self-explanatory; requires absolutely no training to use.
It's completely idiot proof. The user doesn't have to know anything about any graphics program. He can't break anything.
Consistency is maintained because everything that can be automated is. Dependency intelligence is built in. Popup menus limit data entries to legitimate choices (ex: Models). Subsequent data entry choices are automatically filtered based on data already entered (ex: RAM configurations limited to those possible for Model). User prompts and hints (highlighting, event-driven messages, tooltips, data validation, etc.) make sure that all required information is entered.
When the data entry is done, the user clicks a button labeled Print Preview: A3 Poster. The display automatically changes to a pre-defined A3 formatted layout with all the data graphically styled (Headline, descriptive blurb, bullet list of features, price, etc., etc.), the company logo and contact info in place, and a graphic of the appropriate model appears in the background. The user clicks a button labeled Print Poster. Next to it, by the way, is a button labeled Email Poster To...
If you want, you can enable up to five people concurrently to access and interact with the solution in their web browsers from anywhere. So the data entry can be performed by staff members who logon (according to access priviledges you define and control down to the individual field level if need be) in the office, from home, or even on their iPhone. Multiple users can enter/edit data at the same time.
It's 2:00 Tuesday when Customer leaves with his new machine. You clean up his trade-in a little; put it on the display shelf. Pull out your iPhone and take a photo of it. Tap the specs in. The data, including the photo, are simultaneously entered into the database. You lock the door and go home at 5:00, confident that a formatted sales flier of "Just Arrived" trade-ins will be automatically emailed to your mail list before you get home.
You, having admin priviledges, can add to, alter, elaborate upon the functionality (ex; add an automatic price calculator) anytime you need, with no downtime on the system.
How difficult, time-consuming is this?
Once the requirement details are nailed down, and the raw beginning data for populating values lists is provided, an intermediate level FileMaker developer could build the above-described solution and have it up and running, ready for data entry, in less than a day, easy.
Cost? $500 for one copy of FileMaker Pro Advanced. That's it. (And...*achem*...it's not rented; it's a normal perpetual license.) And with it you can build an unlimited number of other data-driven solutions for your business. You can even bind them as fully-functional standalone applications which you can distribute without royalties.
Based on what you've described so far, the solution's starting data schema would be very simple:
Create a new database with three related tables:
Models
Trade Ins
Specs
The fields for each table would be something like this:
Models
Model ID (primary key; text; unique)
Model Name (text)
Brand (text)
Image (container)
Trade Ins
Trade In ID (primary key; text; computer's serial number)
Model ID (foreign key; text; value list)
Specs
Spec ID (auto-enter serial number)
Model ID (foreign key)
Trade In ID (foreign key)
Spec Name (value list)
Description (text)
You'd have two Layouts (screens): Data Entry and A3 Poster. You could build as many additional Layouts to display whatever combinations of the data you want for as many purposes as you may encounter. Export to PDFs or Excel spreadsheets any time. Build automated reports with live graphs, use conditional formatting, automate with scripts, etc., etc.
Marvelous program. Every business should have it.
JET

Similar Messages

  • Choose File Form Data Create Spreasheet From Data Files

    I am following the tutorial for LC 8 and when I get to the topic titled "Collecting the data in a spreadsheet" it says to "Choose File > Form Data > Create Spreadsheet From Data Files".
    However, when I try to follow that path I do not see a "Form Data > Create Spreadsheet From Data Files" menu option.
    What am I not doing properly? How do I accomplish this task?
    Thanks!

    Thank you so much Paul. I have been trying all day to locate the method by which I could create a spreadsheet using the pdf submit route. I suppose the tutorial in CS4 should have been changed to reflect the changed explanations, but I guess that would be difficult to do. Anyway it worked and I can now do the analysis I need from my customers (lots of pupils!).
    Best wishes,
    Kevin Palmer

  • Creating spreadsheet from data files

    Why do I get the numbers in square brackets e.g. f[0].p1[0].Name[0], when I collate data using the 'Create spreadsheet from data files' command. I only want to export object names as column titles in Excel. This driving me mad!

    I got the same problem as Zali.I really need some one help regarding regarding this topic.

  • Create MS Word documents from data in an Apex Form/Report

    My requirement is to create editable RTF form letters from data managed by an Apex application. I do not have BI publisher available and am looking at using the XSL-FO route. Effectively I want the user to select the desired data in the Apex application, hit a button and be presented with a word document containing the data, which they can then customise.
    I know how to set Apex up to create PDFs based on reports using embedded XSL-FO but PDFs are not editable extra steps by the user. Also the user could export data to CSV and mailmerge with a word template but thats extra work for the user too.
    In the past I've used PLSQL/XML/XSL-FO with .NET to do what I want here by generating an XML file with PLSQL and using .NET to associate the XML file to XSLT/XSL-FO template files creating output as varied as .doc, .ps and .html files.
    Any ideas on acheving the same flexibility with Apex would be greatly appreciated. As my googling and forum hunting has not turned up much.
    Thanks
    FunkyMonkey

    Hi FunkyMonkey,
    Do you know Docufy | Simplify with docufy ? It's an APEX application that lets you create/generate/edit word templates. Else JasperReports Library | Free software downloads at SourceForge.net lets you generate a multitude of report formats (RTF/pdf/docx/xlsx/xml/etc.) you can use iReports to easily create xml templates for the reports, It's a lot simpler then xsl-fo.
    Regards,
    Vincent Deelen

  • Extra zeros in numeric fields when I create spreadsheet from data files

    I created a form with Live Cycle, and then in Adobe I use the option "create a spread sheet from data files" to import the answers to a xls file.
    I have two problems with this action: the first one is that I get 8 extra zeros in each numeric field, the second one is that fields are ordered by type and not by appearance.
    I tried a different approach importing directly in Excel, in that way there are no extra zeros and the order is correct, but I get just one form each time, and in a "stairways" fashion (i. e. first field in A1, second in B2, and so on)
    I'd appreciate any help

    Where do you find the command "create a spread sheet from data files"?
    Anyway i have a similar problem: when i export data in a .csv file and than i import it in excel, i always get 8 extra zeros... how can i solve the problem?

  • Populate select list when a date selected from date picker in tabular form

    Hi Guys,
    I have a situation where user picks a date from a date picker in tabular form.
    So as soon as he picks a date say 05/31/2011 from the date picker I want to populate a select list with 2 values : Tuesday AM , Tuesday PM.
    I have gone through the forums a lot and figured we can write a Dynamic Action using JQuery Selector. But I am not sure how to figure out the day from a date picker.
    I appreciate if some one can give your thoughts on how to proceed. It seems to be simple but looks like a tricky one. I am not familiar with writing Java Script.
    Thanks ,
    Raj

    I was thinking your date selected from CALENDAR ended in a list_item.
    I don't know I thinking that
    well,
    :master_block.itemdate is your text_item where calendar return date selected.
    and then , following Gerd's step
    Create a WHEN-MOUSE-DOUBLECLICK on the date-item of CALENDAR and write :
    begin
    :master_block.itemdate := calendar (.........);
    go_block ('master-block');
    execute_query;
    end;
    or set a global or parameter variable date selected from calendar :parameter. xxxxxx
    in a PRE-QUERY
    :master_block.itemdate := :parameter. xxxxxx
    and
    Create a WHEN-MOUSE-DOUBLECLICK on the date-item of CALENDAR and write :
    begin
    :parameter. xxxxxx := calendar( ....);
    go_block ('master-block');
    execute_query;
    end;
    regards

  • Create sequence from Data Modeler?

    Hi,
    I started using SQL Developer Data Modeler to model my first APEX application, but there are one thing I don't understand.
    From the logical model, I can create all my application model, but I don't find anywhere I can define thath my PK must be populated from a squence.
    From APEX is a step in the wizard, creating the sequence and trigger, but If I model from Data Modeler, then, I "loose" this important feature common to mostly all my table objects.
    There are something I'm missing?
    Regards.

    Philip Stoyanov wrote:
    You can set surrogate key to be generated for entity during engineering to relational model - in DM 3.3 available here http://www.oracle.com/technetwork/developer-tools/datamodeler/downloads/datamodeler-33-ea-1869055.html
    PhilipHi again,
    Sorry sir, but I downloaded 3.3 and can't find what you point in your last message.
    Regards.

  • Create project from template failed with "badly formed pathname" error message

    Hi,
    I am trying to create a project from a custom template, but I am getting the following error message prompt:
    LabWindows/CVI could not create
    Test_Project
    because of an error: Badly formed pathname
    However, when I checked the target project directory, I see the project files are copied correctly.  I don't know if there is something missing from our custom templates?  Of, if there is something wrong with our custom template?
    I am using LabWindows/9.0
    Thank you.
    Peggy

    Hi Peggy,
    Did I understand you correctly that the files for the new project appear to have been created, but the error dialog still shows? In addition to Wolfgang's suggestions, take a look at the help section on New Project and File Templates. This describes everything that should be needed to create a custom template. Also, try to create a new, very basic custom template and make sure that you can use it successfully. If you can, start adding in the functionality of the original template, and test along the way. Hopefully either this new one will work once you finish, or you will see at which point it is breaking, and we can debug from there.
    Best Regards,
    John M
    National Instruments
    Applications Engineer

  • Can a form be created based on data submitted

    I would like to have a document created (and possibly emailed to me) from the data that was collected from the form.  Is that possible?

    You can receive the responses in a email body but not as an attachment.
    Please look at following link:
    FormsCentral Help | Options
    Regards,
    Anoop

  • How to create Exe From Data files

    my requirement is very much similar to registration of file extension.
    lets say if you have a file with extension .xyz then you can decide which program should invoke .xyz but instead of any other extension i need that extension of my file should be .exe
    and when user double clicks on this exe files the file should get opened with my own program, but if the file is true .exe (i.e. Created by some other program) then it should not get invoked by my program...
    i dont know how to do this but i know this is possible
    e.g. Flash can create an exe files from their .swf files which when opened run using flash player (but it doesnt get fooled by any .exe file. also flash exe files have different icons)
    similarly winzip can create self extracting exe files from .zip files
    can anybody help me out
    the files i am trying to create will have numeric data in spreadsheet format and when launched the player will show the data in animated format.
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

    i think i will briefly describe the things; what exactly i want to acheive
    my client will have one application which will acquire data and log them into files. but he want to distibute these files to other people who will not have the application developed by me.
    he wants that file should show the reports in specific way. but to see those reports end user should not be required to install any specific application.
    i know that this thing is possible. as per msdn developer can include any data (text, graphics, audio, video etc.) inside exe in the form of resource file. (and there are programs are avaiable on internet which allow to extract, edit, add resource files inside exe)
    what i dont know right now is how i can access the resource file inside exe
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • Unable to use B2B Document Editor tool to create guideline from data file

    Does anyone successfully used the B2B Document Editor tool to generate the guideline doc from an HL7 data file ?
    I attempted to use the SpecGenerator feature of this tool to create a guideline from the "a01.xml" sample file in the HL7 tutorials (came with the B2B installation" and the wizard kept on giving me "parsing errors" message below
    "The data in the file could not be parsed. Please check the file to verify that it is valid and formatted correctly. This error can occur for one of the following reasons: A) The data file may be a Word document or have some other binary format. B) The envelope data may not be formatted properly. If this is an X12 data file, please verify that the ISA segment is the correct size (exactly 106 characters). If this is an EDIFACT data file, it must have either a UNA or begin with UNB. For other standards, verify that the envelope segments conform to the specified rules. C) The segment/record delimiters in the file are incorrect."
    Any idea why ? I did not alter the sample file in anyway -- its format is exactly the same as when it was installed.
    Any helps are appreciate !!

    Hi,
    I would suggest that you learn the B2B product starting with the HL7 tutorial. Start by importing the export files and follow the instructions to make the system work end to end.
    Next, you want to configure for the HL7 tutorial manually using the ecs and xsd files provided in the HL7 tutorial directory. Again, ensure that the system work end to end after you have done the manual configuration.
    Next, you create a new ecs and xsd file using the Document Editor from scratch and use them in your manual configuration. You can use the same doctype and version as in the tutorial so that you can be familiar with the Document Editor and at the end of this exercise, you know you have done things properly if the system works end to end. The documentation for Document Editor is mainly in the Windows Help section.
    After the incremental steps above, you will have the knowledge to implement the document type and version of your project. Going straight into the requirements in your project makes it difficult to debug because they are too many moving parts.
    Hope this helps,
    Eng

  • File Receiver - Dynamically create filename from data in payload

    Hi there.
    Can anyone tell me the approach I need to take to be able to use the data in one field to determine the filename in the file receiver adaptor.
    I have a requirement that requires that I save a file with the following mask:
    xxxx_xxx<b><date extracted from field in payload></b>.csv
    I would appreciate any help on this.
    Thanks in advance.
    Mick.

    Hi Mick,
    you just need to use adapter specific parameters
    and you will be able to set the name in your mapping
    (from your payload)
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Create Document from Data Load and Link to Transaction Record for Long Text

    Hi,
    I have a DBConnect Oracle datasource which contains a large text field.  I would like to build a process that will, as part of the load, create a text file from the content of this large field, upload the file into BW and create the document association with the transaction record.
    Is anyone aware of a HOW-TO to create the BW document entries and upload the files using ABAP?  I thought that I had seen a HOW-TO or instructions approx a year ago, but cannot locate them now.
    Thanks in advance,
    Mel W.

    Hi,
    I hope this is the how to document you were looking for:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/8046aa90-0201-0010-5e99-962948c83331
    -Vikram

  • Create PDF from data in database

    Hi together,
    I want to create a PDF file during a database trigger execution
    and want to save the result in a BLOB column.
    I have no idea what to do.
    Can someone give me a hint what to use to create the PDF?
    Thanks for help

    I've found this site
    http://plpdf.com/index.html
    but I don't know if It's free.
    So, if you programming in asp code, there's a class called fpdf (derivated from the same class in php).
    If you need, I can give you the referred.
    Adios
    Paolo from Madrid

  • How to get from data entered on a form to a session attribute

    I have a jsp with a form with fields that are updated by the user.
    The values are in the fields value as I expected.
    Example. document.frm.Name.value = "Me"
    How do I populate a session variable with document.frm.Name.value?
    I think I have to do a request.getParameter("Name") followed by a
    session.SetAttribute. But the request.getParameter does not get populated with the latest value in document.frm.Name.value.
    Any idea is welcomed. Thanks
    Claudiine

    Below is the code:
    What I want to do is save in the session attribute "mailToAddressList" whatever the user types in the textarea "MailTo"
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.sql.*;
    import java.text.*;
    import java.io.*;
    import com.cname.apl.*;
    public class DealTeamServlet extends HttpServlet {
    private appUtil util ;
    private java.sql.Connection conn ;
    private static String dbUrl ;
    private static String dbUid ;
    private static String dbPwd ;
    private static String mailFromAddressList ;
    private static String mailToAddressList ;
    private static String mailCcAddressList ;
    private static String mailBccAddressList ;
    private static String mailSubject ;
    SimpleDateFormat SDF = new SimpleDateFormat("d-MMM-yyyy");
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    dbUrl = config.getInitParameter("dbUrl");
    dbUid = config.getInitParameter("dbUid");
    dbPwd = config.getInitParameter("dbPwd");
    mailFromAddressList = config.getInitParameter("mailFromAddressList");
    mailToAddressList = config.getInitParameter("mailToAddressList");
    mailCcAddressList = config.getInitParameter("mailCcAddressList");
    mailBccAddressList = config.getInitParameter("mailBccAddressList");
    mailSubject = config.getInitParameter("mailSubject");
    if (dbUrl == null)
    dbUrl = "*" ;
    if (dbUid == null)
    dbUid = "*" ;
    if (dbPwd == null)
    dbPwd = "*" ;
    if (mailFromAddressList == null || mailFromAddressList.equals("*"))
    mailFromAddressList = "" ;
    if (mailToAddressList == null || mailToAddressList.equals("*"))
    mailToAddressList = "" ;
    if (mailCcAddressList == null || mailCcAddressList.equals("*"))
    mailCcAddressList = "" ;
    if (mailBccAddressList == null || mailBccAddressList.equals("*"))
    mailBccAddressList = "" ;
    if (mailSubject == null || mailSubject.equals("*"))
    mailSubject = "" ;
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    HttpSession session = request.getSession(true) ;
    String msgBody = (String) request.getParameter("msgBody");
    String uid = (String) request.getParameter("uid");
    String key = (String) request.getParameter("key");
    Boolean isAuthorized = (Boolean) session.getAttribute("isAuthorized");
    java.io.PrintWriter out = response.getWriter();
    if (msgBody == null) msgBody = "" ;
    response.setContentType("text/html");
    if (uid == null || key == null) {
    isAuthorized = new Boolean(false);
    if ( isAuthorized == null ) {
    util = new appUtil();
    conn = util.getConnection(dbUrl, dbUid, dbPwd) ;
    isAuthorized = util.isAuthorized(conn, uid, key);
    util.closeConnection(conn) ;
    if ( isAuthorized.booleanValue() ) {
    session.setAttribute("isAuthorized", new Boolean(true));
    java.sql.Timestamp serverTime = util.getServerTime(conn) ;
    java.sql.Date now = new java.sql.Date(serverTime.getTime());
    int idEntry = Integer.parseInt(msgBody);
    mailToAddressList = request.getParameter("MailTo");
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Team Members</title>");
    out.println("<SCRIPT LANGUAGE=JavaScript>");
    out.println("function open_window() {");
    out.println("document.domain = \"ny.cname.com\"");
    out.println("var loc = \"http://peoplelkp.ny.cname.com/peoplelkp/PDLookupService?&emil2=eMail&form=frm&launch=myRoutine()&csr=1&srch=1&adv=1&wc=y&pump=\"");
    out.println("loc = loc + document.frm.Name.value");
    out.println("var w = window.open(loc,\"Model_Details\",\"scrollbars,width=400,height=450,resizable=yes\")");
    out.println("return;");
    out.println("}");
    out.println("function myRoutine() {");
    out.println("document.frm.MailTo.value=document.frm.MailTo.value+\",\"+document.frm.eMail.value;");
    out.println("}");
    out.println("function submitForm() {");
    out.println("alert('submit form')");
    out.println("var mailAdd = document.frm.MailTo.value");
    out.println("alert('mailAdd='+mailAdd);");
    out.println("if ( mailAdd.length == 0 || mailAdd.indexOf(' ') == 0 || mailAdd.indexOf('.com') == -1 || mailAdd.indexOf('@') == -1 ) {" );
    out.println("alert('The To: field must be populated. No space are allowed. Email addresses must have valid format. Example: [email protected]')");
    out.println("document.all.frm.MailTo.focus();");
    out.println("return false;");
    out.println("}");
    out.println("return true;");
    out.println("}");
    out.println("function UpdateMailTo() {");
    out.println("alert ('I am in UpdateMailTo='+document.frm.MailTo.value);");
    out.println("}");
    out.println("</SCRIPT>");
    out.println(util.getStyleSheet());
    out.println("</head>");
    out.println("<body bgcolor='silver'>");
    out.println("<form name='frm' action='SendMail' method='post'>");
    out.println("<b>Team Members</b>");
    out.println("<tr>");
    out.println("<TABLE cellpadding='0' cellspacing='0' border='0'>");
    out.println("<tr>");
    out.println("<td align='right'><b>Subject:  </b></td>");
    out.println("<td>Deal Team Members Cleared by Conflicts</td>");
    out.println("</tr><br>");
    StringBuffer bod = new StringBuffer("");
    SimpleDateFormat SDF = new SimpleDateFormat("d-MMM-yyyy");
    try {
    /*get header information*/
    CallableStatement st = conn.prepareCall("{call apl_get_sp ?}");
    st.setInt(1, idEntry);
    ResultSet rs = st.executeQuery();
    int id = 0;
    int dw = 0;
    String cde_proj = "";
    String nm_title = "";
    String nm_long = "";
    String empl = "";
    String sid = "";
    int userid = 0;
    String email_pr = "";
    while ( rs.next() ) {
    id = rs.getInt("id_entry");
    dw = rs.getInt("id_dealworks");
    cde_proj = rs.getString("cde_proj");
    nm_title = rs.getString("nm_title");
    nm_long = rs.getString("nm_long");
    empl = rs.getString("empl_name");
    sid = rs.getString("id_standard");
    email_pr = rs.getString("id_email_ext_unix");
    mailToAddressList = email_pr.trim();
    out.println("<tr><td align='right'><b>To:  </b></td>");
    out.println("<td><textarea name='MailTo' cols='50' rows='2'>"+mailToAddressList+ "</textarea></td>");
    out.println("<td>  </td>");
    out.println("<td><input type='button' value='Save' onClick='UpdateMailTo()'></td>");
    out.println("</tr>");
    // out.println("request.setAttribute('mailadd',document.frm.MailTo.value);");
    // mailToAddressList = request.getParameter("mailadd");
    out.println("<tr><td align='right'><b>Name:  </b></td>");
    out.println("<td><INPUT NAME='Name' VALUE='' size=65 ></td>");
    out.println("<td>  </td>");
    out.println("<td><input type='button' value='Search' onClick='open_window()'></td>");
    out.println("</tr>");
    out.println("<tr><td align='right'><b>EMail:  </b></td>");
    out.println("<td><INPUT NAME='eMail' VALUE='' size=65'></td>");
    out.println("</tr>");
    if (rslt != null) rslt.close() ;
    if (stmt != null) stmt.close() ;
    }/*end try*/
    catch ( Exception e) {
    System.out.println(e) ;
    getServletContext().log(e.toString());
    out.println("<td colspan='5' align='right'><input type='submit' value='Send email' onClick='submitForm()'></td>");
    out.println("</tr>");
    out.println("</table>");
    out.println("</form>");
    out.println("</body>");
    out.println("</html>");
    mailSubject = "Team Members";
    String body = "testing";
    session.setAttribute("mailFromAddressList", mailFromAddressList);
    session.setAttribute("mailToAddressList", mailToAddressList);
    session.setAttribute("mailCcAddressList", mailCcAddressList);
    session.setAttribute("mailBccAddressList", mailBccAddressList);
    session.setAttribute("mailSubject", mailSubject);
    session.setAttribute("mailBody", body);
    else {
    session.setAttribute("isAuthorized", new Boolean(false));
    out.println("You are not authorized.");
    //out.close();
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    processRequest(request, response);
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    processRequest(request, response);
    public String getServletInfo() {
    return "Short description";
    }

Maybe you are looking for