Environmental setting

hai
i want to run a war file on tomcat server
but is giving error:--JAVA_HOME does not point to JDK
i have done folloing settings in environmental settings of windows xp professional as environmental variables
JAVA_HOME:C:/ jsdk1.4
path=c:/jsdk1.4/bin
classpath= c:/jsdk1.2/lib
plz help
urgent
thanks

re-install your tomcat server again
by the way, you post your problem to the wrong forum, here is about comiler

Similar Messages

  • Migration between two environments which can't communicate with each other

    My customer is intending to do migration from test environment to production environment using CCM.
    But the two environments are not in the same network.
    The environments' setting is as blew.
    BO TEST Repository can communicate with Web BO Server.
    BO PRODUCTION Repository (Cluster environment) can communicate with Web BO Server.
    BO TEST Repository and BO PRODUCTION Repository (Cluster environment) are in the different network, they can't communicate with each other.
    Setting Target Repository manually in CCM.
    Questions are:
    1. In CCM, as long as both Source Repository and Target Repository can communicate with Web BO Server, the migration will be successful.
       Is that right?
    2. If 1 is not right, is there additional setting should I do?
       For example, If I need to open some firewall port?
    3. Is there other attentions should I notice?
    Thanks

    Questions are:
    1. In CCM, as long as both Source Repository and Target Repository can communicate with Web BO Server, the migration will be successful.
    Is that right?
    Yes that is correct
    2. If 1 is not right, is there additional setting should I do?
    For example, If I need to open some firewall port?
    You have another option which is to use the BIAR files. Export your objects to a BIAR file in source environment, and import them from BIAR into the target environment
    3. Is there other attentions should I notice?
    when using BIAR files as solution, Make sure that you keep them < 1GB size to avoid corruption
    you may have to increase or adjust timeouts on input and output repository servers as well

  • How to set JAVA_HOME in solaris9

    hello all,
    Do some one give me some url's or information how to set JAVA_HOME, CLASSPATH and related environmental setting for SOLARIS 9 operating system.
    thanQ,
    Han.

    solaris is the unix-like OS
    so try to find the same info about linux, freebsd or other unix os
    in general try export or set command

  • SoundMax Environments??

    Hi all...
    I have the 875P Neo-FIS2R and have a problem with the onboard sound...  I have the option to change the environmental setting to give a specific ambience like "underwater" or "concert hall" or "bathroom" (oh yeah, bathroom sounds... hmmm) but when I do I don't hear any change whatsoever.  None.  Nada.  Zip.
    Anone know what gives?  I updated to the most current driver but still no deal.
    Thanks...
    Showhost

    Okay... first off let me say I am a fairly novice computer user who needed help and happened to discover there's a place I can turn to (or so I thought) when I found this forum at MSI's site.  Instead, I receive this snippy, condescending response that I need to be an ultra computer-literate person in order to ask a question.  I've never built a computer or opened a case and yes, I'm willing to learn, but what value does it serve to threaten me by saying that because I didn't know ahead of time (psychically, I assume) that I'm expected to list all the specs of every component in my system, that I'm essentially banned from learning the answer because no one will bother to look at my post for inflicting such an insult.  Man, I have some nerve being a newbie and asking for help without regard for "everybody knows" protocol. 
    For your information I DID figure out how to do a search ahead of time and I DID look for the answer to this question before posting and only one person brought it up in another thread and he never got it answered.  So I re-asked it.  But excuse me for breaking the rules that I had no idea existed.
    So I will just have to take my chances and hope that somebody with some sense of compassion and reasonableness might throw me a bone and be a human being instead of berating me and address my question.  In an effort to HELP in that regard, I am putting as much information as I can about my system below.  Sorry, but I CANNOT learn all about my computer by taking it apart and studying all its elements beforehand however.  That kind of knowledge will just have to accrue with time.  Just doing this was a big learning step for me.  And a hard lesson I might add, Messers Maesus and Wonkano.

  • [Solved] Setting up Server-Application: BackupPC

    Hi,
    I try to get the server backup solution BackupPC installed and working, especially the web-interface. Setting up a (home alone) web-server is new for me and kind of a challange. I noticed that the wiki article is kind of deprecated because BackupPC is now part of the official repositorys, and no longer in AUR. But in this official package are certain files missing that are mentioned in the wiki article, like
    /etc/rc.d/backuppc-httpd
    /etc/httpd/conf/backuppc.conf
    for example. Also the official BackupPC Documentation mentions the latter, so I'm confused.
    I already set up an apache server and got mod_perl working, thanks to the great wiki article (->mod_perl now works). The only thing that's missing is the integretaion of BackupPC.
    UPDATE:
    Filed a bug-report about the one crucial missing file (/etc/httpd/conf/backuppc.conf) and got it finally running.
    UPDATE 2:
    An update on the wiki-article is now available.
    Last edited by ewigkeit (2012-02-22 09:15:42)

    Did you ever find a resolution for this issue? I also ran into the error message "Replaced handler for type 'null'", although I'm got there via a different route. I think I'm hit it via a more or less equivalent path, however.
    The problem for me was basically that my ServerRepository.xml file was pointing to a corrupted or dead LocalFiles repository. This is such a fundamental problem, that one cannot get around this by giving the lh setRepo command a -n to have it not connect to the old repository; doing that will merely allow one to get a bit further in the process before getting the same error again.
    The only way I was able to get around this problem was to re-install IdM from scratch, using the install.bat file, and copy the resulting ServerRepository.xml file to my old IdM directory.
    I fully expect that you've gotten around this problem by now; I'm just leaving this message in case it's helpful for any other people.
    Warning: as of this writing, Sun's Identity Manager 8.1.0.0 is not a well-polished install. There are significant gaps in the documentation - especially if you are attempting to get multiple environments set up off of the same version control repository.

  • Error while installing oracle 9i(9.2.0.1.0) on Red Hat Linux 8

    hi
    friends,
    i'm getting error while installing Oracle 9i(9.2.0.1.0). this eror was came when linking process was going on. Error is as follow.
    "Error in invoking target install of make file"
    /home/oracle/product/9.2.0/plsql/lib/ins_plsql.mk"
    /home/oracle/product/9.2.0/precomp/lib/ins_precomp.mk"
    /home/oracle/product/9.2.0/sqlplus/lib/ins_sqlplus.mk"
    /home/oracle/product/9.2.0/network/lib/ins_oemagent.mk"
    pls. help me what to do?
    Dharmesh

    See this :
    I saw this error only in connection with Oracle 9i (9.0.1) installation.
    Edit the file $ORACLE_HOME/bin/genclntsh and change the following line (people have sent me emails pointing out that this also works for Mandrake 8.1 and Mandrake 8.2):
    LD_SELF_CONTAINED="-z defs"
    to read:
    LD_SELF_CONTAINED=""
    Then run the script $ORACLE_HOME/bin/genclntsh as the user "oracle" and not as the user "root". Also make sure you have all the Oracle environments set! (I got so many emails because people were not doing this)
    $ su - oracle
    $ $ORACLE_HOME/bin/genclntsh
    Created /opt/oracle/product/9.0.1/lib/libclntst9.a
    $
    After that hit retry in the error popup. This always worked for me.
    (I was told that this also works for SuSE 8.0.)
    Here is Oracle's official solution for Oracle 9iR1 or 9iR1 iAS on RedHat 2.1 Advanced Server:
    http://otn.oracle.com/software/products/oracle9i/files/binutils_readme.html
    from: http://www.puschitz.com/OracleOnLinux.shtml
    Hope it help you
    Basem

  • Technical note:  Troubleshooting DRG-11207 errors / INSO filters.

    All,
    The following is Metalink's Note 210319.1about troubleshooting DRG-11207 errors.
    If the content is of no help, I suggest contacting Oracle support.
    -Omar
    Subject: Troubleshooting DRG-11207 errors
    INTRODUCTION
    =============
    Most of the errors encountered during creation of Oracle Text indexes are likely
    to be caused when dealing with formatted documents. These errors are logged in the
    view CTX_USER_INDEX_ERRORS and can be queried from the schema where the create index
    statement was executed, or table CTX_INDEX_ERRORS queried from the CTXSYS user.
    One of the errors commonly reported in these views is the DRG-11207 error.
    Unfortunately, this error is often not useful in diagnosing indexing issues.
    The INSO_FILTER issues are difficult to diagnose because Oracle uses a third-party
    application for filtering. As a result, it is often difficult to identify the real
    source of the problem.
    This document will troubleshoot the INSO_FILTER errors associated with
    the
    DRG-11207 "exited with status X"
    message. In regards to the INSO_FILTER, the error code implies that it is unable to
    index a formatted document. It is important to mention that these errors can be operating
    system specific and therefore this note is intended to provide some hints as a starting
    point for analysis. Its possible that other cases may be reported and if this is the
    case be sure to log the error with Oracle Support. Examples of the most common document
    types are provided in this article (Adobe PDF, Micrsoft Word and Microsoft Excel).
    For Oracle 10i, meaningful error messages have been added for drg-11207.
    This has been documented in [BUG:2473885]
    COMMON ERRORS
    ==============
    DRG-11207: user filter command exited with status 1
    Status 1 means "Could not filter the document". It is a generic error and indicates that
    INSO_FILTER failed on a given document. This can happen due to many documented reasons: an
    invalid environmental setting; document is corrupted, encrypted, password protected;
    document version not supported(incompatibility) or due to a bug in INSO_FILTER.
    DRG-11207: user filter command exited with status 2
    Status 2 means "The INSO_FILTER has timed-out". The default value of the timeout value
    for the INSO_FILTER is 120 (seconds). The default value for the timeout_type is
    heuristic, which implies that if the timeout value is reached and the INSO_FILTER
    has not started to write output, the indexing operation terminates for the document
    row and Oracle moves to the next document row to be indexed. Beginning in 9.2.0.1
    it is possible to change the timeout_type variable to fixed, which allows a
    user to terminate filtering processing after the TIMEOUT seconds regardless of
    whether filtering is progressing normally or hanging. The default timeout value
    is generally enough for filtering most of the documents. If the timeout value is
    not large enough then it may timeout even before filtering completes. PDF and
    Microsoft Excel files are usually more prone to this timeout as the INSO_FILTER
    generally takes more time to process these types of files. If this is the
    case then you can create a preference with a larger timeout value in versions
    8.1.7.1b and above. It should be noted, however, that the timeout attribute cannot be
    changed dynamically. In order for the new timeout value to take effect, it
    would be necessary to re-create the index with the new timeout attribute
    setting.
    For example, in 9.2.x to alter the timeout to 600 seconds(10 minutes) and use
    the fixed timeout_type:
    begin
    ctx_ddl.create_preference('my_inso', 'INSO_FILTER');
    ctx_ddl.set_attribute('my_inso', 'timeout', '600');
    ctx_ddl.set_attribute('my_inso', 'timeout_type', 'FIXED');
    end;
    Documented reasons for timing out are:
    1. the document is too large to be indexed in the alloted time set via TIMEOUT
    attribute.
    2. INSO_FILTER is hanging during the filtering.
    DRG-11207: user filter command exited with status 127
    Status 127 points to that likely an environmental issue with the shared library
    environmental variable.
    DRG-11207: user filter command exited with status 137
    Status 137 meand that the ctxhx executable was killed as the inso filter is not
    set-up properly. Confirm that the correct environmental variables are
    setup(LD_LIBRARY_PATH AND PATH) and the format of the document is
    supported by INSO_FILTER.
    ENVIRONMENTAL SETTINGS
    ======================
    Please note that any DRG-11207 error may be caused by the setting of the
    environmental variables. Be sure that the PATH and shared library path
    which is LD_LIBRARY_PATH (SHLIB_PATH for HP-UX and LIBPATH for AIX) are
    correct, since it is this setting which actually invokes the INSO_FILTER.
    Note : it is also possible to define the environment variable
    LD_LIBRARY_PATH in the listener.ora entry for extproc. This would be
    included in the ENVS section of the origin database LISTENER.ORA:
    ENVS = 'LD_LIBRARY_PATH=<full_pathname_of_oracle_home>/ctx/lib:$ORACLE_HOME/lib'
    LD_LIBRARY_PATH should include
    <full_pathname_of_oracle_home>/ctx/lib:<full_pathname_of_oracle_home>/lib
    For example:
    export LD_LIBRARY_PATH=<full_pathname_of_oracle_home>/ctx/lib:$LD_LIBRARY_PATH
    PATH should include
    <full_pathname_of_oracle_home>/ctx/bin:<full_pathname_of_oracle_home>/bin
    [NOTE:133691.1] and [NOTE:135333.1] provides possible steps to get around this error.
    SUPPORTED DOCUMENT ATTRIBUTE CHECKLIST
    ======================================
    1. Determine if the filtered document is supported
    A list of supported formats is provided in the InterMedia Text documentation
    pages. Please check whether the format falls in the list of supported formats.
    It is important to note that each Oracle version may support different
    versions of documents.
    For PDF Acrobat (full version), click on File->Document_Info->General and
    you should see the PDF version.
    For Microsoft Word and Excel, click on File->Save As and review the
    "Save as type" to determine the version.
    2. Determine if the document is corrupted
    To verify if a document is corrupted, open the document and view it line
    by line checking for corrupted output. Please note, just holding down the
    "Page Down" button to view all the pages, it's possible that potential
    corruption on a particular page will go unnoticed.
    3. Determine if the document is a secure or copy protected document
    Password protected documents and documents with password protected contents
    are not supported by the INSO_FILTER.
    For PDF Acrobat (full version), click under file->document_info->security.
    If the open password or security password is set to true then it's password
    protected.
    For Microsoft Word, click under Tools->Options->Save. If the
    "Password to open" or "Password to modify" appears as asterisks (*****),
    then the document is secured.
    For Microsoft Excel, click under File->Save As->Tools->General options.
    If the "Password to open" or "Password to modify" appears as
    asterisks (*****), then the document is secured.
    4. Determine if the document is a encrypted
    INSO_FILTER does not currently support encrypted documents.
    For PDF Acrobat (full version), click under file->document_info->security.
    If security method is none, the document is not encrypted. In other cases,
    it is encrypted.
    For Microsoft Word, it is not possible to encrypt this type of document
    directly.
    For Microsoft Excel, if the document is workbook protected then this
    implies that the document is encrypted. To determine this click under
    tools->protection and if the Unprotect Workbook or Unprotect
    Sheet is shown, this implies that the workbook/worksheet is encrypted.
    5. Determine if the document has custom embedded fonts
    Stellent filters will succeed on the majority of PDF documents containing
    custom fonts. Until now, there have only been a few documented cases of
    custom embedded fonts causing filtering problems with PDF documents. If
    there is a filtering problem with custom fonts, it will only result in
    garbage tokens being produced as a result of the custom font, whereas the
    remainder of the PDF document using the standard/built-in font will be
    filtered properly.
    To determine if custom embedded fonts are used for PDF Acrobat (full version),
    click under file->document_info->fonts and review the encoding type.
    The best way to identify whether a particular custom font will filter successfully
    is to highlight the character, copy and paste into Notepad. If the output
    contains garbage text then it is not likely to be filtered properly.
    For Microsoft Word and Excel, regardless of what font is being used, the
    INSO_FILTER should be able to extract the characters.
    References
    Oracle Text Reference Releases 9.1 and 9.2
    [BUG:2473885] BETTER ERROR MESSAGES FOR WHEN CREATING INTERMEDIA INDEX
    USING INSO FILTER
    [NOTE:133691.1] Create context index fails with DRG-11207 or fatal:libsc_fa.so
    [NOTE:135333.1] CTX_DDL.SYNC_INDEX With DBMS_JOB Fails (DRG-11207) Using
    INSO Filter in V817
    [BUG:1795642] INTERMEDIA TEXT INDEX OF A CERTAIN EXCEL97 FILE IS NOT
    CREATED IN WEBDB SITE

    Gary,
    This is two questions:
    1. The INSO filter on 8.1.7 when converting MS Word or WordPrefect Docs to HTML would give you <I> and <B> used in
    the word processor. The 9.2.0.1 version is not converting <I> or <B> in the HTML. Is there any documentation
    from the Company on using the ctxhx and template files? If <I> and <B> tags are missing in 9.2.0.1 then it is a bug in the INSO code.
    2. I have received an error in the CTX_USER_INDEX_ERRORS from one of the docs store in a BLOB here is the error.
    DRG-11207: user filter command exited with status 1.
    Is there a way to debug the ctxhx or INSO load libraries? I know what a 137 error is (NO LD_LIBRARY_PATH for ctx/lib)
    but what a 1. Where is the FL_CMD_EXIT_ERR info? Status 1 is a generic error and you can't debug it. Could you please post your email address? I would like to contact you for a test case.
    Thanks.

  • Installation of oracle8i (8.1.7) on linux 6.2

    hello,
    This is regarding installation of oracle8i(8.1.7) on redhat linux6.2.
    We are facing problems at the begining step of creation of "oracle" user accout & "dba" group.
    Even though we are successfull in creating user & group we are not able to proceed further with installations.
    is the problem is wrt O.S kernel parameters.
    if yes please send me the solution.
    the kernel ver which we are using is 2.2.14.
    does that makes any difference.
    Or should "oracle" user or the "dba" group
    comes under special category.
    bcos we are not able to find any oracle related environment variables nor we are successfull in accesing kernel parameters.
    please let me know how to proceed further
    as soon as possible.
    thanks a lot,
    Bheemesh.

    hello folks,
    i am having a problem in installing oracle 8.1.7 on linux 7.2 redhat.[...snip...]
    now installation starts,during Linking Oracle8i Enterprise Edition segment,,at 62 or 64%,,it start
    generating errors like:
    Error in invoking target relink of makefile
    /dba01/app/oracle/product/8.1.7/precomp/lib/ins_precomp.mk
    no effect on retry,just ignore ignore and ignore all the rest part,,
    i have read a nearly similar type of problem yesterday in this forum where author suggested
    to change LD_SELF_CONTAINED in ORACLE_HOME/bin/genclntsh and then run "genclntsh",,but he did'nt
    mentioned what change should we do??http://www.puschitz.com/OracleOnLinux.shtml
    From the above guide:
    Edit the file $ORACLE_HOME/bin/genclntsh and change the following line (people have sent me emails pointing out that this also works for Mandrake 8.1 and Mandrake 8.2):
    LD_SELF_CONTAINED="-z defs"
    to read:
    LD_SELF_CONTAINED=""
    Then run the script $ORACLE_HOME/bin/genclntsh as the user "oracle" and not as the user "root". Also make sure you have all the Oracle environments set! (I got so many emails because people were not doing this)
    $ su - oracle
    $ $ORACLE_HOME/bin/genclntsh
    Created /opt/oracle/product/9.0.1/lib/libclntst9.a
    $
    Also another 'jewel'http://staff.in2.hr/denis/oracle/index.html
    Regards,
    Pedro

  • Error during installation of oracle 8.1.7 on Linux 7.2

    hello folks,
    i am having a problem in installing oracle 8.1.7 on linux 7.2 redhat.
    i fulfill all the pre-installation requirements,,then started installation,,
    before executing "runInstaller",i have to use the command:
    $ export LD_ASSUME_KERNEL=2.2.5
    (if i dont give this command,the "runInstaller" halts.).
    now installation starts,during Linking Oracle8i Enterprise Edition segment,,at 62 or 64%,,it start
    generating errors like:
    Error in invoking target relink of makefile
    /dba01/app/oracle/product/8.1.7/precomp/lib/ins_precomp.mk
    no effect on retry,just ignore ignore and ignore all the rest part,,
    i have read a nearly similar type of problem yesterday in this forum where author suggested
    to change LD_SELF_CONTAINED in ORACLE_HOME/bin/genclntsh and then run "genclntsh",,but he did'nt
    mentioned what change should we do??
    plz help me to wriggle out from this stuff.
    thanx
    regards

    hello folks,
    i am having a problem in installing oracle 8.1.7 on linux 7.2 redhat.[...snip...]
    now installation starts,during Linking Oracle8i Enterprise Edition segment,,at 62 or 64%,,it start
    generating errors like:
    Error in invoking target relink of makefile
    /dba01/app/oracle/product/8.1.7/precomp/lib/ins_precomp.mk
    no effect on retry,just ignore ignore and ignore all the rest part,,
    i have read a nearly similar type of problem yesterday in this forum where author suggested
    to change LD_SELF_CONTAINED in ORACLE_HOME/bin/genclntsh and then run "genclntsh",,but he did'nt
    mentioned what change should we do??http://www.puschitz.com/OracleOnLinux.shtml
    From the above guide:
    Edit the file $ORACLE_HOME/bin/genclntsh and change the following line (people have sent me emails pointing out that this also works for Mandrake 8.1 and Mandrake 8.2):
    LD_SELF_CONTAINED="-z defs"
    to read:
    LD_SELF_CONTAINED=""
    Then run the script $ORACLE_HOME/bin/genclntsh as the user "oracle" and not as the user "root". Also make sure you have all the Oracle environments set! (I got so many emails because people were not doing this)
    $ su - oracle
    $ $ORACLE_HOME/bin/genclntsh
    Created /opt/oracle/product/9.0.1/lib/libclntst9.a
    $
    Also another 'jewel'http://staff.in2.hr/denis/oracle/index.html
    Regards,
    Pedro

  • Resolution of TNS_ADMIN Environment variable

    In ODAC Release 3 the managed ODP supports TNS_ADMIN environment variable. As it nowhere found in the documentation and judging from this thread it is an undocumented leftover feature that can be removed anytime.
    Are there are any plans on removing this feature? The environment TNS_ADMIN variable has the huge benefit that pretty much all oracle client components support it (managed as well as unmanaged) and it's very easy to maintain. A single setting and a single tnsnames.ora that works for all x86, x64, unmanaged and managed applications - it's really great...

    Please do not remove support for TNS_ADMIN environment variable.  As the original poster stated "The environment TNS_ADMIN variable has the huge benefit that pretty much all oracle client components support it (managed as well as unmanaged) and it's very easy to maintain. A single setting and a single tnsnames.ora that works for all x86, x64, unmanaged and managed applications - it's really great..."  In addition, this is our standard way to set the TNS_ADMIN setting on all our servers and desktops, not what which version of Oracle is used.  Making the ODP.Net driver so it does not support this would just make things confusing.  If users want to use the TNS_Admin environmental variable to identify where the TNSnames.ora files is then ODP.Net should support it.
    Keeping support for the TNS_ADMIN environmental setting in the ODP.Net driver does not hurt anything and give your customers the option of whether they want to continue using the environmental variable or one of the new ways to set where the tnsname.ora file is. But taking it way could cause issues for you customers and have a negative impact on them.  This change could also discourage developers from using the new ODP.Net driver, which would be a shame because the benefits of using it are huge.  The biggest issue with using web.config/ machine.config settings is that the directory structure on the developer machine probably does not match the directory structure on the Dev/QA/Prod server. so this would mean the developer has to change it to the "server" setting before deploying and change it back when running locally.  This is hard to maintain and very likely that the local setting is accidently deployed to the server. 

  • Logic Pro Environment Templates for Various Ensembles

    I'm an old salt that started composing digitally only last year - always composed for live performance prior to this. Been tweaking VSL for eight months trying to find the right combination of Logic Pro plug-ins and settings on those plug-ins for a traditional romantic symphony ensemble (a typical Dvorak or Maller symphony instrumentation - not much different than a lot of modern movie instrumentations.) I've played in and been around highest level orchestras most of my life and am very frustrated trying to find the right combination of plug-ins to create realistic sound, not get clipped all the time when all instruments are playing forte passages, etc.
    Are there any Environment templates anyone has produced with a set of plug-ins in place? Maybe this sounds sacreligious to some, but if I could get my hands on 10-15 templates of Environment setups people have used successfuly (romantic symphony, classical symphony, string quartet, chamber orchestra, woodwind quintet, movie scoring instrumentation, etc.), I feel like this would save me a few years of failing my way to success digitally.
    Sure there are lots of variables that would require me to tweak things endlessaly, but at least I'd be doing it from a base template that has proven to work for at least one person with at least one set of variables with one specific ensemble, as opposed to the endless stream of things I've been trying with no base reference at all.
    Help?

    FYI - I'll even take just one template . Anything to give me reference point for doing my own thing. One way to do this would be to strip out all the track information itself and just email me the naked file with no music in it but the with environment still in place. I would be willing to pay if that's what it takes to get there.
    FYI - I'm using Vienns Symphonic Library exclusively right now, but would still be glad to get my hands on some Environments set up for other libraries. Thanks.

  • Issues in calling Sql Loader through forms developer (10g)

    Hi,
    I am developing a form(in 10g) ,in which I am calling sql loader for loading data onto a oracle database table from external source (e.g. data file is a .CSV file).
    But , somehow the sql loader is not getting executed.
    Here , I am giving the environment settings , approach i am taking;
    This is a distributed system , both the application server,and database server are mounted on two different servers.
    The form is delpoyed on the application server.
    The database table , and the sql loader are configured on the databse side.
    I am using host(<sql loader command>) command to invoke the Operating System command through forms.
    The sql loader is working ok , and the data is getting loaded successfully onto the required database table when I am executing the sql loader command on Unix prompt , but through the forms , it's not working.
    Do I need to change some environmental setting to make this work...
    Any quick help in this regard is highly appreciated.
    Thanks.

    Hi Craig,
    I have already tried out the option of calling sql loader through stored procedure,but this is not working ...
    could you please share any examples to do so ...
    code snippet i am using in forms:
    declare
    usid get_application_property(userid);
    pwd get_application_property(password);
    db get_application_property(host);
    msqlldr varchar2(250);
    begin
    msqlldr:='/u01/oracle/formss/bin/sqlldr' username=<uid/pwd@db> control=<control file name> data=<data file name> log=<log file name>
    hosts(msqlldr);
    end;
    Note that sqlldr command ,for that matter any unix shell command is not working through the hosts() command ...
    could you please suggest any way out ...
    Thanks.

  • Improper code structure

    I am working on a jsp page and I am struggling with the proper way to indent my code. I know this is simple, but I just need a little direction first. If someone would be willing to show me how to format my code that would be most appreciated.
    <HTML>
    <HEAD>
    <TITLE>OakMapper Tree Submittal</TITLE>
    </HEAD>
    <BODY BGCOLOR="BBE4C6" TEXT="0E351A">
    <%@ page language="java" %>
    <!--Importing the Packages-->
    <%@ page import = "java.sql.*" %>
    <%
    String strEmail = null;
    String strSpecies = null;
    String strOther_Tree = null;
    String strBackground = null;
    String strBackgr = null;
    String strSetting = null;
    String strSettingoth = null;
    String strFrass = null;
    String strDead_Leave = null;
    String strCrown_Disc = null;
    String strBark_Disco = null;
    String strBore_Holes = null;
    String strShoot_Dieb = null;
    String strBleeding = null;
    String strHypoxylon = null;
    String strAddress = null;
    String strCity = null;
    String strZipcode = null;
    String strCounty = null;
    String strZone = null;
    String strY = null;
    String strX = null;
    String strFrass1 = null;
    String strDead_Leave1 = null;
    String strCrown_Disc1 = null;
    String strBark_Disco1 = null;
    String strBore_Holes1 = null;
    String strShoot_Dieb1 = null;
    String strBleeding1 = null;
    String strHypoxylon1 = null;
    %>
    <TABLE COL="3" WIDTH="100%" BORDER=0 CELLSPACING="0" CELLPADDING="0" NOWRAP>
    <TR>
    <TD WIDTH="130">
    <A HREF="http://oakmapper.espm.berkeley.edu/" TARGET="_blank">
    <IMG SRC="images/logo.gif" WIDTH="130" HEIGHT="130" BORDER=0></A>
    </TD>
    <TD ALIGN="CENTER">
    <IMG SRC="images/title_submittal.gif" BORDER=0>
    </TD>
    <TD WIDTH="198">
         <TABLE BORDER=0>
         <TR>
         <TD>
         <A HREF="http://www.suddenoakdeath.org/" TARGET="_blank">
         <IMG SRC="images/oaklogo_green.gif" WIDTH="198" HEIGHT="72" BORDER=0></A>
         </TD>
         </TR>
         <TR>
         <TD>  
         <A HREF="http://camfer.cnr.berkeley.edu/" TARGET="_blank">
         <IMG SRC="images/aboutcamfer.jpg" WIDTH="152" HEIGHT="65" BORDER=0></A>
         </TD>
         </TR>
         </TABLE>
    </TD>
    </TR>
    </TABLE>
    <TABLE CELLPADDING=5 BORDER=0>
    <TR HEIGHT="50"> 
    </TR>
    <TR>
    <TD WIDTH="100%"><FONT FACE="Arial" SIZE="-1">
    The University of California's Center for the Assessment and Monitoring of Forest and Environmental Resources (<A HREF="http://camfer.cnr.berkeley.edu/" TARGET="_blank">CAMFER</A>), along with the California Oak Mortality Task Force (<A HREF="http://www.suddenoakdeath.org/" TARGET="_blank">COMTF</A>), has developed the OakMapper Tree Submittal as a tool to assist in the monitoring of Sudden Oak Death (SOD) in California.
    <BR><BR> It is part of a large effort to document the distribution of Sudden Oak Death.  Please note, however, that trees submitted to this website represent <i>symptoms</i> of and <i>potential</i> distribution of SOD, and should not be assumed to be laboratory confirmations of SOD.
    <BR>
    <BR>
    In addition to submitting to the Tree Submittal, please contact your county's Cooperative Extension contact and/or Agricultural Commissioner's Office to notify them about your symptomatic tree.  For contact information, please see the <a href="http://www.cnr.berkeley.edu/comtf/pages/counties.html" target="_blank">County Contacts page</a>.
    <BR>
    <BR>
    For a printer-friendly PDF version of this form to print out to take with you to record symptoms, please download the <a href="OakMapper Tree Submittal.pdf" TARGET="_blank">OakMapper Tree Submittal</a>
    </FONT>
    </TD>
    </TR>
    </TABLE>
    <FORM method=post  ACTION=test.jsp >
    <FONT FACE="Arial" SIZE="-1">
    <TABLE CELLPADDING=4 BORDER=0>
    <TR>
    <TD WIDTH="20%" VALIGN="top"><FONT FACE="Garamond" SIZE="+2"><B>Tree<BR>Identification:</B></FONT>
    <BR><BR><FONT SIZE="-1">Enter information for a single specimen.  Select the tree that most closely resembles the affected tree.<BR><BR><B>Note: </B>Click on photo to view the <a href="http://elib.cs.berkeley.edu/calflora/" TARGET="_blank">CalFlora</a> ID Key.  For species other than those shown on the right, enter in the text box below.
    <BR><BR>Other Species:</FONT>
    <BR><INPUT TYPE="text" NAME="OTHER_TREE">
    </TD>
    <TD WIDTH="35">
    </TD>
    <TD>
         <TABLE CELLPADDING=4 BORDER=0>
         <TR>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://elib.cs.berkeley.edu/cgi/img_query?where-taxon=Quercus+agrifolia" TARGET="_blank">
         <IMG SRC="images/coastliveoak.jpg" BORDER=0 height=134 width=168></a>          </TD>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://elib.cs.berkeley.edu/cgi/img_query?where-taxon=Lithocarpus+densiflorus&special=calflora&where-anno=1" TARGET="_blank">
         <IMG SRC="images/tanoak.jpg" BORDER=0 height=134 width=168></a>
         </TD>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://elib.cs.berkeley.edu/cgi/img_query?where-taxon=Quercus+kelloggii&special=calflora&where-anno=1" TARGET="_blank">
         <IMG SRC="images/blackoak.jpg" BORDER=0 height=134 width=168></a>
         </TD>
         </TR>
         <TR>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="radio" NAME="SPECIES" VALUE="Coast Live Oak"><B> Coast Live Oak</B>
         </TD>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="radio" NAME="SPECIES" VALUE="Tanoak"><B> Tanoak</B>
         </TD>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="radio" NAME="SPECIES" VALUE="Black Oak"><B> Black Oak</B>
         </TD>
         </TR>
         </TABLE>
    </TD>
    </TR>
    <TR HEIGHT="30"> 
    </TR>
    <TR>
    <TD WIDTH="20%" VALIGN="top"><FONT FACE="Garamond" SIZE="+2"><B>Personal<BR>Information:</B></FONT>
    <BR><BR><FONT SIZE="-1">Please select the option below which best describes your background in arboricultural, forestry or pest management sciences.</FONT>
    </TD>
    <TD WIDTH="35">
    </TD>
    <TD>
    <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="None"><B> None</B>
    <BR><INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Limited"><B> Limited</B>
    <BR><INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Hobbiest"><B> Hobbiest</B>
    <BR><INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Academic"><B> Academic but not professional</B>
    <BR><INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Professional"><B> Professional</B>
    <BR><INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Other"><B> Other</B>
    <BR>      <INPUT TYPE="text" NAME="BACKGR">
    </TD>
    </TR>
    <TR HEIGHT="30"> 
    </TR>
    <TR>
    <TR>
    <TD WIDTH="20%" VALIGN="top"><FONT FACE="Garamond" SIZE="+2"><B>Environmental<BR>Setting:</B></FONT>
    <BR><BR><FONT SIZE="-1">Please select a description which most closely matches the environmental setting of the specimen.</FONT>
    </TD>
    <TD WIDTH="35">
    </TD>
    <TD>
    <INPUT TYPE="radio" NAME="SETTING" VALUE="None"><B> Residential area - landscaped</B><BR><FONT SIZE="-1">      (scattered shade trees, watered lawn, or garden)</FONT>
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Residential"><B> Residential area - natural setting</B><BR><FONT SIZE="-1">      (not watered or landscaped, native or naturalized </FONT>plants)
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Street trees"><B> Street trees</B>
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Natural"><B> Natural setting right of way trees</B><BR><FONT SIZE="-1">      (not watered or landscaped, native or naturalized </FONT>plants)</FONT>
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Landscaped park"><B> Landscaped park setting</B><BR><FONT SIZE="-1">      (scattered shade trees, watered lawn, or garden)</FONT>
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Natural oak woodland"><B> Natural oak woodland setting</B><BR><FONT SIZE="-1">      (Live Oak, Valley Oak, Bay, Black Oak)</FONT>
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Natural forest"><B> Natural forest setting</B><BR><FONT SIZE="-1">      (e.g., Redwood, Douglas-fir, or Tanoak composition)</FONT>
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Other"><B> Other/Additional</B><BR><FONT SIZE="-1">      (please provide brief description below):</FONT>
    <BR>      <INPUT TYPE="text" NAME="SETTINGOTH">
    </TD>
    </TR>
    <TR HEIGHT="30"> 
    </TR>
    <TR>
    <TD WIDTH="20%" VALIGN="top"><FONT FACE="Garamond" SIZE="+2"><B>Symptoms:</B></FONT>
    <BR><BR><FONT SIZE="-1">These images illustrate the symptoms that are typically caused by the pathogen affecting the oak and tanoak trees.  Please compare these images carefully with symptoms you have observed, then check the corresponding check boxes below to provide descriptive information on the specimen.
    <BR><BR><B>Note:</B> Click on the thumbnails to view larger version of Photo and written description.</FONT>
    </TD>
    <TD WIDTH="35">
    </TD>
    <TD>
         <TABLE CELLPADDING=4 BORDER=0>
         <TR>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/seeping.htm" BORDER=0 TARGET="_blank">
         <IMG SRC="images/seeping.jpg" BORDER=0 height=147 width=140></a>
         </TD>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/barkdiscoloration.htm" BORDER=0 TARGET="_blank">
         <IMG SRC="images/bleeding.jpg" BORDER=0 height=147 width=140></a>
         </TD>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/crowndiscoloration.htm" BORDER=0 TARGET="_blank">
         <IMG SRC="images/crowndiscoloration.jpg" BORDER=0 height=147 width=140></a>
         </TD>
         </TR>
         <TR>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="checkbox" NAME="BLEEDING" VALUE="-1"><B> Seeping</B>
         </TD>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="checkbox" NAME="BARK_DISCO" VALUE="-1"><B> Bark discoloration</B>
         </TD>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="checkbox" NAME="CROWN_DISC" VALUE="-1"><B> Crown discoloration (except deciduous)</B>
         </TD>
         </TR>
         <TR>
         </TR>
         <TR>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/deadleaves.htm" TARGET="_blank">
         <IMG SRC="images/deadleaves.jpg" BORDER=0 height=147 width=140></a>
         </TD>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/shootdieback.htm" BORDER=0 TARGET="_blank">
         <IMG SRC="images/shootdieback.jpg" BORDER=0 height=147 width=140></a>
         </TD>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/hypoxylon.htm" BORDER=0 TARGET="_blank">
         <IMG SRC="images/hypoxylon.jpg" BORDER=0 height=147 width=140></a>
         </TD>
         </TR>
         <TR>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="checkbox" NAME="DEAD_LEAVE" VALUE="-1"><B> Numerous brown<BR>(dead) leaves</B>
         </TD>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="checkbox" NAME="SHOOT_DIEB" VALUE="-1"><B> Shoot die-back</B>
         </TD>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="checkbox" NAME="HYPOXYLON" VALUE="-1"><B> Fungus (Hypoxylon)</B>
         </TD>
         </TR>
         <TR>
         </TR>
         <TR>
         <TD ALIGN="center" COLSPAN="3">
              <TABLE CELLPADDING=7 BORDER=0>
              <TR>
              <TD ALIGN="center" VALIGN="middle">
              <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/frass.htm" TARGET="_blank">
              <IMG SRC="images/frass.jpg" BORDER=0 height=147 width=140></a>
              </TD>
              <TD ALIGN="center" VALIGN="middle">
              <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/boreholes.htm" TARGET="_blank">
              <IMG SRC="images/boreholes.jpg" BORDER=0 height=147 width=140></a>
              </TD>
              </TR>
              <TR>
              <TD ALIGN="center" VALIGN="top">
              <INPUT TYPE="checkbox" NAME="FRASS" VALUE="-1"><B> Beetle frass<BR>("saw dust")</B>
              </TD>
              <TD ALIGN="center" VALIGN="top">
              <INPUT TYPE="checkbox" NAME="BORE_HOLES" VALUE="-1"><B> Beetle bore holes</B>
              </TD>
              </TR>
              </TABLE>
         </TD>
         </TR>
         </TABLE>
    </TR>
    <TR HEIGHT="30"> 
    </TR>
    <TR>
         <TR>
         <TD WIDTH="20%" VALIGN="top"><FONT FACE="Garamond" SIZE="+2"><B>Tree Location:</B></FONT>
         <BR><BR><FONT SIZE="-1">Enter the street address OR the XY location of the tree (see example below).
         <BR><BR><B>Note:</B> All street addresses and emails are kept completely confidential.</FONT>
         </TD>
         <TD WIDTH="35">
         </TD>
         <TD>
         <BR><B><U>Street Address</U> (preferred)</B>
         <BR>
         <BR><B>Complete Street Address or nearest intersection:</B>
         <BR><INPUT TYPE="text" NAME="ADDRESS">  <FONT SIZE="-1">Example: 2011 Francisco St., or Francisco St. & Park Ave.</FONT>
         <BR>
         <BR><B>City Name:</B>
         <BR><INPUT TYPE="text" NAME="CITY">  <FONT SIZE="-1">Example: Berkeley</FONT>
         <BR>
         <BR><B>Zip Code:</B>
         <BR><INPUT TYPE="text" NAME="ZIPCODE">  <FONT SIZE="-1">Example: 94709</FONT>
         <BR>
         <BR><B>County:</B>
         <BR><INPUT TYPE="text" NAME="COUNTY">  <FONT SIZE="-1">Example: Alameda</FONT>
         <BR>
         <BR>
         <BR><B><U>XY Coordinates</U> (optional if address is entered above)</B>
         <BR>
         <BR>If entering an XY location, use either State Plan or latitude/longitude coordinates.
         <BR>Examples of both types of acceptable projections:
         <BR>
         <BR>CA STATE PLANE include the zone, and please use Datum = NAD83, and units = meters:
         <BR>X coordinate --> 5973541.75
         <BR>Y coordinate --> 2238728.00
         <BR>
         <BR>LATITUDE / LONGITUDE:
         <BR>Latitude --> 38-22-15
         <BR>Longitude --> -122-30-29
         <BR>
         <BR><B>X Coordinate:</B>
         <BR><INPUT TYPE="text" NAME="X">  <FONT SIZE="-1">Example: 5983541.75 (State Plane), or -122-30-29 (Longitude)</FONT>
         <BR>
         <BR><B>Y Coordinate:</B>
         <BR><INPUT TYPE="text" NAME="Y">  <FONT SIZE="-1">Example: 2238728.00 (State Plane), or 38-22-15 (Latitude)</FONT>
         <BR>
         <BR><B>California State Plane Zone:</B>
         <BR><INPUT TYPE="text" NAME="ZONE">  <FONT SIZE="-1">Example: III (for a listing of zones by county, go <a href="http://www.pipeline.com/%7Erking/spc.htm#CA" TARGET="_blank">here</a>)</FONT>
         <BR>
         <BR>
         <BR>
         <BR>
         <BR>Please enter your e-mail for possible follow-up and mailing of submission receipt (mailing and e-mail addresses are kept completely confidential):
         <BR><B>E-mail Address:</B>
         <BR><INPUT TYPE="text" NAME="EMAIL">  <FONT SIZE="-1">Example: [email protected]</FONT>
         </TD>
         </TR>
         </TABLE>
    </TR>
    </TABLE>
    <TABLE ALIGN="CENTER" BORDER=0 WIDTH="60%">
    <TR>
    <TD ALIGN="CENTER">
    Please note that by submitting this information, you agree to let us map your site on our Sudden Oak Death distribution map and browser as a point within 1 mile of the site.  Your address will NOT be released and will only be used for general locating the symptomatic tree.
    </TD>
    </TR>
    <TR HEIGHT="40"> 
    </TR>
    <TR>
    <TD ALIGN="CENTER"><B><BR>
    <BR>Thank you very much for your submittal!</B>
    </TD>
    </TR>
    <BR>
    <BR>
    <TABLE ALIGN="center" WIDTH="60%" BORDER="0">
    <TR><TD ALIGN="center">
    <BR>
    In addition, please contact your county's Cooperative Extension contact and/or Agricultural Commissioner's Office to notify them about your symptomatic tree.
    <BR>
    <BR>For contact information, please see the <a href="http://www.cnr.berkeley.edu/comtf/pages/counties.html" target="_blank">County Contacts page</a>.
    <BR>
    <BR>
    <TR HEIGHT="50"> 
    </TR>
    </TABLE>
    <CENTER><INPUT TYPE="Submit" NAME="SUBMIT" VALUE="Submit Tree"></CENTER><BR>
    </FORM>
    </TD></TR></TABLE>
    <%
    //Creating Database Instanse
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:SuddenOak","","");
    //Creating the Connection Statement
    Statement statement = con.createStatement();
    ResultSet recset = statement.executeQuery("Select * From Treesubmittals where SubmissionID>0");
    %>
    <%
    if (strEmail !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.EMAIL" + request.getParameter("strEmail"));
    statement.executeUpdate("INSERT INTO Treesubmittal.GEOCODED Pending");
    statement.executeUpdate("INSERT INTO Treesubmittal.DATE_ENTER Date");
    if (strSpecies !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.SPECIES" + request.getParameter("strSpecies"));
    if (strOther_Tree !=""); {
    statement.executeUpdate("INSERT INTO Treesubmittal.OTHER_TREE" + request.getParameter("strOther_Tree"));
    if (strBackground !="") ;{
    statement.executeUpdate("INSERT INTO Treesubmittal.BACKGROUND" + request.getParameter("strBackground"));
    if (strBackgr !=""); {
    statement.executeUpdate("INSERT INTO Treesubmittal.BACKGR" + request.getParameter("strBackgr"));
    if (strSetting !=""); {
    statement.executeUpdate("INSERT INTO Treesubmittal.SETTING" + request.getParameter("strSetting"));
    if (strSettingoth !=""); {
    statement.executeUpdate("INSERT INTO Treesubmittal.SETTINGOTH" + request.getParameter("strSettingoth"));
    if (strDead_Leave !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.DEAD_LEAVE Yes");
    if (strCrown_Disc !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.CROWN_DISC Yes");
    if (strBark_Disco !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.BARK_DISCO Yes");
    if (strBore_Holes !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.BORE_HOLES Yes");
    if (strShoot_Dieb !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.SHOOT_DIEB Yes");
    if (strBleeding !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.BLEEDING Yes");
    if (strHypoxylon !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.HYPOXYLON Yes");
    if (strFrass !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.FRASS Yes");
    if (strAddress !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.ADDRESS" + request.getParameter("strAddress"));
    if (strCity !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.CITY" + request.getParameter("strCity"));
    if (strZipcode !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.ZIPCODE" + request.getParameter("strZipcode"));
    if (strCounty !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.COUNTY" + request.getParameter("strCounty"));
    if (strZone !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.ZONE" + request.getParameter("strZone"));
    if (strY !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.Y" + request.getParameter("strY"));
    if (strX !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.X" + request.getParameter("strX"));
    if (strDead_Leave !="") {
    strDead_Leave1="Yes";
    else{
    strDead_Leave1="No";
    if (strCrown_Disc !="") {
    strCrown_Disc1="Yes";
    else{
    strCrown_Disc1="No";
    if (strBark_Disco !="") {
    strBark_Disco1="Yes";
    else{
    strBark_Disco1="No";
    if (strBore_Holes !="") {
    strBore_Holes1="Yes";
    else{
    strBore_Holes1="No";
    if (strShoot_Dieb !="") {
    strShoot_Dieb1="Yes";
    else{
    strShoot_Dieb1="No";
    if (strBleeding !="") {
    strBleeding1="Yes";
    else{
    strBleeding1="No";
    if (strHypoxylon !="") {
    strHypoxylon1="Yes";
    else{
    strHypoxylon1="No";
    if (strFrass !="") {
    strFrass1="Yes";
    else{
    strFrass1="No";
    %>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <CENTER>
    <font face="Arial,Helvetica">You are person #<IMG SRC="http://counter.digits.com/wc/-r/-d/4/-c/2/-f/0E351A/-b/F4F4FF/-e/F4F4FF/OakMapper2" ALIGN=absmiddle WIDTH=60 HEIGHT=20 BORDER=0> to access the OakMapper Tree Submittal since we began counting on February 15, 2002.
    <BR><BR>
    Provided by </FONT><A HREF="http://www.digits.com" target="_blank"><IMG SRC="wc-01.gif" ALIGN=absmiddle WIDTH=75 HEIGHT=20 BORDER=0></A>
    </center>
    <BR>
    <BR>
    <CENTER>
    <HR WIDTH="85%">
    <p><font color="#0E351A"><font face="Arial, Helvetica, sans-serif"><a href="http://camfer.cnr.berkeley.edu/oaks/" TARGET="_blank">Oaks
    Research Home</a></font> | <font face="Arial"><a href="http://www.suddenoakdeath.org/" TARGET="_blank">California
    Oak Mortality Task Force</a></font> | <font face="Arial, Helvetica, sans-serif"><a href="http://camfer.cnr.berkeley.edu/" TARGET="_blank">CAMFER
    Home</a></font></font>
    <br>
    <br>
    <br><font face="Arial, Helvetica, sans-serif"><font size=-2>For questions,
    comments or problems concerning this web site, please contact Karin Tuxen
    at: <a href="mailto:[email protected]">[email protected]</a></font></font>
    </center>
    <%
    out.println("Thank you for submitting to the OakMapper Tree Submittal.  " + "<BR>" + "<BR>");
    out.println("In addition, please contact your county's Cooperative Extension contact and/or Agricultural Commissioner's Office.  " + "<BR>" + "For contact information, please see http://www.cnr.berkeley.edu/comtf/pages/counties.html" + "<BR>" + "<BR>");
    out.println("Below is a summary of your submittal:" +"<BR>" + "Tree species = " + recset.getString("strSpecies") + "<BR>" + "Other tree species = " + recset.getString("strOther_Tree") + "<BR>");
    out.println("Background in arboricultural, forestry or pest management sciences = " + recset.getString("strBackground") + "<BR>" + "Other background, if applicable = " + recset.getString("strBackgr") + "<BR>");
    out.println("Environmental Setting = " + recset.getString("strSetting") + "<BR>" + "Other background, if applicable = " + recset.getString("strSettingoth") + "<BR>" + "Seeping = " + recset.getString("strBleeding") + "<BR>");
    out.println("Bark discoloration = " + recset.getString("strBark_Disco1") + "<BR>" + "Crown discoloration = " + recset.getString("strCrown_Disc1") + "<BR>" + "Numerous brown dead leaves = " + recset.getString("strDead_Leave1") + "<BR>");
    out.println("Shoot die-back = " + recset.getString("strShoot_Dieb1") + "<BR>" + "Fungus - Hypoxylon = " + recset.getString("strHypoxylon1") + "<BR>" + "Beetle frass = " + recset.getString("strFrass1") + "<BR>" + "Beetle bore holes = " + recset.getString("strBore_Holes1")  + "<BR>");
    out.println("Address - this will be kept completely confidential = " + recset.getString("strAddress") + "<BR>" + "City = " + recset.getString("strCity") + "<BR>" + "Zip Code = " + recset.getString("strZipCode") + "<BR>" + "County = " + recset.getString("strCounty") + "<BR>");
    out.println("Zone = " + recset.getString("strZone") + "<BR>" + "X coordinate = " + recset.getString("strX") + "<BR>" + "Y coordinate = " + recset.getString("strY") + "<BR>");
    //I am little unsure how to update the CDONTS.NewMail
    //Set objNewReceipt = Server.CreateObject("CDONTS.NewMail")
    //objNewReceipt.From = "[email protected]"
    //objNewReceipt.To = strEMAIL
    //objNewReceipt.Bcc = "[email protected]"
    //objNewReceipt.Subject = "Thank you for submitting to the OakMapper!"
    //objNewReceipt.Body = strBody
    //objNewReceipt.Send
    //Response.Redirect "result.htm"
    %>
    </body>
    </html>

    First, when declaring multiple variables of the same type, rather than..
    String blah="";
    String blah2="";
    Use:
    String blah="", blah2="";
    And typically you <tab> in once for each layer in a loop or table, etc(the further you go in, the more you <tab> in)..for example:
    <TABLE COL="3" WIDTH="100%" BORDER=0>
    <TR>
    <TD> </TD>
    </TR>
    </TABLE>
    To save space, you can put <tr> on the front and end of whatever line you're editing, so you can cut down on the number of lines..
    <BR>Some content in here<BR>
    Hope that helps!
    -Adam

  • Submit button does nothing

    When I open my jsp and fill out all the form info and hit submit, the page refreshes and the database does not update nor does the redirect work. Here is my code:
    <HTML>
    <HEAD>
    <TITLE>OakMapper Tree Submittal</TITLE>
    </HEAD>
    <BODY BGCOLOR="BBE4C6" TEXT="0E351A">
    <%@ page language="java" %>
    <!--Importing the Packages-->
    <%@ page import = "java.sql.*" %>
    <%
    String strEmail = null;
    String strSpecies = null;
    String strOther_Tree = null;
    String strBackground = null;
    String strBackgr = null;
    String strSetting = null;
    String strSettingoth = null;
    String strFrass = null;
    String strDead_Leave = null;
    String strCrown_Disc = null;
    String strBark_Disco = null;
    String strBore_Holes = null;
    String strShoot_Dieb = null;
    String strBleeding = null;
    String strHypoxylon = null;
    String strAddress = null;
    String strCity = null;
    String strZipcode = null;
    String strCounty = null;
    String strZone = null;
    String strY = null;
    String strX = null;
    String strFrass1 = null;
    String strDead_Leave1 = null;
    String strCrown_Disc1 = null;
    String strBark_Disco1 = null;
    String strBore_Holes1 = null;
    String strShoot_Dieb1 = null;
    String strBleeding1 = null;
    String strHypoxylon1 = null;
    %>
    <TABLE COL="3" WIDTH="100%" BORDER=0 CELLSPACING="0" CELLPADDING="0" NOWRAP>
      <TR>
        <TD WIDTH="130"> <A HREF="http://oakmapper.espm.berkeley.edu/" TARGET="_blank">
          <IMG SRC="images/logo.gif" WIDTH="130" HEIGHT="130" BORDER=0></A> </TD>
        <TD ALIGN="CENTER"> <IMG SRC="images/title_submittal.gif" BORDER=0> </TD>
        <TD WIDTH="198"> <TABLE BORDER=0>
            <TR>
              <TD> <A HREF="http://www.suddenoakdeath.org/" TARGET="_blank"> <IMG SRC="images/oaklogo_green.gif" WIDTH="198" HEIGHT="72" BORDER=0></A>
              </TD>
            </TR>
            <TR>
              <TD>   <A HREF="http://camfer.cnr.berkeley.edu/" TARGET="_blank">
                <IMG SRC="images/aboutcamfer.jpg" WIDTH="152" HEIGHT="65" BORDER=0></A>
              </TD>
            </TR>
          </TABLE></TD>
      </TR>
    </TABLE>
    <TABLE CELLPADDING=5 BORDER=0>
      <TR HEIGHT="50">  </TR>
      <TR>
        <TD WIDTH="100%"> The University of California's
          Center for the Assessment and Monitoring of Forest and Environmental Resources
          (<A HREF="http://camfer.cnr.berkeley.edu/" TARGET="_blank">CAMFER</A>),
          along with the California Oak Mortality Task Force (<A HREF="http://www.suddenoakdeath.org/" TARGET="_blank">COMTF</A>),
          has developed the OakMapper Tree Submittal as a tool to assist in the monitoring
          of Sudden Oak Death (SOD) in California. <BR>
          <BR>
          It is part of a large effort to document the distribution of Sudden Oak
          Death. Please note, however, that trees submitted to this website represent
          symptoms of and potential distribution of SOD, and should
          not be assumed to be laboratory confirmations of SOD. <BR>
          <BR>
          In addition to submitting to the Tree Submittal, please contact your county's
          Cooperative Extension contact and/or Agricultural Commissioner's Office
                to notify them about your symptomatic tree. For contact information, please
          see the <a href="http://www.cnr.berkeley.edu/comtf/pages/counties.html" target="_blank">County
          Contacts page</a>. <BR>
          <BR>
          For a printer-friendly PDF version of this form to print out to take with
          you to record symptoms, please download the <a href="OakMapper Tree Submittal.pdf" TARGET="_blank">OakMapper
          Tree Submittal</a>  </TD>
      </TR>
    </TABLE>
    <FORM method=post  ACTION=test.jsp ><FONT FACE="Arial" SIZE="-1">
      <TABLE CELLPADDING=4 BORDER=0>
        <TR>
          <TD WIDTH="20%" VALIGN="top">Tree<BR>
            Identification: <BR>
            <BR>
            Enter information for a single specimen. Select the tree
            that most closely resembles the affected tree.<BR>
            <BR>
            Note: Click on photo to view the <a href="http://elib.cs.berkeley.edu/calflora/" TARGET="_blank">CalFlora</a>
            ID Key. For species other than those shown on the right, enter in the
            text box below. <BR>
            <BR>
            Other Species: <BR>
            <INPUT TYPE="text" NAME="OTHER_TREE"> </TD>
          <TD WIDTH="35"> </TD>
          <TD> <TABLE CELLPADDING=4 BORDER=0>
              <TR>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="http://elib.cs.berkeley.edu/cgi/img_query?where-taxon=Quercus+agrifolia" TARGET="_blank">
                  <IMG SRC="images/coastliveoak.jpg" BORDER=0 height=134 width=168></a>     
                </TD>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="http://elib.cs.berkeley.edu/cgi/img_query?where-taxon=Lithocarpus+densiflorus&special=calflora&where-anno=1" TARGET="_blank">
                  <IMG SRC="images/tanoak.jpg" BORDER=0 height=134 width=168></a>
                </TD>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="http://elib.cs.berkeley.edu/cgi/img_query?where-taxon=Quercus+kelloggii&special=calflora&where-anno=1" TARGET="_blank">
                  <IMG SRC="images/blackoak.jpg" BORDER=0 height=134 width=168></a>
                </TD>
              </TR>
              <TR>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="radio" NAME="SPECIES" VALUE="Coast Live Oak">
                   Coast Live Oak </TD>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="radio" NAME="SPECIES" VALUE="Tanoak">
                   Tanoak </TD>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="radio" NAME="SPECIES" VALUE="Black Oak">
                   Black Oak </TD>
              </TR>
            </TABLE></TD>
        </TR>
        <TR HEIGHT="30">  </TR>
        <TR>
          <TD WIDTH="20%" VALIGN="top">Personal<BR>
            Information: <BR>
            <BR>
            Please select the option below which best describes your
            background in arboricultural, forestry or pest management sciences.
          </TD>
          <TD WIDTH="35"> </TD>
          <TD> <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="None">
             None <BR>
            <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Limited">
             Limited <BR>
            <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Hobbiest">
             Hobbiest <BR>
            <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Academic">
             Academic but not professional <BR>
            <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Professional">
             Professional <BR>
            <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Other">
             Other <BR>
            <INPUT TYPE="text" NAME="BACKGR"> </TD>
        </TR>
        <TR HEIGHT="30">  </TR>
        <TR>
        <TR>
          <TD WIDTH="20%" VALIGN="top">Environmental<BR>
            Setting: <BR>
            <BR>
            Please select a description which most closely matches
            the environmental setting of the specimen. </TD>
          <TD WIDTH="35"> </TD>
          <TD> <INPUT TYPE="radio" NAME="SETTING" VALUE="None">
             Residential area - landscaped<BR>
                  (scattered shade trees,
            watered lawn, or garden) <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Residential">
             Residential area - natural setting<BR>
                  (not watered or landscaped,
            native or naturalized plants) <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Street trees">
             Street trees <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Natural">
             Natural setting right of way trees<BR>
                  (not watered or landscaped,
            native or naturalized plants) <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Landscaped park">
             Landscaped park setting<BR>
                  (scattered shade trees,
            watered lawn, or garden) <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Natural oak woodland">
             Natural oak woodland setting<BR>
                  (Live Oak, Valley
            Oak, Bay, Black Oak) <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Natural forest">
             Natural forest setting<BR>
                  (e.g., Redwood, Douglas-fir,
            or Tanoak composition) <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Other">
             Other/Additional<BR>
                  (please provide brief
            description below): <BR>
            <INPUT TYPE="text" NAME="SETTINGOTH"> </TD>
        </TR>
        <TR HEIGHT="30">  </TR>
        <TR>
          <TD WIDTH="20%" VALIGN="top">Symptoms:
            <BR>
            <BR>
            These images illustrate the symptoms that are typically
            caused by the pathogen affecting the oak and tanoak trees. Please compare
            these images carefully with symptoms you have observed, then check the
            corresponding check boxes below to provide descriptive information on
            the specimen. <BR>
            <BR>
            Note: Click on the thumbnails to view larger version of Photo and
            written description. </TD>
          <TD WIDTH="35"> </TD>
          <TD> <TABLE CELLPADDING=4 BORDER=0>
              <TR>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/seeping.htm" BORDER=0 TARGET="_blank">
                  <IMG SRC="images/seeping.jpg" BORDER=0 height=147 width=140></a>
                </TD>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/barkdiscoloration.htm" BORDER=0 TARGET="_blank">
                  <IMG SRC="images/bleeding.jpg" BORDER=0 height=147 width=140></a>
                </TD>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/crowndiscoloration.htm" BORDER=0 TARGET="_blank">
                  <IMG SRC="images/crowndiscoloration.jpg" BORDER=0 height=147 width=140></a>
                </TD>
              </TR>
              <TR>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="BLEEDING" VALUE="-1">
                   Seeping </TD>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="BARK_DISCO" VALUE="-1">
                   Bark discoloration </TD>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="CROWN_DISC" VALUE="-1">
                   Crown discoloration (except deciduous) </TD>
              </TR>
              <TR> </TR>
              <TR>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/deadleaves.htm" TARGET="_blank">
                  <IMG SRC="images/deadleaves.jpg" BORDER=0 height=147 width=140></a>
                </TD>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/shootdieback.htm" BORDER=0 TARGET="_blank">
                  <IMG SRC="images/shootdieback.jpg" BORDER=0 height=147 width=140></a>
                </TD>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/hypoxylon.htm" BORDER=0 TARGET="_blank">
                  <IMG SRC="images/hypoxylon.jpg" BORDER=0 height=147 width=140></a>
                </TD>
              </TR>
              <TR>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="DEAD_LEAVE" VALUE="-1">
                   Numerous brown<BR>
                  (dead) leaves </TD>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="SHOOT_DIEB" VALUE="-1">
                   Shoot die-back </TD>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="HYPOXYLON" VALUE="-1">
                   Fungus (Hypoxylon) </TD>
              </TR>
              <TR> </TR>
              <TR>
                <TD ALIGN="center" COLSPAN="3"> <TABLE CELLPADDING=7 BORDER=0>
                    <TR>
                      <TD ALIGN="center" VALIGN="middle"> <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/frass.htm" TARGET="_blank">
                        <IMG SRC="images/frass.jpg" BORDER=0 height=147 width=140></a>
                      </TD>
                      <TD ALIGN="center" VALIGN="middle"> <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/boreholes.htm" TARGET="_blank">
                        <IMG SRC="images/boreholes.jpg" BORDER=0 height=147 width=140></a>
                      </TD>
                    </TR>
                    <TR>
                      <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="FRASS" VALUE="-1">
                         Beetle frass<BR>
                        ("saw dust") </TD>
                      <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="BORE_HOLES" VALUE="-1">
                         Beetle bore holes </TD>
                    </TR>
                  </TABLE></TD>
              </TR>
            </TABLE></TR>
        <TR HEIGHT="30">  </TR>
        <TR>
        <TR>
          <TD WIDTH="20%" VALIGN="top">Tree Location:
            <BR>
            <BR>
            Enter the street address OR the XY location of the tree
            (see example below). <BR>
            <BR>
            Note: All street addresses and emails are kept completely confidential.
          </TD>
          <TD WIDTH="35"> </TD>
          <TD> <BR>
            Street Address (preferred) <BR> <BR>
            Complete Street Address or nearest intersection: <BR>
            <INPUT TYPE="text" NAME="ADDRESS">
              Example: 2011 Francisco St., or Francisco
            St. & Park Ave. <BR> <BR>
            City Name: <BR>
            <INPUT TYPE="text" NAME="CITY">
              Example: Berkeley <BR> <BR>
            Zip Code: <BR>
            <INPUT TYPE="text" NAME="ZIPCODE">
              Example: 94709 <BR> <BR>
            County: <BR>
            <INPUT TYPE="text" NAME="COUNTY">
              Example: Alameda <BR> <BR> <BR>
            XY Coordinates (optional if address is entered above) <BR>
            <BR>
            If entering an XY location, use either State Plan or latitude/longitude
            coordinates. <BR>
            Examples of both types of acceptable projections: <BR> <BR>
            CA STATE PLANE include the zone, and please use Datum = NAD83, and units
            = meters: <BR>
            X coordinate --> 5973541.75 <BR>
            Y coordinate --> 2238728.00 <BR> <BR>
            LATITUDE / LONGITUDE: <BR>
            Latitude --> 38-22-15 <BR>
            Longitude --> -122-30-29 <BR> <BR>
            X Coordinate: <BR>
            <INPUT TYPE="text" NAME="X">
              Example: 5983541.75 (State Plane), or -122-30-29
            (Longitude) <BR> <BR>
            Y Coordinate: <BR>
            <INPUT TYPE="text" NAME="Y">
              Example: 2238728.00 (State Plane), or 38-22-15
            (Latitude) <BR> <BR>
            California State Plane Zone: <BR>
            <INPUT TYPE="text" NAME="ZONE">
              Example: III (for a listing of zones by county,
            go <a href="http://www.pipeline.com/%7Erking/spc.htm#CA" TARGET="_blank">here</a>)
            <BR> <BR> <BR> <BR> <BR>
            Please enter your e-mail for possible follow-up and mailing of submission
            receipt (mailing and e-mail addresses are kept completely confidential):
            <BR>
            E-mail Address: <BR>
            <INPUT TYPE="text" NAME="EMAIL">
              Example: [email protected] </TD>
        </TR>
      </TABLE></TR>
      </TABLE> <TABLE ALIGN="CENTER" BORDER=0 WIDTH="60%">
      <TR>
        <TD ALIGN="CENTER"> Please note that by submitting this information, you agree
          to let us map your site on our Sudden Oak Death distribution map and browser
          as a point within 1 mile of the site. Your address will NOT be released
          and will only be used for general locating the symptomatic tree. </TD>
      </TR>
      <TR HEIGHT="40">  </TR>
      <TR>
        <TD ALIGN="CENTER"><BR>
          <BR>
          Thank you very much for your submittal! </TD>
      </TR>
      <BR>
      <BR>
      <TABLE ALIGN="center" WIDTH="60%" BORDER="0">
        <TR>
          <TD ALIGN="center"> <BR>
            In addition, please contact your county's Cooperative Extension contact
            and/or Agricultural Commissioner's Office to notify them about your symptomatic
            tree. <BR> <BR>
            For contact information, please see the <a href="http://www.cnr.berkeley.edu/comtf/pages/counties.html" target="_blank">County
            Contacts page</a>. <BR> <BR>
        <TR HEIGHT="50">  </TR>
      </TABLE>
      <CENTER>
        <INPUT TYPE="Submit" NAME="SUBMIT" VALUE="Submit Tree">
      </CENTER>
      <BR>
    </FORM></TD></TR>
    <%
    //Creating Database Instanse
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:SuddenOak","","");
    //Creating the Connection Statement
    Statement statement = con.createStatement();
    ResultSet recset = statement.executeQuery("Select * From Treesubmittals where SubmissionID>0");
    if (strEmail !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.EMAIL" + request.getParameter("strEmail"));
    statement.executeUpdate("INSERT INTO Treesubmittal.GEOCODED Pending");
    statement.executeUpdate("INSERT INTO Treesubmittal.DATE_ENTER Date");
    if (strSpecies !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.SPECIES" + request.getParameter("strSpecies"));
    if (strOther_Tree !=""); {
    statement.executeUpdate("INSERT INTO Treesubmittal.OTHER_TREE" + request.getParameter("strOther_Tree"));
    if (strBackground !="") ;{
    statement.executeUpdate("INSERT INTO Treesubmittal.BACKGROUND" + request.getParameter("strBackground"));
    if (strBackgr !=""); {
    statement.executeUpdate("INSERT INTO Treesubmittal.BACKGR" + request.getParameter("strBackgr"));
    if (strSetting !=""); {
    statement.executeUpdate("INSERT INTO Treesubmittal.SETTING" + request.getParameter("strSetting"));
    if (strSettingoth !=""); {
    statement.executeUpdate("INSERT INTO Treesubmittal.SETTINGOTH" + request.getParameter("strSettingoth"));
    if (strDead_Leave !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.DEAD_LEAVE Yes");
    if (strCrown_Disc !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.CROWN_DISC Yes");
    if (strBark_Disco !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.BARK_DISCO Yes");
    if (strBore_Holes !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.BORE_HOLES Yes");
    if (strShoot_Dieb !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.SHOOT_DIEB Yes");
    if (strBleeding !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.BLEEDING Yes");
    if (strHypoxylon !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.HYPOXYLON Yes");
    if (strFrass !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.FRASS Yes");
    if (strAddress !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.ADDRESS" + request.getParameter("strAddress"));
    if (strCity !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.CITY" + request.getParameter("strCity"));
    if (strZipcode !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.ZIPCODE" + request.getParameter("strZipcode"));
    if (strCounty !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.COUNTY" + request.getParameter("strCounty"));
    if (strZone !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.ZONE" + request.getParameter("strZone"));
    if (strY !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.Y" + request.getParameter("strY"));
    if (strX !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.X" + request.getParameter("strX"));
    if (strDead_Leave !="") {
    strDead_Leave1="Yes";
    else{
        strDead_Leave1="No";
    if (strCrown_Disc !="") {
        strCrown_Disc1="Yes";
    else{
    strCrown_Disc1="No";
    if (strBark_Disco !="") {
    strBark_Disco1="Yes";
    else{
    strBark_Disco1="No";
    if (strBore_Holes !="") {
    strBore_Holes1="Yes";
    else{
    strBore_Holes1="No";
    if (strShoot_Dieb !="") {
    strShoot_Dieb1="Yes";
    else{
    strShoot_Dieb1="No";
    if (strBleeding !="") {
    strBleeding1="Yes";
    else{
    strBleeding1="No";
    if (strHypoxylon !="") {
    strHypoxylon1="Yes";
    else{
    strHypoxylon1="No";
    if (strFrass !="") {
    strFrass1="Yes";
    else{
    strFrass1="No";
    %>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <CENTER>
      You are person #<IMG SRC="http://counter.digits.com/wc/-r/-d/4/-c/2/-f/0E351A/-b/F4F4FF/-e/F4F4FF/OakMapper2" ALIGN=absmiddle WIDTH=60 HEIGHT=20 BORDER=0>
      to access the OakMapper Tree Submittal since we began counting on February 15,
      2002. <BR>
      <BR>
      Provided by <A HREF="http://www.digits.com" target="_blank"><IMG SRC="wc-01.gif" ALIGN=absmiddle WIDTH=75 HEIGHT=20 BORDER=0></A>
    </center>
    <BR>
    <BR>
    <CENTER>
      <HR WIDTH="85%">
      <p><a href="http://camfer.cnr.berkeley.edu/oaks/" TARGET="_blank">Oaks
        Research Home</a> | <a href="http://www.suddenoakdeath.org/" TARGET="_blank">California
        Oak Mortality Task Force</a> | <a href="http://camfer.cnr.berkeley.edu/" TARGET="_blank">CAMFER
        Home</a> <br>
        <br>
        <br>
        For questions, comments
        or problems concerning this web site, please contact Karin Tuxen at: <a href="mailto:[email protected]">[email protected]</a>
    </center>
    <%
    document.out("Thank you for submitting to the OakMapper Tree Submittal.  " + "<BR>" + "<BR>");
    document.out("In addition, please contact your county's Cooperative Extension contact and/or Agricultural Commissioner's Office.  " + "<BR>" + "For contact information, please see http://www.cnr.berkeley.edu/comtf/pages/counties.html" + "<BR>" + "<BR>");
    document.out("Below is a summary of your submittal:" +"<BR>" + "Tree species = " + recset.getString("strSpecies") + "<BR>" + "Other tree species = " + recset.getString("strOther_Tree") + "<BR>");
    document.out("Background in arboricultural, forestry or pest management sciences = " + recset.getString("strBackground") + "<BR>" + "Other background, if applicable = " + recset.getString("strBackgr") + "<BR>");
    document.out("Environmental Setting = " + recset.getString("strSetting") + "<BR>" + "Other background, if applicable = " + recset.getString("strSettingoth") + "<BR>" + "Seeping = " + recset.getString("strBleeding") + "<BR>");
    document.out("Bark discoloration = " + recset.getString("strBark_Disco1") + "<BR>" + "Crown discoloration = " + recset.getString("strCrown_Disc1") + "<BR>" + "Numerous brown dead leaves = " + recset.getString("strDead_Leave1") + "<BR>");
    document.out("Shoot die-back = " + recset.getString("strShoot_Dieb1") + "<BR>" + "Fungus - Hypoxylon = " + recset.getString("strHypoxylon1") + "<BR>" + "Beetle frass = " + recset.getString("strFrass1") + "<BR>" + "Beetle bore holes = " + recset.getString("strBore_Holes1")  + "<BR>");
    document.out("Address - this will be kept completely confidential = " + recset.getString("strAddress") + "<BR>" + "City = " + recset.getString("strCity") + "<BR>" + "Zip Code = " + recset.getString("strZipCode") + "<BR>" + "County = " + recset.getString("strCounty") + "<BR>");
    document.out("Zone = " + recset.getString("strZone") + "<BR>" + "X coordinate = " + recset.getString("strX") + "<BR>" + "Y coordinate = " + recset.getString("strY") + "<BR>");
    //I am little unsure how to update the CDONTS.NewMail
    //Set objNewReceipt = Server.CreateObject("CDONTS.NewMail")
    //objNewReceipt.From = "[email protected]"
    //objNewReceipt.To = strEMAIL
    //objNewReceipt.Bcc = "[email protected]"
    //objNewReceipt.Subject = "Thank you for submitting to the OakMapper!"
    //objNewReceipt.Body = strBody
    //objNewReceipt.Send
    //Response.Redirect "result.htm"
    <jsp:forward page="result.htm">
    %>
    </body>
    </html>

    In an effort to resolve this I have seperated out my Html and my jsp into seperate files. Then, I opened the HTML and selected certain fields from my form and when I try to submit I receive the following error:
    javax.servlet.ServletException: General error
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
         at org.apache.jsp.test$jsp._jspService(test$jsp.java:181)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:484)
    root cause
    java.sql.SQLException: General error
         at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6060)
         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188)
         at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:2458)
         at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:320)
         at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:163)
         at java.sql.DriverManager.getConnection(DriverManager.java:517)
         at java.sql.DriverManager.getConnection(DriverManager.java:177)
         at org.apache.jsp.test$jsp._jspService(test$jsp.java:71)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:484)
    Here are my files:
    <HTML>
    <HEAD>
    <TITLE>OakMapper Tree Submittal</TITLE>
    </HEAD>
    <BODY BGCOLOR="BBE4C6" TEXT="0E351A">
    <TABLE COL="3" WIDTH="100%" BORDER=0 CELLSPACING="0" CELLPADDING="0" NOWRAP>
      <TR>
        <TD WIDTH="130"> <A HREF="http://oakmapper.espm.berkeley.edu/" TARGET="_blank">
          <IMG SRC="images/logo.gif" WIDTH="130" HEIGHT="130" BORDER=0></A> </TD>
        <TD ALIGN="CENTER"> <IMG SRC="images/title_submittal.gif" BORDER=0> </TD>
        <TD WIDTH="198"> <TABLE BORDER=0>
            <TR>
              <TD> <A HREF="http://www.suddenoakdeath.org/" TARGET="_blank"> <IMG SRC="images/oaklogo_green.gif" WIDTH="198" HEIGHT="72" BORDER=0></A>
              </TD>
            </TR>
            <TR>
              <TD>   <A HREF="http://camfer.cnr.berkeley.edu/" TARGET="_blank">
                <IMG SRC="images/aboutcamfer.jpg" WIDTH="152" HEIGHT="65" BORDER=0></A>
              </TD>
            </TR>
          </TABLE></TD>
      </TR>
    </TABLE>
    <TABLE CELLPADDING=5 BORDER=0>
      <TR HEIGHT="50">  </TR>
      <TR>
        <TD WIDTH="100%"> The University of California's
          Center for the Assessment and Monitoring of Forest and Environmental Resources
          (<A HREF="http://camfer.cnr.berkeley.edu/" TARGET="_blank">CAMFER</A>),
          along with the California Oak Mortality Task Force (<A HREF="http://www.suddenoakdeath.org/" TARGET="_blank">COMTF</A>),
          has developed the OakMapper Tree Submittal as a tool to assist in the monitoring
          of Sudden Oak Death (SOD) in California. <BR>
          <BR>
          It is part of a large effort to document the distribution of Sudden Oak
          Death. Please note, however, that trees submitted to this website represent
          symptoms of and potential distribution of SOD, and should
          not be assumed to be laboratory confirmations of SOD. <BR>
          <BR>
          In addition to submitting to the Tree Submittal, please contact your county's
          Cooperative Extension contact and/or Agricultural Commissioner's Office
                to notify them about your symptomatic tree. For contact information, please
          see the <a href="http://www.cnr.berkeley.edu/comtf/pages/counties.html" target="_blank">County
          Contacts page</a>. <BR>
          <BR>
          For a printer-friendly PDF version of this form to print out to take with
          you to record symptoms, please download the <a href="OakMapper Tree Submittal.pdf" TARGET="_blank">OakMapper
          Tree Submittal</a>  </TD>
      </TR>
    </TABLE>
    <FORM method=post  ACTION=test.jsp ><FONT FACE="Arial" SIZE="-1">
      <TABLE CELLPADDING=4 BORDER=0>
        <TR>
          <TD WIDTH="20%" VALIGN="top">Tree<BR>
            Identification: <BR>
            <BR>
            Enter information for a single specimen. Select the tree
            that most closely resembles the affected tree.<BR>
            <BR>
            Note: Click on photo to view the <a href="http://elib.cs.berkeley.edu/calflora/" TARGET="_blank">CalFlora</a>
            ID Key. For species other than those shown on the right, enter in the
            text box below. <BR>
            <BR>
            Other Species: <BR>
            <INPUT TYPE="text" NAME="OTHER_TREE"> </TD>
          <TD WIDTH="35"> </TD>
          <TD> <TABLE CELLPADDING=4 BORDER=0>
              <TR>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="http://elib.cs.berkeley.edu/cgi/img_query?where-taxon=Quercus+agrifolia" TARGET="_blank">
                  <IMG SRC="images/coastliveoak.jpg" BORDER=0 height=134 width=168></a>     
                </TD>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="http://elib.cs.berkeley.edu/cgi/img_query?where-taxon=Lithocarpus+densiflorus&special=calflora&where-anno=1" TARGET="_blank">
                  <IMG SRC="images/tanoak.jpg" BORDER=0 height=134 width=168></a>
                </TD>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="http://elib.cs.berkeley.edu/cgi/img_query?where-taxon=Quercus+kelloggii&special=calflora&where-anno=1" TARGET="_blank">
                  <IMG SRC="images/blackoak.jpg" BORDER=0 height=134 width=168></a>
                </TD>
              </TR>
              <TR>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="radio" NAME="SPECIES" VALUE="Coast Live Oak">
                   Coast Live Oak </TD>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="radio" NAME="SPECIES" VALUE="Tanoak">
                   Tanoak </TD>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="radio" NAME="SPECIES" VALUE="Black Oak">
                   Black Oak </TD>
              </TR>
            </TABLE></TD>
        </TR>
        <TR HEIGHT="30">  </TR>
        <TR>
          <TD WIDTH="20%" VALIGN="top">Personal<BR>
            Information: <BR>
            <BR>
            Please select the option below which best describes your
            background in arboricultural, forestry or pest management sciences.
          </TD>
          <TD WIDTH="35"> </TD>
          <TD> <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="None">
             None <BR>
            <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Limited">
             Limited <BR>
            <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Hobbiest">
             Hobbiest <BR>
            <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Academic">
             Academic but not professional <BR>
            <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Professional">
             Professional <BR>
            <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Other">
             Other <BR>
            <INPUT TYPE="text" NAME="BACKGR"> </TD>
        </TR>
        <TR HEIGHT="30">  </TR>
        <TR>
        <TR>
          <TD WIDTH="20%" VALIGN="top">Environmental<BR>
            Setting: <BR>
            <BR>
            Please select a description which most closely matches
            the environmental setting of the specimen. </TD>
          <TD WIDTH="35"> </TD>
          <TD> <INPUT TYPE="radio" NAME="SETTING" VALUE="None">
             Residential area - landscaped<BR>
                  (scattered shade trees,
            watered lawn, or garden) <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Residential">
             Residential area - natural setting<BR>
                  (not watered or landscaped,
            native or naturalized plants) <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Street trees">
             Street trees <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Natural">
             Natural setting right of way trees<BR>
                  (not watered or landscaped,
            native or naturalized plants) <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Landscaped park">
             Landscaped park setting<BR>
                  (scattered shade trees,
            watered lawn, or garden) <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Natural oak woodland">
             Natural oak woodland setting<BR>
                  (Live Oak, Valley
            Oak, Bay, Black Oak) <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Natural forest">
             Natural forest setting<BR>
                  (e.g., Redwood, Douglas-fir,
            or Tanoak composition) <BR>
            <INPUT TYPE="radio" NAME="SETTING" VALUE="Other">
             Other/Additional<BR>
                  (please provide brief
            description below): <BR>
            <INPUT TYPE="text" NAME="SETTINGOTH"> </TD>
        </TR>
        <TR HEIGHT="30">  </TR>
        <TR>
          <TD WIDTH="20%" VALIGN="top">Symptoms:
            <BR>
            <BR>
            These images illustrate the symptoms that are typically
            caused by the pathogen affecting the oak and tanoak trees. Please compare
            these images carefully with symptoms you have observed, then check the
            corresponding check boxes below to provide descriptive information on
            the specimen. <BR>
            <BR>
            Note: Click on the thumbnails to view larger version of Photo and
            written description. </TD>
          <TD WIDTH="35"> </TD>
            <TD> <TABLE CELLPADDING=4 BORDER=0>
              <TR>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="C:\Tomcat4\webapps\examples\jsp\symptoms\seeping.htm" BORDER=0 TARGET="_blank">
                  <IMG SRC="images/seeping.jpg" BORDER=0 height=147 width=140></a>
                </TD>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="C:\Tomcat4\webapps\examples\jsp\symptoms\barkdiscoloration.htm" BORDER=0 TARGET="_blank">
                  <IMG SRC="images/bleeding.jpg" BORDER=0 height=147 width=140></a>
                </TD>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="C:\Tomcat4\webapps\examples\jsp\symptoms\crowndiscoloration.htm" BORDER=0 TARGET="_blank">
                  <IMG SRC="images/crowndiscoloration.jpg" BORDER=0 height=147 width=140></a>
                </TD>
              </TR>
              <TR>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="BLEEDING" VALUE="-1">
                   Seeping </TD>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="BARK_DISCO" VALUE="-1">
                   Bark discoloration </TD>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="CROWN_DISC" VALUE="-1">
                   Crown discoloration (except deciduous) </TD>
              </TR>
              <TR> </TR>
              <TR>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="C:\Tomcat4\webapps\examples\jsp\symptoms\deadleaves.htm" TARGET="_blank">
                  <IMG SRC="images/deadleaves.jpg" BORDER=0 height=147 width=140></a>
                </TD>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="C:\Tomcat4\webapps\examples\jsp\symptoms\shootdieback.htm" BORDER=0 TARGET="_blank">
                  <IMG SRC="images/shootdieback.jpg" BORDER=0 height=147 width=140></a>
                </TD>
                <TD ALIGN="center" VALIGN="middle"> <A HREF="C:\Tomcat4\webapps\examples\jsp\symptoms\hypoxylon.htm" BORDER=0 TARGET="_blank">
                  <IMG SRC="images/hypoxylon.jpg" BORDER=0 height=147 width=140></a>
                </TD>
              </TR>
              <TR>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="DEAD_LEAVE" VALUE="-1">
                   Numerous brown<BR>
                  (dead) leaves </TD>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="SHOOT_DIEB" VALUE="-1">
                   Shoot die-back </TD>
                <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="HYPOXYLON" VALUE="-1">
                   Fungus (Hypoxylon) </TD>
              </TR>
              <TR> </TR>
              <TR>
                <TD ALIGN="center" COLSPAN="3"> <TABLE CELLPADDING=7 BORDER=0>
                    <TR>
                      <TD ALIGN="center" VALIGN="middle"> <A HREF="C:\Tomcat4\webapps\examples\jsp\symptoms\frass.htm" TARGET="_blank">
                        <IMG SRC="images/frass.jpg" BORDER=0 height=147 width=140></a>
                      </TD>
                      <TD ALIGN="center" VALIGN="middle"> <A HREF="C:\Tomcat4\webapps\examples\jsp\symptoms\boreholes.htm" TARGET="_blank">
                        <IMG SRC="images/boreholes.jpg" BORDER=0 height=147 width=140></a>
                      </TD>
                    </TR>
                    <TR>
                      <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="FRASS" VALUE="-1">
                         Beetle frass<BR>
                        ("saw dust") </TD>
                      <TD ALIGN="center" VALIGN="top"> <INPUT TYPE="checkbox" NAME="BORE_HOLES" VALUE="-1">
                         Beetle bore holes </TD>
                    </TR>
                  </TABLE></TD>
              </TR>
            </TABLE></TR>
          </TD>
        <TR HEIGHT="30">  </TR>
        <TR>
        <TR>
          <TD WIDTH="20%" VALIGN="top">Tree Location:
            <BR>
            <BR>
            Enter the street address OR the XY location of the tree
            (see example below). <BR>
            <BR>
            Note: All street addresses and emails are kept completely confidential.
          </TD>
          <TD WIDTH="35"> </TD>
          <TD> <BR>
            Street Address (preferred) <BR> <BR>
            Complete Street Address or nearest intersection: <BR>
            <INPUT TYPE="text" NAME="ADDRESS">
              Example: 2011 Francisco St., or Francisco
            St. & Park Ave. <BR> <BR>
            City Name: <BR>
            <INPUT TYPE="text" NAME="CITY">
              Example: Berkeley <BR> <BR>
            Zip Code: <BR>
            <INPUT TYPE="text" NAME="ZIPCODE">
              Example: 94709 <BR> <BR>
            County: <BR>
            <INPUT TYPE="text" NAME="COUNTY">
              Example: Alameda <BR> <BR> <BR>
            XY Coordinates (optional if address is entered above) <BR>
            <BR>
            If entering an XY location, use either State Plan or latitude/longitude
            coordinates. <BR>
            Examples of both types of acceptable projections: <BR> <BR>
            CA STATE PLANE include the zone, and please use Datum = NAD83, and units
            = meters: <BR>
            X coordinate --> 5973541.75 <BR>
            Y coordinate --> 2238728.00 <BR> <BR>
            LATITUDE / LONGITUDE: <BR>
            Latitude --> 38-22-15 <BR>
            Longitude --> -122-30-29 <BR> <BR>
            X Coordinate: <BR>
            <INPUT TYPE="text" NAME="X">
              Example: 5983541.75 (State Plane), or -122-30-29
            (Longitude) <BR> <BR>
            Y Coordinate: <BR>
            <INPUT TYPE="text" NAME="Y">
              Example: 2238728.00 (State Plane), or 38-22-15
            (Latitude) <BR> <BR>
            California State Plane Zone: <BR>
            <INPUT TYPE="text" NAME="ZONE">
              Example: III (for a listing of zones by county,
            go <a href="http://www.pipeline.com/%7Erking/spc.htm#CA" TARGET="_blank">here</a>)
            <BR> <BR> <BR> <BR> <BR>
            Please enter your e-mail for possible follow-up and mailing of submission
            receipt (mailing and e-mail addresses are kept completely confidential):
            <BR>
            E-mail Address: <BR>
            <INPUT TYPE="text" NAME="EMAIL">
              Example: [email protected] </TD>
        </TR>
      </TABLE></TR>
      </TABLE> <TABLE ALIGN="CENTER" BORDER=0 WIDTH="60%">
      <TR>
        <TD ALIGN="CENTER"> Please note that by submitting this information, you agree
          to let us map your site on our Sudden Oak Death distribution map and browser
          as a point within 1 mile of the site. Your address will NOT be released
          and will only be used for general locating the symptomatic tree. </TD>
      </TR>
      <TR HEIGHT="40">  </TR>
      <TR>
        <TD ALIGN="CENTER"><BR>
          <BR>
          Thank you very much for your submittal! </TD>
      </TR>
      <BR>
      <BR>
      <TABLE ALIGN="center" WIDTH="60%" BORDER="0">
        <TR>
          <TD ALIGN="center"> <BR>
            In addition, please contact your county's Cooperative Extension contact
            and/or Agricultural Commissioner's Office to notify them about your symptomatic
            tree. <BR> <BR>
            For contact information, please see the <a href="http://www.cnr.berkeley.edu/comtf/pages/counties.html" target="_blank">County
            Contacts page</a>. <BR> <BR>
        <TR HEIGHT="50">  </TR>
      </TABLE>
      <CENTER>
        <INPUT TYPE="Submit" NAME="SUBMIT" VALUE="Submit Tree">
      </CENTER>
      <BR>
    </FORM></TD></TR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <CENTER>
      You are person #<IMG SRC="http://counter.digits.com/wc/-r/-d/4/-c/2/-f/0E351A/-b/F4F4FF/-e/F4F4FF/OakMapper2" ALIGN=absmiddle WIDTH=60 HEIGHT=20 BORDER=0>
      to access the OakMapper Tree Submittal since we began counting on February 15,
      2002. <BR>
      <BR>
      Provided by <A HREF="http://www.digits.com" target="_blank"><IMG SRC="wc-01.gif" ALIGN=absmiddle WIDTH=75 HEIGHT=20 BORDER=0></A>
    </center>
    <BR>
    <BR>
    <CENTER>
      <HR WIDTH="85%">
      <p><a href="http://camfer.cnr.berkeley.edu/oaks/" TARGET="_blank">Oaks
        Research Home</a> | <a href="http://www.suddenoakdeath.org/" TARGET="_blank">California
        Oak Mortality Task Force</a> | <a href="http://camfer.cnr.berkeley.edu/" TARGET="_blank">CAMFER
        Home</a> <br>
        <br>
        <br>
        For questions, comments
        or problems concerning this web site, please contact Karin Tuxen at: <a href="mailto:[email protected]">[email protected]</a>
    </center>
    </body>
    </html>This is the code for the jsp:
    <HTML>
    <HEAD>
    <TITLE>OakMapper Tree Submittal</TITLE>
    </HEAD>
    <BODY BGCOLOR="BBE4C6" TEXT="0E351A">
    <%@ page language="java" %>
    <!--Importing the Packages-->
    <%@ page import = "java.sql.*" %>
    <%
    //Creating Database Instanse
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:SuddenOak","","");
    //Creating the Connection Statement
    Statement statement = con.createStatement();
    ResultSet recset = statement.executeQuery("Select * From Treesubmittals where SubmissionID>0");
    if ((request.getParameter("EMAIL")!= null) && (! request.getParameter("EMAIL").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.EMAIL" + request.getParameter("EMAIL"));
    statement.executeUpdate("INSERT INTO Treesubmittals.GEOCODED Pending");
    statement.executeUpdate("INSERT INTO Treesubmittals.DATE_ENTER Date");
    if ((request.getParameter("SPECIES")!= null) && (! request.getParameter("SPECIES").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.SPECIES" + request.getParameter("SPECIES"));
    if ((request.getParameter("OTHER_TREE")!= null) && (! request.getParameter("OTHER_TREE").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.OTHER_TREE" + request.getParameter("OTHER_TREE"));
    if ((request.getParameter("BACKGROUND")!= null) && (! request.getParameter("BACKGROUND").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.BACKGROUND" + request.getParameter("BACKGROUND"));
    if ((request.getParameter("BACKGR")!= null) && (! request.getParameter("BACKGR").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.BACKGR" + request.getParameter("BACKGR"));
    if ((request.getParameter("SETTING")!= null) && (! request.getParameter("SETTING").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.SETTING" + request.getParameter("SETTING"));
    if ((request.getParameter("SETTINGOTH")!= null) && (! request.getParameter("SETTINGOTH").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.SETTINGOTH" + request.getParameter("SETTINGOTH"));
    if ((request.getParameter("DEAD_LEAVE")!= null) && (! request.getParameter("DEAD_LEAVE").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.DEAD_LEAVE" + request.getParameter("DEAD_LEAVE"));
    if ((request.getParameter("CROWN_DISC")!= null) && (! request.getParameter("CROWN_DISC").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.CROWN_DISC" + request.getParameter("CROWN_DISC"));
    if ((request.getParameter("BARK_DISCO")!= null) && (! request.getParameter("BARK_DISCO").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.BARK_DISCO" + request.getParameter("BARK_DISCO"));
    if ((request.getParameter("BORE_HOLES")!= null) && (! request.getParameter("BORE_HOLES").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.BORE_HOLES" + request.getParameter("BORE_HOLES"));
    if ((request.getParameter("SHOOT_DIEB")!= null) && (! request.getParameter("SHOOT_DIEB").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.SHOOT_DIEB" + request.getParameter("SHOOT_DIEB"));
    if ((request.getParameter("BLEEDING")!= null) && (! request.getParameter("BLEEDING").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.BLEEDING" + request.getParameter("BLEEDING"));
    if ((request.getParameter("HYPOXYLON")!= null) && (! request.getParameter("HYPOXYLON").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.HYPOXYLON" + request.getParameter("HYPOXYLON"));
    if ((request.getParameter("FRASS")!= null) && (! request.getParameter("FRASS").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.FRASS" + request.getParameter("FRASS"));
    if ((request.getParameter("ADDRESS")!= null) && (! request.getParameter("ADDRESS").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.ADDRESS" + request.getParameter("ADDRESS"));
    if ((request.getParameter("CITY")!= null) && (! request.getParameter("CITY").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.CITY" + request.getParameter("CITY"));
    if ((request.getParameter("ZIPCODE")!= null) && (! request.getParameter("ZIPCODE").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.ZIPCODE" + request.getParameter("ZIPCODE"));
    if ((request.getParameter("COUNTY")!= null) && (! request.getParameter("COUNTY").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.COUNTY" + request.getParameter("COUNTY"));
    if ((request.getParameter("ZONE")!= null) && (! request.getParameter("ZONE").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.ZONE" + request.getParameter("ZONE"));
    if ((request.getParameter("Y")!= null) && (! request.getParameter("Y").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.Y" + request.getParameter("Y"));
    if ((request.getParameter("X")!= null) && (! request.getParameter("X").equals(""))){
            statement.executeUpdate("INSERT INTO Treesubmittals.X" + request.getParameter("X"));
    %>
    //<li> "Thank you for submitting to the OakMapper Tree Submittal.  " + "<BR>" + "<BR>" ;
    //<li> "In addition, please contact your county's Cooperative Extension contact and/or Agricultural Commissioner's Office.  " + "<BR>" + "For contact information, please see http://www.cnr.berkeley.edu/comtf/pages/counties.html" + "<BR>" + "<BR>";
    //<li> "Below is a summary of your submittal:" +"<BR>" + "Tree species = " + recset.getString("SPECIES") + "<BR>" + "Other tree species = " + recset.getString("strOther_Tree") + "<BR>";
    //<li> "Background in arboricultural, forestry or pest management sciences = " + recset.getString("BACKGROUND") + "<BR>" + "Other background, if applicable = " + recset.getString("BACKGR") + "<BR>";
    //<li> "Environmental Setting = " + recset.getString("SETTING") + "<BR>" + "Other background, if applicable = " + recset.getString("SETTINGOTH") + "<BR>" + "Seeping = " + recset.getString("BLEEDING") + "<BR>";
    //<li> "Bark discoloration = " + recset.getString("BARK_DISCO1") + "<BR>" + "Crown discoloration = " + recset.getString("CROWN_DISC1") + "<BR>" + "Numerous brown dead leaves = " + recset.getString("DEAD_LEAVE1") + "<BR>";
    //<li> "Shoot die-back = " + recset.getString("SHOOT_DIEB1") + "<BR>" + "Fungus - Hypoxylon = " + recset.getString("strHypoxylon1") + "<BR>" + "Beetle frass = " + recset.getString("FRASS1") + "<BR>" + "Beetle bore holes = " + recset.getString("BORE_HOLES1")  + "<BR>";
    //<li> "Address - this will be kept completely confidential = " + recset.getString("ADDRESS") + "<BR>" + "City = " + recset.getString("strCity") + "<BR>" + "Zip Code = " + recset.getString("ZIPCODE") + "<BR>" + "County = " + recset.getString("COUNTY") + "<BR>";
    //<li> "Zone =                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

  • Save Exceptions Memory Issue

    I'm currently using a bulk collect (limit = 100) and a forall insert to load roughly 6.2 million records into a table. If I leave the "Save Exceptions" clause out of the procedure, all 6.2 million records are loaded without an error. THe amount of memory used never exceeds 40MB. If I include the "Save Exceptions" clause and put in the code to record any errors encountered, the memory jumps to over 200MB and the procedure is exceedingly slow. Also, I put a debugging statement after each forall insert to validate that the SQL%BULK_EXCEPTIONS.COUNT = 0 for each iteration. The procedure still completes with no errors, but the memory utilized is still way too high.
    Has anyone run into this before? Is there an environmental setting that needs to be set to use "Save Exceptions" with many rows of data?
    We are currently running 9.2.0.3.0.
    Thanks,
    Scott

    Hello.
    Thank you for your answers. Let me react:
    re 1. - this is the last possible solution which I don't want to take unless it is clear that the upgrade will fix the problem
    re 2. APPEND - just trying to improve the insert, I am not sure if this bit works, however it does not affect the memory problem
    re 3. in accordance with my understanding the LIMIT clause will not help. The amount of data we process in one step is not huge - not more then 10 000 records.
    re 4. we are already doing it, I was just interested whether someone has already seen this problem or not.
    So far I have not found any solutions...

Maybe you are looking for

  • Anybody else having Arch mail being marked as spam?

    i dont know who to tell this to - but i just received an email subject "AUR Comment for hydra" and it went into gmail's spam folder. Not only that, it gives me a warning, "Warning: This message may not be from whom it claims to be. Beware of followin

  • Adobe Illustrator CS 5 V15.1.0 Crashing after Mavericks Installation

    I have a co-worker who is on a 27inch iMac Mid - 2011 running OSX Version 10.9.1 who's using Adobe Illustrator CS5 to design various spreads for a local magazine. After installing Mavericks her Illustrator program crashes randomly, most of the time i

  • HT5299 can two computer monitors plug into the mac?

    Is there a way to plug in two regular pc based monitors to the mini mac? I am looking for adaptors or something to plug in two monitors.  I currently have one monitor and I used the DVI adaptor to connect it to the thunderbolt plug in thingie.  Thank

  • Downloading songs from iPOD to new computer

    OK, seems like a common problem, yet all the FAQs and questions don't seem to get me where I need to go. My first authorized computer is fritzed, can't access itunes, so I loaded new version of itunes onto my new computer and want to download all of

  • EXCISE REGISTER NEW FORMAT

    Hi, All Excise register printout we getting as per old format. Most of the data are not appearing. is there any notes available to get the new format