Are servlets like cgi scripts?

hi all,
are servlets like cgi scripts?
or
they should be embedded within the html file,
thank you very much
:)

Yes, Servlets are very similar to CGI scripts -- they both run on the server and grab input from the HTTP GET or POST request, then send generated HTML back to the client browser.
Often Servlets are described as being superior to CGI scripts because each time a CGI script is run a new process must be created. However, you can run Perl CGI scripts without starting a new process (using mod_perl, for example), and therefore that claim is unfounded.

Similar Messages

  • Servlet engine invoked FROM CGI script?

    Yes this is a backwards request, but I need a simple servlet engine that can be invoked through a CGI script. I perfectly realize the problems associated with this like session management, benefits in threading, etc not to mention the overhead of JVM startup on each request...
    Anything with which anyone's familiar? Searching returns (of course) how to invoke CGI from Servlet containers which is obviously not what I need.
    Thanks!

    Hi Michael,
    I am running 7.0 on Win NT while its the same case its displaying the whole content
    as it is setted the weblogic.servlet.CGIServlet in the web.xml file and providing
    the compiler for perl also .
    Looking for a quick reply
    Thanks
    Shivani
    Michael Young <[email protected]> wrote:
    Hi.
    What platform/OS version are you running WLS on?
    Thanks,
    Michael
    Suren Jain wrote:
    Hi,
    We are having problems invoking cgi scripts from the browser.
    When we try to access it, it is not executed, instead the script is displayed
    in the browser.
    We are using weblogic 5.1 and sp9.
    In the properties file we have specified
    weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
    weblogic.httpd.initArgs.cgi-bin=\
    cgiDir=/opt/equitydev/geo/cgi-bin,\
    *.pl=/usr/local/bin/perl5,\
    *.sh=/bin/ksh
    Appreciate your help.
    Thanks
    Suren.--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Servlet with CGI

    hello,
    We have an applet that execute a cgi program and now we want to replace that applet with a servlet executing the same cgi.
    Does anyone know how i can execute my CGI bin with a servlet or javabean?
    Thanks and good luck
    minhqt

    hi,
    Maybe i didn't explain myself clearly, i would like to know how i can use java urlconnection class to connect my java servlet to cgi. What i'm trying to do is create a jsp page that include a servlet and this servlet pass selected parameters from my jsp page to my existing cgi code.
    so the question here is 1)how do i send these parameters to my cgi and 2) how can i receive cgi output to later on display using jsp.
    While doing these what are some errors handling code do i need to know.
    Thanks
    minhqt

  • LMS 3.2 Apache 403 Error on CGI Scripts

    I've been chasing my tail for a couple of days now, and see no other option than to ask here.  It's probably something reall
    y dumb that I'm just not seeing.
    On a Windows 2008 server with SP1 LMS 3.2 is running fine (as long as no one uses stupid scripts ;o)) on a good day, but whenever I try to access any of the cgi scripts installed under Program Files/CSCOpx/cgi-bin it get the dreaded "You don't have permission to access /cgi-bin/dbadmin/pdbadmin/nph-dbreader.pl on this server".  The httpd.conf section for the CGI handling is as follows:
    ScriptAlias /cgi-bin/ "D:/PROGRA~2/CSCOpx/cgi-bin/"
    <Directory "D:/PROGRA~2/CSCOpx/cgi-bin">
    AllowOverride None
    Options +ExecCGI
    AddHandler cgi-script .pl
    #ScriptInterpreterSource Registry-Strict
    ScriptInterpreterSource Script
    </Directory>
    LoadModule perl_module modules/mod_perl.so
    What I would like to know is what have I missed..?  You can see my first attempt by replacing the ScriptInterpreterSource from Registry-Script to the default, Script, to no avail...
    Also, if I make any modifications to the httpd.conf file I cannot just restart the Apache daemon, I have to stop and start the daemon manager, otherwise no one can access the web login page: is that normal..?  As in the following:
    The Apache daemon is restarted:
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Child process is running
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Acquired the start mutex.
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Starting 500 worker threads.
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Starting thread to listen on port 1741.
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Starting thread to listen on port 443.
    Lots of the following messages appear in the error.log file:
    [Fri Dec 11 15:14:38 2009] [error] [client 10.185.64.101] client denied by server configuration: com.cisco.nm.cmf.servlet.LwmsMainServlet
    [Fri Dec 11 15:14:38 2009] [error] [client 10.185.64.101] client denied by server configuration: D:/Program Files/CSCOpx/cgi-bin/error/403.pl
    Any help would be most appreciated...
    Regards,
    Sean

    I have no expirience with the W2008 OS yet.
    I get the impression it does things differently.
    If you know the casuser password, I asume you can try to log onto the server and try an run the perl script in a dos box.
    Maybe it will provide a clue.
    if you don't know the casuser password you can set it using CSCOpx\bin\resetpasswd.exe.
    Cheers,
    Michel

  • Any Suggestions for CGI Script for Web Slide Slow?

    Do you have any suggestions for creating a slideshow for my web site, 6 same-size jpgs that rotate automatically?
    I think I prefer a cgi script. However, I've tried two that don't work on Firefox or Safari. One developer tells me that he can see the rotating photos.
    I'm also open to software to create this. However, I'd prefer to use html code.
    Of course, it must work cross platform.
    Any suggestions?
    G5 Quad; Mini Mac; PowerBook G3; iPods   Mac OS X (10.4.8)   Using Dreamweaver 8

    Oh, what a beautiful baby! Is he/she yours?
    She is mine. At least that's what the Mrs. tells me!
    When you say gif, I am assuming that you mean the
    format really must be gif and not jpg. Is that
    correct?
    Yes, the file is a GIF file. It's actually an animated GIF file, meaning that the images that you see are all frames of animation in a single GIF file. There are a lot of apps out there that can create animated GIFs. I happen to use Adobe ImageReady because that is what is on the hard drive.
    Can you give me a hint about the dithering issue? Do
    I dither or not dither, that is the question.
    This is the major downside of the GIF format. It is a really old format...from back in the CompuServe bulletin board days...maybe older. Anyways, it is my understanding that GIFs can only hold information for 256 colors....any 256 colors, but no more and no less. So now in the days of "millions of colors" jpegs, you can imagine that a 256 color palette is limiting. But if the colors of your images are sufficiently close, its possible that 256 colors makes for perfectly acceptable images across all images. This is the one variable of converting images to GIF that can make it or break it for you. If your image has a pretty broad tonal range...like fleshtones or any other gradient...then 256 colors is going to represent things poorly. Then you will get dithering artifacts which is like averaging errors...colors are close...as close as possible...but not close enough to make a smooth gradation. Anyways, that's my layperson's understanding.
    But for some images, it looks just fine.

  • "cannot execute CGI script " error

    Greetings.
    I am trying to setup a Sun One version 6.1 server. When I try to run a simple cgi script, with a .pl suffix, I get:
    "cannot execute CGI script "
    Is there anything in particular I should look for in resolving hte problem ?
    Thanks.
    alan

    One thing I'd like to mention is this document:
    Document ID: 75347
    Title: Sun[TM] ONE WebServer 6 - cannot execute CGI script - Permission denied
    which states:
    case 2: The value for the chroot is NOT set and NO rights are granted
    for cgi's to execute anywhere.
    <PROPERTY name="chroot" value=""/>
    Note that the value of "value=" above will differ from your setup but that
    the location of the line within the server.xml file should be easily
    identifiable by the formatting described above.
    To quickly identify a fix, grant permissions from the root level by
    modifying the line to look thus:
    <PROPERTY name="chroot" value=""/>
    The problem and fix look to be the same. Any idea what the fix should look like ?
    Thanks.
    alan

  • LoadVariablesNum on button to access cgi script mail form

    Greetings: I've used this method many times in the past to create an email form in a movie clip with a "send button" that accesses a perl, cgi script to email text input fields. It worked fine in past versions of Flash, but now I'm using Flash CS3 (v9.0, AS 2.0). I've tried 3 different cgi scripts I found online for this purpose and am sure the configurations for sendmail server & perl bins, etc are correct. All of the other "if" and "else" statements on the button work fine. But I can see a Safari (browser) error message saying POST was not used, but clearly it is. I'm trying to trouble shoot whether the problem is from the flash button or the cgi script.
    Has something changed in Flash CS3 from previous versions, where I'm certain it has worked before???
    Here is my button code:
    on (release) {
    //Make sure the user filled in all the required fields.
    if (name1 ne "" and name2 ne "" and subject ne "" and email ne "") {
    //Check to make sure the email address includes and @.
    i = "0";
    validmail = 0;
    while (Number(i)<=Number(length(email))) {
    if (substring(email, i, 1) eq "@") {
    validmail = 1;
    i = Number(i)+1;
    //If there's no @ in the email go to the error page.
    if (Number(validmail) == 0) {
    gotoAndStop("error");
    } else {
    //The line below assumes the script is in the same directory as the HTML page.
    loadVariablesNum("http://www.companyname.com/cgi-bin/FormMail.pl", 0, "POST");
    //Go to the confirmation frame.
    gotoAndStop("thankyou");
    } else {
    //if the user left required fields blank, show them an error message.
    gotoAndStop("error");
    Here is the error message I can access on Safari>window>activity:
    "The HTML form fails to specify the POST method, so it would not be correct for this script to take any action in response to your request.
    If you are attempting to configure this form to run with FormMail, you need to set the request method to POST in the opening form tag, like this: <form action="/cgi-bin/FormMail.pl" method="post">
    Why isn't the command from the button in the Flash swf file, being recognized by the html page?
    Thanks in advance for any help.
    Janis

    in version 6, case didn't count. after version 6, it counts.
    so, gotoandPlay(3), used to work but, not now.  you need to use gotoAndPlay(3).
    also, undefined numeric variables were assigned a default value of 0 with flash 6 and prior.  not now, they're undefined.  so, watch for code like
    while(var1<1){
    do something
    var1++;
    where var1 is never initialized.
    about policy files:  check the security class'es loadPolicyFile() method.

  • Formmail action & cgi scripts

    I have 2 forms I built in CS3 that have to be processed in a
    secure manner. I followed the advice I found online and from my
    webhost (network solutions) and downloaded Visual Form Mail Pro. I
    uploaded the cgi script files to the cgi-bin on the server and
    setup the permissions. When I click the submit button on the form,
    I get an Internal Server Error message. I think the problem is the
    action field on the properties panel. I cannot find anything that
    will tell me what the action should be. I cannot use the mailto
    action, the forms are for secure medical information to be
    forwarded to a dr's office. One other issue with how the form needs
    to be processed to email, is my client wants the email sent to his
    gmail account, how do I configure that?
    the url for the form I tried to configure is
    https://www.stluciegi.com/contact/patientcontact.html

    ou can use PHP on this hosting?
    I'd suggest using the phpformmail script.
    here's my stock cut 'n paste on what to set to what, and why
    1)go to
    http://http://developerkarma.com/projects
    -->phpformmail
    download it.
    extract the ZIP file.
    More detailed instructions are in the docs folder. These
    shortcut
    instructions are for version 1.07 of the phpformmail script.
    2) open formmail.php in dreamweaver
    Make the following changes (in code view, turn line numbers
    on)
    2a)
    line 4,
    define('CHECK_REFERER', true);
    change to:
    define('CHECK_REFERER', false);
    reason: too many people use a firewall or Norton security to
    restrict this.
    2b)
    Line 43
    $referers = array('www.example.com', 'example.com');
    change to the domain name of your web site.
    reason: this probably isn't needed since we just turned the
    referrer
    checking off. but change it anyway.
    2c)  *this is to hard-code the recipient address into
    the php
    file, where it is totally invisible *
    Line 46
    $recipient_array = array();
    change to:
    $recipient_array = array('me' =>
    '[email protected]');
    **of course, replace [email protected]  with
    the email address
    you want to receive the form data. Also note the single quote
    marks.
    reason: this sets the email address the form results will be
    sent to.
    You can also make a list of possible recipient alias values-
    see the readme
    in the docs folder.
    2d) give the script a default "From" address to use.
    Go to line 41
    Change:
    define('FROM', null);
    to:
    define('FROM', 'Example Name <[email protected]>');
    substituting your name and email address.
    3) now do a File-->Save As and save this file to within
    this Local Site
    folder. save it as anythingyouwant.php
    4) in dw's File Panel, find anythingyouwant.php and upload it
    to the remote
    site.
    5) Now open your form html file in dreamweaver,
    5a)click the mouse into the form area, and select the
    <form> tag on the
    lower left margin of the design window.
    In the Property Inspector, it should now show the properties
    of the <form>
    tag. In the Property Inspector, to the right of the ACTION
    line, click the
    folder icon and browse to and select the anythingyouwant.php
    file
    you've saved to within this site.
    5b) now click within the form area and go to dw
    menu-->Insert-->Form
    Objects-->Hidden Field
    This inserts a hidden form field.
    In the property inspector, change the NAME/ID of this field
    to: recipient
    And the VALUE of this field to: me
    the code should look like:
    <input name="recipient" type="hidden" id="recipient"
    value="me">
    This tells the script to use the "me" recipient_alias value
    as the email
    address to send the form to.
    5c: Do you have a form field to collect the user's email
    address?
    If yes, if this field is named exactly "email" then the
    script will use the
    user's email as the reply to in the outgoing email
    6) Save and upload the form page.
    Try the form from the website.
    Optional:
    1-make a new page for a thank you for submitting message.
    In the form, insert another hidden field.
    Name: redirect
    Value:  the full absolute
    http:// address to the new thank you page.
    If you don't set a redirect value- the form script will build
    a "thank you,
    here is what you submitted" page. If you want to use that
    dynamic page-
    upload the .css file that it uses.
    2- If you have a field in the form to collect the visitor's
    email address,
    IF you name this field  in the form exactly  
     email   then the visitor's
    email address will be the Reply To address in the outgoing
    email.
    There are 30 or so other optional form fields to control the
    form- see the
    readme in the docs folder. One of those optional control
    fields is
    verification.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Can't execute cgi scripts outside the default

    I had this working fine on my old imac.
    On my new mac (Running Latest Lion)...
    I edited /etc/apache2/httpd.conf
    Updated
    User wtfuser
    Group staff
    Updated
    DocumentRoot "/Users/wtfuser/Sites"
    Updated:
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/Users/wtfuser/Sites">
        # Possible values for the Options directive are "None", "All",
        # or any combination of:
        #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
        # Note that "MultiViews" must be named *explicitly* --- "Options All"
        # doesn't give it to you.
        # The Options directive is both complicated and important.  Please see
        # http://httpd.apache.org/docs/2.2/mod/core.html#options
        # for more information.
        Options Indexes FollowSymLinks MultiViews ExecCGI
        # AllowOverride controls what directives may be placed in .htaccess files.
        # It can be "All", "None", or any combination of the keywords:
        #   Options FileInfo AuthConfig Limit
        AllowOverride None
        # Controls who can get stuff from this server.
        Order allow,deny
        Allow from all
    </Directory>
    I can execute cgi scripts if they are placed in /Library/Webserver/CGI-Executables
    But if I put a test.cgi file inside /Users/wtfuser/Sites/test.cgi
    I get permission denied and errors:
    [Wed May 02 22:38:45 2012] [error] [client ::1] Options ExecCGI is off in this directory: /Users/wtfuser/Sites/sandbox/test.cgi
    [Wed May 02 22:38:45 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:07 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:14 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:24 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:25 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:25 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    Any help is appreciated

    I will send an update.
    I changed this line
    ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Users/wtfuser/Sites/$1"
    This allowed me to successfully change the location of cgi scripts to a more convenient location, or simply because I wanted to do it! Just because!
    It seems like the AddHandler, and the ExecCGI isn't working. This should allow me to run .cgi files from anywhere, regardless of the script alias.
    So I'm open to suggestions as to why this isn't working.  FYI. I copied my httpd.conf file from my old imac running lion onto my new imac, and it still didn't work. But it works as expected on my old imac.
    Confused. But at least I have a work-around and I know the httpd.conf file I'm modifying is the right one, etc...
    ANd what in gods name is that crap with the favicon.ico?
    This is a brand new out of the box imac, or so I thought. Is this normal??

  • CGI Scripts for Mysite website?

    Hi everyone. I'd like to thank you in advance if you give me any information about my following question. I own webspace from Verizon. I don't use the SiteBuilder, but instead I make my webpages from CSS, HTML, Javascript, ect. and use FTP to transfer the files onto my webspace. I have read that Verizon lets users incorporate pre-made CGI scripts into their page, so I thought I'd give it a try. I have been trying to use the "Guestbook" script, following exactly what they say to do to install it. But once I have installed everything into a page and FTP it to my webspace, it gives me a 404 Error, saying it can't find "../guestbook.exe" (after submiting my comment). Can anyone help me with this problem? I followed these directions exactly:
    http://www.verizon.net/central/vzc.portal?_nfpb=true&action=Using%20the%20Guestbook%20Script&_pageLa...
    Please help me. Thank you.

    It seems they have wrong info on there.
    This is the code on my site using the site builder.
    <p>
    <!--gem:tlx.tlx.guestbook-->
    <p align="center"><font face="Arial,Helvetica,sans-serif" size="1" color="cccccc"><b><a href="http://svcs.verizon.net/svcs/dcc.jsp?tpage=upub:index.html&amp;dsrc=gb:842877486280280279/DS_TLXGuestbook_1264975106653.xml&amp;partner=verizon&amp;pcon=yes&amp;xsl=dccfile:gb.xsl&amp;obpp=zlrc2O5cwtTqxMLU6M5QntrawH5c5PrOaGL6yg..&amp;ret_url=http://mysite.verizon.net/your_use_rname/index.html&amp;page=sign"><font color="cccccc"><img border="0" src="/imagelib/sitebuilder/gem/guestbook/sign_my_guestbook_gray.gif"></font></a>&nbsp;&nbsp;<a href="http://svcs.verizon.net/svcs/dcc.jsp?tpage=upub:mypersonalsite/index.html&amp;dsrc=gb:842877486280280279/DS_TLXGuestbook_1264975106653.xml&amp;partner=verizon&amp;pcon=yes&amp;xsl=dccfile:gb.xsl&amp;obpp=zlrc2O5cwtTqxMLU6M5QntrawH5c5PrOaGL6yg..&amp;ret_url=http://mysite.verizon.net/your_user_name/index.html&amp;page=1"><font color="cccccc"><img border="0" src="/imagelib/sitebuilder/gem/guestbook/view_my_guestbook_gray.gif"></font></a></b></font>
    </p>
    <!--end gem--><!--"''"-->
    </p>
    Where your_user_name is what ever my user name is (In your case, what ever your user name is).
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • CGI Scripts in Java

    Can you write CGI scripts in Java or JavaScript and run them on a web server without modifying the server?

    The equivalent of CGI scripts in Java are servlets. To
    run servlets, you need a servlet container. I don't
    know if your web server has a servlet container or a
    way to connect a servlet container to it. Lookup
    information on J2EE (Java 2 Enterprise Edition) on
    this website.The man is correct. Or u can use JSP to the same end. You don't need J2EE tho i don't think...

  • CGI script for simple form

    Can anyone give me a CGI script that will make a form
    automatlly e-mail the information gathered from an online form?
    Can that code be placed right into the html file?

    There are only two ways to process form data -
    1. Use mailto:[email protected] as the action of the form
    2. Use a server-side scripting method to a) harvest the
    form's data, b)
    process it in some manner, e.g., enter it into a database, c)
    formulate and
    send an email to one or more email recipients, and d)
    redirect the visitor
    to some ending page
    Method 1 is quite simple, and is also the least reliable. It
    depends both
    on your visitor having an email client already installed on
    their computer -
    this eliminates public computers, or home users without email
    clients
    installed (more and more it seems) - and on the installed
    email client
    responding to
    the mailto call. It is not possible to use this method *and*
    send the
    visitor to a
    thank you page as well.
    Method 2a is the preferred method, since it eliminates the
    problems of
    method
    1, but it means that you have to grapple with
    server-scripting somehow (ASP,
    CF, PHP, perl, etc.).
    Method 2b would be to use some third-party form processing,
    like
    http://www.bebosoft.com/products/formstogo/,
    or if your server supports PHP,
    you could investigate
    http://www.geekministry.com/formbuilder/,
    a very nice
    product by a frequent poster here.
    You would have to decide which of these methods is best for
    your needs,
    but if it's Method 2a, then start by asking your host what
    they provide for
    form
    processing. If it's 2b, then read their FAQ/instructions
    carefully.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "inhouse7" <[email protected]> wrote in
    message
    news:gda6ap$79k$[email protected]..
    > Can anyone give me a CGI script that will make a form
    automatlly e-mail
    > the information gathered from an online form?
    > Can that code be placed right into the html file?

  • Front end for servlets like VB

    Hello,
    I am searching for the forntend which helps me while writting
    servlets like giving online help with all the properties,methods,
    and syntax.
    One guy wrote me to download this software for my requirement.
    So I downloaded this file "NetBeansIDE-release331.zip" from this
    "http://www.netbeans.org/devhome/download.html"
    site but i am unable to load or work on this IDE.
    If i unzip this file but i can't find any thing which will
    help to load or install IDE.
    What are all the parameters and other things has to
    be done to work with this software.
    My java is in these directories:
    jDk in d:jdk
    jsdk in d:jsdk
    javawebserver is there in d:javawebserver
    So help asap to load or install this software.
    If u know any other software for free which helps me to
    give all the properties and methods like VB please
    send me that software name and website name and path.
    Thanks

    Hi,
    Forte for Java is based on NetBeans technology and you can download a free development version, Forte for Java Community Edition from sun's web site. This IDE will ease the development process to some extent.
    http://wwws.sun.com/software/Developer-products/ffj/
    --------------Content from the above page----------------------------
    Forte[tm] for Java[tm] software is an integrated development environment (IDE) for Java technology developers. Based on the modular, open source NetBeans[tm] Tools Platform, the Forte for Java IDE is ideal for building and deploying Web services across multiple hardware and software platforms. This modular, extensible IDE enables fast adoption of new technologies from Sun, Sun's partners, and the community.
    Hope this will help you.
    Thanks,
    Sanath Kumar

  • How to include html generated by a cgi-script ?

    Here's the problem:
    I need to include an html-header dynamically generated by a cgi-script: "web_nav.cgi" into my jsp-page.
    According to some documentation the <jsp:include page=... tag can only be used to include servlet, jsp or html files, and according to other sources it doesn't matter what technology the target uses, as long as it delivers html....
    I get a "..include failed, only jsp or html files can be included" error messsage so maybe the first theory is correct.
    But the problem remains: If not with the <jsp:include tag , How do I do it??
    Fast help would be really appreciated.
    Thnx a bunch.
    /Henrik

    Hi Henrik,
    1. the <jsp:include page="local_url" flush="true"/>
    works for local url which is context-relative only
    (within the same server and same context -application-)
    2. So where is your web_nav.cgi ? is it local or remote
    (on another server)
    3. You can do it, look into the jsp book or documentation
    for either jsp:include action and jsp:include directive for your need.
    --Paul

  • This.submitForm() -- problem with my cgi script

    Thanks to George Johnson for an earlier answer to a related issue with this.submitForm.
    I am trying to use this.submitForm as per Example 1 on p. 348 of "JavaScript for Acrobat API Reference" document.
    To avoid any restrictions with my web hosting service, I am using the following JavaScript (on my form's Submit button) on my local XAMPP server:
    this.submitForm ("./cgi-bin/myscript.cgi");
    My question involves what should be in the myscript.cgi file before I submit to it.  If there is no file to start with, the
    submission will result in a "File not found" error.  So I guess I need the myscript.cgi file in the cgi-bin folder to begin with.
    When I put in a blank myscript.cgi file in that folder (hoping the submission will overwrite it), I can the following message:
    Server error!  The server encountered an internal error and was unable to complete your request. Either the server is overloaded or
    there was an error in a CGI script.
    Can you tell me what is happening?  What should my original myscript.cgi have in it, if anything?

    Thanks for responding.
    I want CGI script to processes the incoming data from the PDF form submission. I want that process to save the FDF to a file on the server. 
    I also understand that the script has to return a response to the client.  I would like to send some kind of confirmation to the client.
    I realize that writing scripts isn't rocket science, but it would seem that Adobe would have some examples of scripts that deal specifically with fdf data.  Could you point me to any examples?

Maybe you are looking for

  • Find fonts says I'm not logged in to Creative cloud. But I am.

    I'm trying to load an illustrator file. It says I'm missing the fonts, and so I try and sync them. However it gives me a little error message "You are not currently signed in to Creative Cloud. Please go to Help-> Sign in and enter your Adobe ID. App

  • Security panel in System Preferences

    Once I upgraded from OS X server 10.5 to 10.5.6, the security panel no longer shows the firewall tab in System Preferences. Why is that? Before I upgraded, I clicked on the 3rd choice "Set access for specific services and applications" then I clicked

  • How to mount a CIFS file system in fstab?[SOLVED]

    I want a CIFS share to be auto mounted on linux startup. If I add a line to /etc/rc.local, it works well: mount -t cifs //192.168.0.10/alien /home/alien -o user=alien,passowrd=alien,uid=1000,gid=1000 But, if I append a line to /etc/fstab, it doesn't

  • Can the Hot Sync Log be cleared?

    Zire 31, Desktop 6.4, Vista Business-32 bit, and Outlook 2007. Can the log be cleared? I keep getting the same error message about some calendar entries, but the entries are correct in the handheld and in Outlook on the PC. Post relates to: Zire 31

  • Ipod Nano says I am "Over Capacity" but is not storing any music

    Ipod Nano says I am "Over Capacity" but is not storing any music. Do you know why i can't get any music on it? I have uninstalled and re-installed itunes as well.