<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Local install with GlassFish 3 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/local-install-with-glassfish-3/m-p/487057#M45308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I needed to do a local install of the the JSAPI. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am on a win7 box, but I am not running IIS, rather Java EE (with Glassfish and its little apache server). I am having troubles translating this step for GlassFish, Can you help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Deploy a handler. The JavaScript APIs stream multiple JavaScript files. In order to have one URL that delivers all the JavaScript content you must deploy a handler that simultaneously streams the appropriate files to the browser. Included in the library directory are three handlers that you can use. Use Default.ashx for IIS, index.jsp for a Java Application server (such as Tomcat), or index.php for a php application server. Note that the handlers have changed at version 2.0. If you installed a previous version of the handler you will need to replace this handler with 2.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, to deploy on IIS you need to modify the default content page to include Default.ashx. Steps include:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open IIS Manager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Navigate to folder that contains Default.ashx (in this example this is C:\Inetpub\wwwroot\arcgis_js_api\library\2.6\arcgis).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open properties dialog (right click, properties).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click the Documents Tab.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ensure Enable default content page has been clicked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click Add... Button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enter "Default.ashx" and Add.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Press OK and Exi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2012 18:24:39 GMT</pubDate>
    <dc:creator>StevenGutfreund</dc:creator>
    <dc:date>2012-01-24T18:24:39Z</dc:date>
    <item>
      <title>Local install with GlassFish 3</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/local-install-with-glassfish-3/m-p/487057#M45308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I needed to do a local install of the the JSAPI. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am on a win7 box, but I am not running IIS, rather Java EE (with Glassfish and its little apache server). I am having troubles translating this step for GlassFish, Can you help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Deploy a handler. The JavaScript APIs stream multiple JavaScript files. In order to have one URL that delivers all the JavaScript content you must deploy a handler that simultaneously streams the appropriate files to the browser. Included in the library directory are three handlers that you can use. Use Default.ashx for IIS, index.jsp for a Java Application server (such as Tomcat), or index.php for a php application server. Note that the handlers have changed at version 2.0. If you installed a previous version of the handler you will need to replace this handler with 2.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, to deploy on IIS you need to modify the default content page to include Default.ashx. Steps include:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open IIS Manager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Navigate to folder that contains Default.ashx (in this example this is C:\Inetpub\wwwroot\arcgis_js_api\library\2.6\arcgis).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open properties dialog (right click, properties).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click the Documents Tab.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ensure Enable default content page has been clicked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click Add... Button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enter "Default.ashx" and Add.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Press OK and Exi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 18:24:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/local-install-with-glassfish-3/m-p/487057#M45308</guid>
      <dc:creator>StevenGutfreund</dc:creator>
      <dc:date>2012-01-24T18:24:39Z</dc:date>
    </item>
  </channel>
</rss>

