PHP on jsp site

Hi all,
I have a problem. We have a portal (weblogic) and we want to integrate into portal
sites that developed in php. Is this possible?
Thank you
Tamas

JSP without java is a bit like PHP without html
...only worse.Which is why I'm looking for a book or onlinetutorial
which teaches Java with a focus on JSP.Well that's nice ...but YOU were the one who asked for
advice from people who you may assume to know more
than you do. Take it or leave it, makes bugger all
dif'rence to me ... erm, learn java first.I want to learn Java, but I don't have much use for it outside of JSP. Aren't there any books which teach Java, but in the context of web development?

Similar Messages

  • String manipulation: php to jsp

    Im converting a menu generation program from PHP to JSP.
    Every page in my site has been allocated a page Id.
    A pages pageId determines how the primary navigation of the page displays.
    My Question
    I need to determine the sub Menu parent id To do this in php I can just take the int value of the pageId string to get 2
    <?php
    $pageId = "2.1.3.4";
    $subMenuParentId = intval($pageId);
    ?>
    how can I do this in JSP ? Is there a better solution.
    <%
    String pageId = "2.1.3.4";
    %>

    You might find this test program novel...
    import java.text.*;
    public class msgfmttest
        public static void main(String[] args)
         MessageFormat msgfmt = new MessageFormat("{0,number,integer}.{1,number,integer}.{2,number,integer}.{3,number,integer}");
         String pageId = "2.1.3.4";
         try {
             Object[] levels = msgfmt.parse( pageId );
             int level1 = ( (Long)levels[0] ).intValue();
             int level2 = ( (Long)levels[1] ).intValue();
             int level3 = ( (Long)levels[2] ).intValue();
             int level4 = ( (Long)levels[3] ).intValue();
             System.out.println("level 1: " +  level1);
             System.out.println("level 2: " +  level2);
             System.out.println("level 3: " +  level3);
             System.out.println("level 4: " +  level4);
         catch(ParseException exc) {
             System.err.println("pageId is invalid");
    }

  • Implementing if-statement in jsp-sites

    Hi,
    I have a Vector in a jsp-Site as a property that I can refer to in the following way:
    <c:set var="mo" value="${requestScope.montag}"/>
    Now I want to test if the second element of this vector equals "0" or not.
    I tried things like:
    <logic:equal scope="request" name="${montag[0]}" value="0">
    or
    <logic:equal parameter="${requestScope.montag[0]}" value="0">
    but they don't work, does anybody of you have an idea?
    Kind regards
    Thomas

    Try c:if
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
    Look under JSTL - flow control

  • Cost of a jsp site

    I'm new to Java Server Pages and want know what the cost of setting up a JSP site would be (ie: what software do i need; is it free or does it cost and if it is free is it worth getting). I am not interested in the cost of hardware.
    Thanks,
    Chris McCorriser

    The downside to both of these is
    that there is no technical support. Not strictly true. There is plenty of info in forums and lists like this, for both apache http server and tomcat. It depends what you mean by support. If you want to be a 'Gold customer' and have someone at the end of the phone 24-7 who can sort out any of your problems (**yawn**), then fine... I'm sure it will be great experience for you!You won't get that with Apache Foundation, but not all (hardly any?)new ventures have the money for that sort of setup anyway...
    There are loads of survey estimates that put figures of up to 75% of all webservers being apache. Must say something surely?
    What I would say tho, is that large amounts of support info for apache assume you are on a UNIX-variant platform... which admittedly is a far better solution, but not so helpful if you are a Gates disciple.

  • ADD form.php to my site with iWeb, possible?

    Hi, is it possible to add a form.php to muy site done with iWeb? thank you.

    thank you for your kind reply, the thing is i ignore how to do this by programming php, i use Rapidweaver for the forms and i have them done, getting stuck with adding the forms to my mainsite, done with iWeb, because RapWeav also makes a complete site out of it and i only have one domain with a host that supports php, where the mainsite is located. so what i need is some how achieve to split the php form and upload them, but does'nt this create a duplication of sites on the host?, while i have two index.html, one for the main site i want to link to the forms and one for the RW made site with the forms? wow! thank you for your help, maybe there is no solution if i don't manage with programming php and so.

  • Internal error if pointing on jsp-site

    I set up the Sun ONE Webserver 6.1 SP2 and deployed a webapp named prodass3. It functioned, but displaying jsp-sites.
    If I point to a HTML-site within the webapp, the HTML-site is displayed correctly. Access-log entry:
    192.168.200.53 - - [08/Jun/2004:17:34:55 +0200] "GET /prodass3/index.html HTTP/1.1" 200 1734
    But if I point to a JSP-site, I get an internal error. Access-log entry:
    192.168.200.53 - - [08/Jun/2004:17:46:42 +0200] "GET /prodass3/index.jsp HTTP/1.1" 500 305
    I think the JSP-files would not be compiled. But there is no error or something like that..
    Java Globally and Java for class vsclass1 are enabled.
    Java Home Path: C:/Programme/Sun/WebServer6.1/bin/https/jdk/
    What am I doing wrong?
    Kind regards, Jonas

    I can't find in server.xml a 'wrong' classpath like you mentoined above.
    I also copied the jdk (1.4.2) from the developing environment on the server maschine and linked the java home to the new path.
    I also restarted the virtual server..
    Here the server.xml:
    Can, you tell me is there something else wrong?
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright (c) 2003 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    -->
    <!DOCTYPE SERVER PUBLIC "-//Sun Microsystems Inc.//DTD Sun ONE Web Server 6.1//EN" "file:///C:/Programme/Sun/WebServer6.1/bin/https/dtds/sun-web-server_6_1.dtd">
    <SERVER qosactive="false">
    <PROPERTY name="docroot" value="C:/Programme/Sun/WebServer6.1/docs"/>
    <PROPERTY name="accesslog" value="C:/Programme/Sun/WebServer6.1/https-gsa_tomcat-test.gartenmann.ch/logs/access"/>
    <PROPERTY name="user" value=""/>
    <PROPERTY name="group" value=""/>
    <PROPERTY name="chroot" value=""/>
    <PROPERTY name="dir" value=""/>
    <PROPERTY name="nice" value=""/>
    <LS id="ls1" port="80" servername="gsa_tomcat-test.gartenmann.ch" defaultvs="https-gsa_tomcat-test.gartenmann.ch" security="false" ip="any" blocking="false" acceptorthreads="1"/>
    <MIME id="mime1" file="mime.types"/>
    <ACLFILE id="acl1" file="C:/Programme/Sun/WebServer6.1/httpacl/generated.https-gsa_tomcat-test.gartenmann.ch.acl"/>
    <VSCLASS id="vsclass1" objectfile="obj.conf" rootobject="default" acceptlanguage="off">
    <PROPERTY name="docroot" value="C:/Programme/Sun/WebServer6.1/docs"/>
    <VS id="https-gsa_tomcat-test.gartenmann.ch" connections="ls1" mime="mime1" aclids="acl1" urlhosts="gsa_tomcat-test.gartenmann.ch" state="on">
    <PROPERTY name="docroot" value="C:/Programme/Sun/WebServer6.1/docs"/>
    <USERDB id="default"/>
    <SEARCH>
    <WEBAPP uri="/search" path="C:/Programme/Sun/WebServer6.1/bin/https/webapps/search" enabled="true"/>
    </SEARCH>
    <WEBAPP uri="/prodass3" path="C:/Programme/Sun/WebServer6.1/https-gsa_tomcat-test.gartenmann.ch/webapps/prodass3" enabled="true"/>
    </VS>
    </VSCLASS>
    <JAVA javahome="C:/Programme/Java/jdk1.4.2jdev/" serverclasspath="C:/Programme/Sun/WebServer6.1/bin/https/jar/webserv-rt.jar;${java.home}/lib/tools.jar;C:/Programme/Sun/WebServer6.1/bin/https/jar/webserv-ext.jar;C:/Programme/Sun/WebServer6.1/bin/https/jar/webserv-jstl.jar;C:/Programme/Sun/WebServer6.1/bin/https/jar/ktsearch.jar" classpathsuffix="" envclasspathignored="true" nativelibrarypathprefix="" debug="on" debugoptions="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n" dynamicreloadinterval="-1">
    <JVMOPTIONS>-Djava.security.auth.login.config=C:/Programme/Sun/WebServer6.1/https-gsa_tomcat-test.gartenmann.ch/config/login.conf</JVMOPTIONS>
    <JVMOPTIONS>-Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager</JVMOPTIONS>
    <JVMOPTIONS>-Xmx256m</JVMOPTIONS>
    <SECURITY defaultrealm="native" anonymousrole="ANYONE" audit="false">
    <AUTHREALM name="file" classname="com.iplanet.ias.security.auth.realm.file.FileRealm">
    <PROPERTY name="file" value="C:/Programme/Sun/WebServer6.1/https-gsa_tomcat-test.gartenmann.ch/config/keyfile"/>
    <PROPERTY name="jaas-context" value="fileRealm"/>
    </AUTHREALM>
    <AUTHREALM name="native" classname="com.iplanet.ias.security.auth.realm.webcore.NativeRealm">
    <PROPERTY name="jaas-context" value="nativeRealm"/>
    </AUTHREALM>
    <AUTHREALM name="ldap" classname="com.iplanet.ias.security.auth.realm.ldap.LDAPRealm">
    <PROPERTY name="directory" value="ldap://localhost:389"/>
    <PROPERTY name="base-dn" value="o=isp"/>
    <PROPERTY name="jaas-context" value="ldapRealm"/>
    </AUTHREALM>
    </SECURITY>
    <RESOURCES/>
    </JAVA>
    <LOG file="C:/Programme/Sun/WebServer6.1/https-gsa_tomcat-test.gartenmann.ch/logs/errors" loglevel="info" logtoconsole="true" usesyslog="false" createconsole="false" logstderr="true" logstdout="true" logvsid="false"/>
    </SERVER>

  • Converting PHP to JSP

    For work I need to convert a code that I wrote in PHP to JSP in order for it to run on our windows server.
    Trouble is, I know very little java. The script is a very simple, short email script located here: http://pastebin.com/m7b4b4e96
    Any help would be greatly appreciated.

    Perhaps this one?
    http://www.amazon.com/Murachs-Java-Servlets-Andrea-Ste
    elman/dp/1890774189/ref=pd_sim_b_5_img/002-0859111-900
    5647I have read many many JSP and Servlet books in the past and the book you mentioned (Murachs-Java-Servlets book by Andrea Steelman) is the best by far above any other books.

  • Own php or jsp files

    Hello,
    can I upload and run on apex.oracle.com my own php or jsp scripts ?
    Thank you

    No.

  • After closing an Applet, how can I say a HTML/JSP Site to load a new site?

    Hi!
    I have a problem. I�m writting a little chat, and after qutting I want to say my HTML/JSP site to load or go further to another page.
    This is possible because a saw this already, but i didn�t got the way how!
    Thnx
    Ren�

    Hi,
    I assume you mean with "after quitting" pressing the Quit button.
    Your JSP can use the forward-statement to move to another JSP or HTML. You can find it on Suns
    JSP-Syntax Card.
    I hope I could help you
    Frank Rettweiler

  • Jsp sites access control

    Hi,
    i am new in web-app-programming.
    I have developed a few jsp pages. One of them is login page and the other should only be accessable after logging in the login page.
    The current state is: the pages can also be accessed directly with the url like this: "http://localhost:8080/application_root/my_url_pattern/somepage.jsp".
    I am looking for a solution to avoid the direct access per url.
    my ideas are:
    1) set the render control of the jsp site-> it works well-> but a bit complex
    2) out source the jsp site -> save the jsp sites somewhere else as the applicationroot-> I have the problem that the site could no be found. Can somebody tell me how can i solve this problem.
    thank u
    Ming
    Message was edited by:
    m_z

    You can set up a servlet filter in the web.xml. That lets you intercept every single request to certain areas of the app, and modify/redirect it if necessary.
    Example: This sets up a filter that runs on all requests to the "/tools" directory:
    In web.xml:
       <filter>
         <filter-name>testFilter</filter-name>
         <filter-class>com.TestFilter</filter-class>
       </filter>
       <filter-mapping>
         <filter-name>testFilter</filter-name>
         <url-pattern>/tools/*</url-pattern>
       </filter-mapping>And an example java class of a filter. This one just logs the request URI.
    package com;
    import java.io.IOException;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletRequest;
    public class TestFilter implements Filter{
         public void init(FilterConfig arg0) throws ServletException {}
         public void destroy() {}
         public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
              if (request instanceof HttpServletRequest){
                   HttpServletRequest req = (HttpServletRequest)request;
                   System.out.println("Servicing request for " + req.getRequestURI());
                   chain.doFilter(request, response);
    }

  • Using sjsws to host many small servlet/jsp sites on one server

    Hello. I visited the web page at http://www.sun.com/software/products/web_srvr/features.xml, which mentions that sjsws supports mass hosting of thousands of domains. Anyone knows more information about this feature? I want to find out whether sjsws is a good choice for hosting many small servlet/jsp sites on one server.
    Some time ago, I tried using apache+tomcat to host many small servlet/jsp sites on one server. But the result was not satisfactory. If a private tomcat/jvm is used for each site, too many resources are consumed and as a result, not many sites can be hosted on one server. If a shared tomcat/jvm is used for all sites, the resources consumed are reduced, but it becomes very difficult to isolate the sites. Is it possible to overcome such problems with sjsws?
    Thx.

    Of course you dont have to use multiple VMs to host multiple applications.
    You can either choose to have multiple Virtual Servers, all in one instance of the web server, serving multiple applications. In this case only one java VM is used.
    Or you can go in the route posted in the link above, in which there is only one "physical" virtual server, with many dynamic virtual servers.
    Whether you chose to have many multiple web applications, or do the server division in a similar way to what is described in the blog, it is up to you.
    Many different web applications will give you more fine level control on the application separation, but it will probably also mean greater resource consumption associated to the web application managing.
    Less web applications, but with dynamic separation, in a similar way to what is described in the blog, will give a lesser control on the applications, but will save you a good number of resources.
    SJS Web Server is known to work in massive web sites, with very high number of JSPs and Servlets. There is some real life examples of this massive hosting. Maybe others can provide some numbers here :P

  • From PHP to JSP for a search-responder.php

    I have been asked to use the "search-as-you-type" solution offered up by Google at [http://code.google.com/p/search-as-you-type/|http://code.google.com/p/search-as-you-type/]. The documentation offered by Google is pretty much straight forward but of course the actual piece of code that gets the data is built in PHP and my client needs this to be used on a page serving up JSP.
    I am learning JSP and moving from PHP and ASP and learning quickly but not quick enough to finish the project.
    Would anyone be able and willing to help me convert the functions in the following PHP code into JSP?
    Thanks in advance to anyone who takes the time to help me.
    <?php
    * Copyright (C) 2006 Google Inc.
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
    *      http://www.apache.org/licenses/LICENSE-2.0
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    * See the License for the specific language governing permissions and
    * limitations under the License.
    * Search-as-you-type sample Ajax responder
      // Adding a cache control so that browsers won't cache Ajax requests
      header("Cache-Control: no-cache");
      header("Content-Type: text/html; charset=UTF-8");
       * Get the sample data from the text file.
       * @return array Loaded data
      function GetData() {
        $data = array();
        $file = file("test-data.txt");
        foreach($file as $record) {
          $record = explode("|", trim($record));
          if (count($record) == 4) { // Ignore invalid lines
            $data[] = $record;
        return $data;
       * Get the results based on user's query.
       * @param string $query Query
       * @param array $data Sample data
       * @return array Result array
      function GetResults($query, $data) {
        $results = array();
        $queryLength = strlen($query);
        foreach ($data as $record) {
          if (substr(strtolower($record[0]), 0, $queryLength) == $query) {
            $result = array();
            $result['name'] = $record[0];
            $result['type'] = $record[1];
            $result['content'] = $record[2];
            $result['moreDetailsUrl'] = $record[3];
            $result['style'] =
              ($query == strtolower($record[0])) ? 'expanded' : 'normal';
            $results[] = $result;
        return $results;
      // Get the data and the query
      $data = GetData();
      $query = strtolower(ltrim($_GET['query']));
      // Build response
      $response = array();
      $response['query'] = $query;
      $response['results'] = GetResults($query, $data);
      if (count($response['results']) == 1) {
        $response['autocompletedQuery'] = $response['results'][0]['name'];
      // Output response
      echo "searchAsYouType.handleAjaxResponse(";
      echo json_encode($response);
      echo ");";
    ?>

    Thanks for your comment Gimbal2.
    I have already been thoroughly surprised at how different JSP is from PHP. I am finding quite hard to wrap my head around the whole process to be honest.
    I am beginning to see that JSP and PHP work in a totally different way than each other.
    I am not technically trying to translate or convert the PHP file as much as I am trying to build a file in JSP that does the same functions. The main functions of the PHP script are commented by Google and should be easily enough re-written in JSP in order to produce similar results.
    Since the output needs to be in a JSON format when passed to the .js file you'd think this would be better suited as a .jsp file as well or even a JAVA Applet, Servlet or even a bean. Since the whole site is already built in JSP for a multitude of other functions it seems likely that adding on more to read data from a source file and send it back to the .JS would be straight forward, but I could be wrong. But again I am not familiar enough with JAVA or JSP (yet) to make heads or tails of this.
    1. // Adding a cache control so that browsers won't cache Ajax requests
    2. * Get the sample data from the text file. @return array Loaded data
    3. * Get the results based on user's query.
    * @param string $query Query
    * @param array $data Sample data
    * @return array Result array
    4. // Get the data and the query
    5. // Build response
    6. // Output response

  • Listing JSP site on search engines

    I am hoping that there are some methods to get dynamically JSP generated webpages listed on search engines. I know that there are issues when using a query string because of spiders avoiding the '?' Is there a mod_rewrite type of option that can be accomplished in web.xml or anywhere else that could translate a site so that I could use:
    http://somesite.com/product/id/324
    instead of:
    http://somesite.com/product.jsp?id=324
    Even if there is a completely different approach to solving this, I welcome any and all suggestions.
    Thank you all in advance,
    Steve

    Or, to make your site more portable (if this is an issue), design your pages such that direct access without query variables provides a meaningful result in the first place, and your problem is solved. I know i have a habit of just erasing extra query stuff on pages i'm viewing to try to get to a root page.. it's incredibly annoying when one doesn't exist, or craps out on you because you're missing parameters.
    Although using Apache is a good idea... hadn't thought of that.

  • GoDaddy's webformmailer.php on my site is not working

    I am stuck.  I created a site for a client and uploaded it to the GoDaddy server so they could also do updates on their HTML editor.  I used the GoDaddy webformmailer.php code they provide and it did work initally.  We tested it several times a few months ago and the test emails were coming through.  We did an update on the site, not touching the webformmailer.php code, and now it is not working.  She even had about 15-20 people say on Facebook that they used the contact page to send messages. 
    I reached out to GoDaddy twice so far, both times with run-around answers:
    Maybe the form was blank that was submitted...
    Add a captcha to it so it verify's that it is indeed a human...
    Can someone help me out here?  Has anyone else had this issue?  I am not .php or SQL savy, just breaking ground with it, but, obviously it worked before, something happened on GoDaddy's end to make it not work now.  Here is the code (what is italicized and in red is GoDaddy's code I copied and pasted):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Anthony's Bar &amp; Grill</title>
    <link href="contact.css" rel="stylesheet" type="text/css" />
    <script src="http://maps.google.com/maps/api/js?sensor=true" type="text/javascript"></script>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2187524" binding="#mapCanvas" />
    </oa:widgets>
    -->
    </script>
    </head>
    <body>
    <div class="container">
      <div class="header"><a href="home.html" target="_parent"><img src="myicons/images/anthonysHeader.png" alt="header" width="500" height="150" hspace="250" /></a>
    <!-- end .header --></div>
    <div class="nav"><a href="home.html" target="_parent"><img src="myicons/images/home.png" alt="home" width="125" height="75" hspace="10" /></a><a href="menu.html" target="_parent"><img src="myicons/images/menu.png" alt="menu" width="125" height="75" hspace="40" /></a></a> <a href="specials.html" target="_parent"><img src="myicons/images/specials.png" alt="specials" width="130" height="75" hspace="30" /></a> <a href="livemusic.html" target="_parent"><img src="myicons/images/liveMusic.png" alt="liveMusic" width="160" height="75" hspace="20" /></a> <a href="photos.html" target="_parent"><img src="myicons/images/photos.png" alt="photos" width="125" height="75" hspace="30" /></a><!-- end of .nav --></div>
      <div class="content">
      <div class="form">
      <form action="/webformmailer.php" method="post">
    <input type="hidden" name="subject" value="Submission" />
    <input type="hidden" name="redirect" value="thankyou.html" />
    First Name:
    <input type="text" name="FirstName" /><br />
    Last Name: <input type="text" name="LastName" /><br />
    Email:        <input type="text" name="email" /><br />
    We'd love to hear from you! Leave us your comments: <br />
    <textarea name="comments" cols="50" rows="10"></textarea><br />
                    <input type="submit" name="submit" value="submit"/>
    <input type="hidden" name="form_order" value="alpha"/> <input type="hidden" name="form_delivery" value="hourly_digest"/> <input type="hidden" name="form_format" value="html"/> 
    </form>
      </div>
      <h3>10371 Southern Maryland Blvd.
          <br />
          Dunkirk, MD, 20754<br />
      301-327 5219 and/or 301-327-5520<br />
      </h3>
      <div id="mapCanvas" style="width:530px; height:300px; min-width:530px; min-height:300px"></div>
      <script type="text/javascript">
    // BeginOAWidget_Instance_2187524: #mapCanvas
                // initialize the google Maps
         function initializeGoogleMap() {
                        // set latitude and longitude to center the map around
                        var latlng = new google.maps.LatLng(38.72055,
                                                                                                                  -76.65971);
                        // set up the default options
                        var myOptions = {
                          zoom: 17,
                          center: latlng,
                          navigationControl: true,
                          navigationControlOptions:
                                    {style: google.maps.NavigationControlStyle.DEFAULT,
                                   position: google.maps.ControlPosition.TOP_LEFT },
                          mapTypeControl: true,
                          mapTypeControlOptions:
                                    {style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
                                   position: google.maps.ControlPosition.TOP_RIGHT },
                          scaleControl: true,
                           scaleControlOptions: {
                                position: google.maps.ControlPosition.BOTTOM_LEFT
                          mapTypeId: google.maps.MapTypeId.ROADMAP,
                          draggable: true,
                          disableDoubleClickZoom: false,
                          keyboardShortcuts: true
                        var map = new google.maps.Map(document.getElementById("mapCanvas"), myOptions);
                        if (false) {
                                  var trafficLayer = new google.maps.TrafficLayer();
                                  trafficLayer.setMap(map);
                        if (false) {
                                  var bikeLayer = new google.maps.BicyclingLayer();
                                  bikeLayer.setMap(map);
                        if (true) {
                                  addMarker(map,37.7715,-122.4,"We are here");
                window.onload = initializeGoogleMap();
               // Add a marker to the map at specified latitude and longitude with tooltip
               function addMarker(map,lat,long,titleText) {
                          var markerLatlng = new google.maps.LatLng(lat,long);
                         var marker = new google.maps.Marker({
                              position: markerLatlng,
                              map: map,
                              title:"We are here",
                                  icon: "http://code.google.com/apis/maps/documentation/javascript/examples/images/beachflag.png"});  
    // EndOAWidget_Instance_2187524
      </script> <a href="https://www.facebook.com/pages/Anthonys-Bar-and-Grill/53652420587?fref=ts" target="_new"><img src="myicons/images/facebook.png" alt="facebook" width="99" height="99" vspace="50" /></a> <a href="https://twitter.com/CharleneWard10" target="_new"><img src="myicons/images/twitter.png" alt="twitter" width="100" height="100" vspace="50" /></a><!-- end .content --></div>
      <div class="footer">
      <p><a href="home.html" target="_parent">Home</a> • <a href="menu.html" target="_parent">Menu</a> • <a href="specials.html" target="_parent">Specials</a> • <a href="livemusic.html" target="_parent">Live Music</a> • <a href="photos.html" target="_parent">Photos</a> • <a href="contact.html" target="_parent">Contact</a> • <a href="platters.html" target="_parent">Platters</a></p>
      <!-- end .footer --></div>
      <!-- end .container --></div>
    </body>
    </html>

    I've tested your core code (the php that's in red) on a GoDaddy account that includes the PHP script, and the script works. I simply pasted it within the <body> tags of a rudimentary HTML file (empty <head> and no other code).
    However, I agree with those who have said there are better form-handling options, and because form-handling is such a fundamental website feature, I am beginning also to agree with MurraySummers that GD is not a service I'd recommend.  For more than a decade, I've enjoyed using a CGI program called CGIEmail (which I think was originally published by MIT), but GoDaddy has nothing like it. The form data arrives in a text email, not an awkward attachment, and can be arranged in any order, accompanied by any text you want (e.g., instructions, verbose field names, HTML tags and text, CSV record line, whatever, including more than on of these formats in a single email), and can send to any email address(s) you specify. Different forms can send to different addresses, which are specified in the a forms' formatting file, which is a txt file, stored in a restricted directory. (GoDaddy has said a script would not be able to access a restricted directory without displaying the password ... I suppose also bumblebees cannot fly? In any case, GoDaddy could support that in another way if they really cared to.). I was hoping to adapt one of their PHP scripts to create a PHP equivalent, but they provide no documentation (except the install instructions) and it's not a promising use of my time.
    Since this thread is 9 months old, I assume you've resolved your problem by now, but for the record, I'd try running just the PHP in a simple .php file as I did, and be sure the webformmailer.php program is in your root directory. In case it might be corrupted, you might contact GoDaddy support to learn how to reinstall it. The install instructions include a link to that process, but I can't say whether or not the reinstallation might have unwanted side effects.  If it still doesn't work, then the problem must (have been) elsewhere on your page, or (the most likely cause) you haven't specified the target address correctly. All three of GoDaddy's email scripts send only to one address, which you specify on a separate page for your account.
    If you've resolved this problem, please consider explaining how. It might be of help to others.

  • Deploying against a JSP site using JSTL

    I am reviewing Contribute for use at my company. Our current
    corp site is deployed in JSP and makes extensive use of the Java
    Standard Tag Library, especially for writing dynamic URLs to
    content such as images, pdf, and application download.
    Can Contribute and/or my site be configured in such a way
    that contributors can edit the JSP pages? I've exploded the war and
    deployed it as a set of standard files so Contribute can access the
    files, but Contirbute doesn't resolve the JSTL references.
    Help!

    contribute was designed to allow editting of static HTML
    content only.. It does not have the capability to edit anything
    dynamic.. It would be better to use Dreamweaver..

Maybe you are looking for

  • Using Interactive Adobe Forms in LEAD processing(SAP CRM 7.0)

    Hi, I am new to Adobe forms. I want to create it for lead. After creation of lead adobe form should get mailed to required partner automaticaly. This partner will fill the data and send back to update the system. Please suugest me any documentation t

  • Cannot download the latest update for itunes

    When I go to help update I cannot download the latest version of itunes. Will I have to download from the Apple site?

  • Problem with my x

    yesterday i connected my stereo system to the card (via the headphone jack) to rip a tape. the stereo was also connected as a speaker system. after i finished ripping the tape and unplugged the stereo from line-in, i've noticed (or i just think i hav

  • Can't compile the medrec tutorial

    I can't build the medrec tutorial. Following the Tutorial 10: Exposing a Stateless Session EJB as a Web Service, I execute the command "ant prepare build.split.dir". But the medrecEar can't be compiled correctly. There are primarily two kinds of erro

  • NEED HELP! Cant open university file

    I have tried to open a document on my university online textbook. When I click the document it says "your activity has opened in a new window" but no windows pop up, and it is not in my downloads. I have tried it on another MacBook Air on the univers