Spry Server Include? code too laugh at lol

hello
i havent a clue what im doing with includes but im trying to make all my pages have the same spry navigation menu i looked over many tutorials on this and i have done what thay said but its jus not working heres my code it is unfinnished and not live yet i know also im ment to do somthing with making something site route but lost on that
sorry for being a pain but dreamweaver was easy to learn till i hit this little problem i cant get my head around it
if you need any more infomation i can provide
this is my include file
named innclude.shtm
<ul id="NaviBar" class="MenuBarHorizontal">
     <li><a href="#index.html">Home</a>      </li>
     <li><a href="#shows.html" class="MenuBarItemSubmenu">Shows</a>
       <ul>
         <li><a href="#" class="MenuBarItemSubmenu">American Shows</a>
           <ul>
             <li><a href="#">Stargate Universe</a></li>
             <li><a href="#">Untitled Item</a></li>
           </ul>
         </li>
         <li><a href="#" class="MenuBarItemSubmenu">British Shows</a>
           <ul>
             <li><a href="#">IT Crowd</a></li>
             <li><a href="#">Untitled Item</a></li>
             <li><a href="#">Untitled Item</a></li>
             <li><a href="#">Untitled Item</a></li>
           </ul>
         </li>
       </ul>
     </li>
     <li><a href="#about.html">About</a>      </li>
     <li><a href="#contact.html">Contact</a></li>
   </ul>
   <script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("NaviBar", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
this is my template
<!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" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Free Tv Series</title>
<!-- TemplateEndEditable -->
<link rel="shortcut icon" href="../fav.ico"/>
<link href="../layout.css" rel="stylesheet" type="text/css" />
<link href="../boxes.css" rel="stylesheet" type="text/css" />
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<!--#include file="../include.shtm" -->
</head>
<body>
<div id="wrapper">
<div id="header">
     <div id="headerleft"><a href="../index.shtm"><img src="../images/headerimg.jpg" width="450" height="150" /></a></div><!--close header left-->
     <div id="headerright1"></div>
<div id="headerright"><form method="get" action="http://www.google.com/custom">
  <table cellspacing="0" cellpadding="0" border="0" style="background-color: #ffffff;">
    <tr>
      <td>
        <a href="http://www.google.com/custom/"><img src="http://www.google.com/logos/Logo_40wht.gif" style="border: 0;" alt="Google" /></a>
      </td>
      <td>
        <input type="text" name="q" size="25" maxlength="260" value="" />
        <input type="submit" name="btnG" value="Google Search" />
        <input type="hidden" name="cof" value="L:http://;AH:center;GL:0;BIMG:http://;" />
      </td>
    </tr>
  </table>
</form>
    </div><!--close header right-->
</div><!--close header-->
<div id="navigation">
</div><!--close navigation-->
<div id="NavigationAtoZ">a b c d e f g h i j k l m n o p q r s t u v w x y z </div>
<div id="body">
     <div id="ColOneShows">
       <h1>Welcome To Media Ondemand</h1>
      <p>latest shows added</p>
     </div>
    <div id="ColTwoShows">
      <div class="box">
      <h3>hi</h3>
      <p> </p>
      </div>
      <div class="box">
      <h3>hi</h3>
      <p> </p>
      </div>
      <div class="box">
      <h3>hi</h3>
      <p> </p>
      </div>
    </div>
    <div id="ColThreeShows"><div class="box">
      <h3>hi</h3>
      <p> </p>
      </div><div class="box">
      <h3>hi</h3>
      <p> </p>
      </div><div class="box">
      <h3>hi</h3>
      <p> </p>
      </div>
     </div>
</div>
<!--Close Body-->
<div id="footer">
  <div id="FooterCopyRightText">
     <p><a href="../index.shtm">Home</a> | <a href="#shows.html">Shows</a> | <a href="../contact.html">Contact</a> | <a href="../sitemap.html">Sitemap</a> | <a href="../search.html">Search</a></p>
     <p/> All rights reserved :: Copyright Media-ondemand.com 2010 © <br />
     </p>
   </div>
</div><!--close footer-->
</div><!--close wrapper-->
</body>
</html>
i know its a mess work in progress
and the index file i want it included in its a copy of the template
named index.shtm
<!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"><!-- InstanceBegin template="/Templates/Template Shows Splash.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Free Tv Series</title>
<!-- InstanceEndEditable -->
<link rel="shortcut icon" href="fav.ico"/>
<link href="layout.css" rel="stylesheet" type="text/css" />
<link href="boxes.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<!--#include file="include.shtm" -->
</head>
<body>
<div id="wrapper">
<div id="header">
     <div id="headerleft"><a href="index.shtm"><img src="images/headerimg.jpg" width="450" height="150" /></a></div><!--close header left-->
     <div id="headerright1"></div>
<div id="headerright"><form method="get" action="http://www.google.com/custom">
  <table cellspacing="0" cellpadding="0" border="0" style="background-color: #ffffff;">
    <tr>
      <td>
        <a href="http://www.google.com/custom/"><img src="http://www.google.com/logos/Logo_40wht.gif" style="border: 0;" alt="Google" /></a>
      </td>
      <td>
        <input type="text" name="q" size="25" maxlength="260" value="" />
        <input type="submit" name="btnG" value="Google Search" />
        <input type="hidden" name="cof" value="L:http://;AH:center;GL:0;BIMG:http://;" />
      </td>
    </tr>
  </table>
</form>
    </div><!--close header right-->
</div><!--close header-->
<div id="navigation">
</div><!--close navigation-->
<div id="NavigationAtoZ">a b c d e f g h i j k l m n o p q r s t u v w x y z </div>
<div id="body">
     <div id="ColOneShows">
       <h1>Welcome To Media Ondemand</h1>
      <p>latest shows added</p>
     </div>
    <div id="ColTwoShows">
      <div class="box">
      <h3>hi</h3>
      <p> </p>
      </div>
      <div class="box">
      <h3>hi</h3>
      <p> </p>
      </div>
      <div class="box">
      <h3>hi</h3>
      <p> </p>
      </div>
    </div>
    <div id="ColThreeShows"><div class="box">
      <h3>hi</h3>
      <p> </p>
      </div><div class="box">
      <h3>hi</h3>
      <p> </p>
      </div><div class="box">
      <h3>hi</h3>
      <p> </p>
      </div>
     </div>
</div>
<!--Close Body-->
<div id="footer">
  <div id="FooterCopyRightText">
     <p><a href="index.shtm">Home</a> | <a href="#shows.html">Shows</a> | <a href="contact.html">Contact</a> | <a href="sitemap.html">Sitemap</a> | <a href="search.html">Search</a></p>
     <p> Web Master Alesha Whitford All rights reserved :: Copyright Media-ondemand.com 2010 © <br />
     </p>
   </div>
</div><!--close footer-->
</div><!--close wrapper-->
</body>
<!-- InstanceEnd --></html>

sorry for being a pain but dreamweaver was easy to learn till i hit this little problem i cant get my head around it
The problem you have hit is that you can go no further with DW without learning HTML and CSS.  This is not optional really....
The file being included can be named with ANY extension.  I prefer monkeybutt, personally, e.g., include.monkeybutt.
The file INTO which the include file is inserted must be named with an extension that triggers a server parsing, e.g., whatever.shtml
So - 'include.monkeybutt' could be this -
<p>Hello world</p>
and includetest.shtml could be this -
<html>
<head>
</head>
<body>
<!--#include file="include.monkeybutt" -->
</body>
</html>
And when you browse to the includetest.shtml page you will see the famous "Hello world" on the screen.
Get it?
Now, to work in DW, the include file CANNOT contain <html>, <head>, or <body> tags.  It must only contain what would go between <body> and </body>. This means that the include file cannot contain embedded CSS either, since that must go in the head of the page.  So, the parent pages must already contain all of that code before doing the include.  That's not so hard to do, but you do need to understand why you are doing it.
Looking at your include file code, I see that you have prefixed your links with "#".  That's not going to work - so for example, this -
<a href="#index.html">
should be this -
<a href="index.html">
And since that link is within an include file, it should probably be made site root relative so that it'll work from any page at an location in your site, e.g.,
<a href="/index.html">
That should do the trick for you.

Similar Messages

  • 500 Internal Server Error OracleJSP: code too large for try statement catch

    We have an application which uses JSPs as front end and we are using Struts 1.1. When we run one of the JSP it shows the following error after executing .We are using OCJ4 server having version 9.0.4.0
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:E:\oracle\product\10.1.0\AS904\j2ee\home\application-deployments\VAS3006\vas\persistence\_pages\\_Requirement .java
    code too large for try statement catch( Throwable e) { 
    7194
    code too large for try statement catch( Exception clearException) { 
    44
    code too large for try statement try { 
    23
    code too large public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 
    The JSP/application runs okay on one machine (System Tesing machine)with OCJ4 server having version10.1.2.0 but throughs an error on other machine( Development machine)with OCJ4 server having version9.0.4.0.The question is why it is running on one machine ane giving error on other machine I am aware that there can't be more than 64kB of code between try-catch block .Total size of the generated JSP class in our case is 577KB.
    Is the problem because of different version of Application server OC4J?.Is it any fix for this? Or Can anyone please suggest a work around. Or is there a method by which the JSP generated code is split between different try - catch blocks rather than a single try-catch block.Utlimately We don't know the whether is it a problem with JVM or hardware .
    It would be really helpful if you would provide me with some suggestion and input.
    Regards
    Shyam

    Sir,
    I am aware of the limitations of JVM that it won't allow java code more than 64Kb in method but we are using different versions of Application server .Application is working okay with OC4J application server(10.1.2.0) but gives error on Application server with version 9.0.4.0. Is this a problem with OC4J application server 9.0.4.0. I had gone through the documentation ofOC4J 9.0.4.0.application server but it does not mention about the this bug/fixes.
    Please giude me on the same.
    Regards,Shyam

  • JSP compilation: code too large on SP14

    Hello,
    I developed EP application based on JSPDynPage on SP13 with big jsp file. This application was running on SP13 without problem.
    Later, we upgraded to SP14 and application logged exception: "code too large" when compiling jsp.
    I tried to devide the big jsp to several jsp, but problems remains the same.
    I searched SDN. I tried set jsp.bigmode.delimit.size to 10000, 20000 and 1. Nothing helps.
    I followed OSS Note:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/bc-jas/~form/handler{5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383230323832}
    Best regards,
    Josef Motl

    Hi Detlev,
    the OSS number is 820282. But I was unable to wiew this message on http://service.sap.com. So below I put snapshot of this message.
    Regards,
    Josef
    Portal JSP compiler fails when code generated is too long
    SAP Note Number: 820282
    Symptom
    In a few cases, the compilation of jsp files fails (if their size is very large) because the generated Java code exceeds the 65K limitation (per method) of SUN JVM or the system crashes when it tries to load a class file that was not correctly constructed (method size > 65K).
    Other terms
    JSP, Portal, too long, compilation, compiler, over size, try
    Reason and Prerequisites
    SUN JVM and othes do not support a method which has more than 65K of byte code.
    Solution
    The fix is available in +SP2 PL 31 and +EP6 SP11 Patch 2.
    Once you have installed the fix, you need to edit the file irj\root\WEB-INF\portal\system\properties\prtCentral.properties.bak.
    Check if the property "jsp.bigmode.delimit.size" is present. Otherwise add the line "jsp.bigmode.delimit.size=10000", rename the file to "prtCentral.properties" and restart the server.
    The number is the limit size in bytes when the big jsp mode is enabled (you should therefore change the Java template generated from the jsp file to a size larger than the limit)
    In rear cases where JSP files are including sources prior to their compilation you should set the parameter to a lower value. In the extreme case you can use jsp.bigmode.delimit.size=1 and enable the big mode jsp optimization for all files.
    To deactive the big jsp mode, set jsp.bigmode.delimit.size=-1
    Header Data
    Release Status         Released for Customer
    Released on            21.07.2005
    Priority               Correction with medium priority
    Category               Advance development
    Primary Component      BC-JAS-PIN-PRT Portal Runtime

  • Jdeveloper Error: "Code too large"

    Hi all,
    While running a page in Oracle Jdeveloper 10g, I am getting compilation error “Code too large” on ‘processformrequest’ in controller. I tried the below steps from metalink, but I am still getting the error message.
    1.     Try to compile your page with the standard "javac" Java compiler instead of the "ojc" Java
    compiler, as it generates methods a bit smaller.
    2.     Change the compiler used by the Embedded OC4J:
    2.1) Go to "Tools" -> "Embedded OC4J Server Preferences..."
    2.2) Under "Global" select "Java Compiler"
    2.3) Select "javac" from the "Compiler" list
    2.4) Then under "Bin Directory", point to the location of the javac compiler
    (usually in the JDK bin directory).
    Please let me know if there is any way to resolve this error.
    Thanks in Advance,
    Saravana

    Hi Saravana,
    Please post this in OAF forum(OA Framework
    ~Vikram
    Edited by: Vikram K on Jul 27, 2009 11:00 AM

  • Spry select list code to wire it to html data table SET column?

    I am making a page based on Figure 15-14, Pg 878, in David Power's book, "Dw CS4 with CSS, Ajax and PHP. I have two separate html data tables hidden in the page, one for the specialties drop down select list and the other for the teachers master/detail regions. These are populated with php and working well. The spry select list and master/detail regions are working great except for one issue. The column in my html data table that is being filtered ("Specialty" in my code = 'Category' in the book's example code) is a SET column (with possible value of 1, 2, 3, 4, and/or 5). Clicking on the drop down menu brings up the records with a single value beautifully. The result for records with multiple values is a spry error "Invalid row number: 0". After four different versionings and methods of messing with this, I still haven't a clue. Please help me with how to rewire the Spry select list code so that it will read the records that have multiple items in that column. I have included the code below.
    var data_set_teachers = new Spry.Data.HTMLDataSet(null, "teacher_data");
    data_set_teachers.gallery = '1';
    function chooseSet(dataSet, row, rowNumber)
    if (row["Specialty"] == data_set_teachers.gallery) {
       return row;
    return null;
    data_set_teachers.filter(chooseSet);
    function changeSet(set)
    data_set_teachers.gallery = set;
    data_set_teachers.filter(chooseSet);
    data_set_teachers.setCurrentRowNumber(0);
    var rows = data_set_teachers.getData();
    for (var i = 0; i < rows.length; i++) {
       if (rows[i]["Specialty"] == set) {
         data_set_teachers.setCurrentRowNumber(i);
         break;
    var data_set_specialties = new Spry.Data.HTMLDataSet(null, "specialty_data");

    Well I'll be damned!
    What's done in the sample app is, of course, the intuitively obvious choice and is exactly what I started out trying to do the first time round.
    But as I mentioned before, when I first tried it (yes: I'm pretty sure I set the "for" attribute on the inlineMessage components), I got the non-unique component id exception for the inlineMessage component(s) after adding the second (but not the first) row to the page.
    Anyway, after dragging my inlineMessages to the exact same position as those in the AppModel example, now things work fine (except I think I'd like a line break before the message and to change the row/column styles so the values and messages line up properly...the look is rather ugly in the AppModel example when there are validation messages displayed).
    Not sure, but I'm thinking maybe there was an issue with where the inline message markup was placed, my first time through, relative to the data table value bound component and the column header facet?
    I was using the application view drag 'n drop feature the first time round and dragged the inlineMessage component to the spot just below the data table value bound component and hence just above the column header facet. In the AppModel example, OTOH, the inline messages are placed just after the column header facet.
    Of course, I will now try to duplicate the original exception.
    If I can (and it is an issue with placement), I will post back some sort of bug report or RFE. Otherwise, I'll post back declaring what a bone head I've been...;-)
    Anyway, thanks for the quick response, v.
    Campbell

  • Error in jsp:Code too large for try statement

    Hi friends,
    When i try to run a jsp program i am getting error "code too large for try statement". How can i rectify it rather than truncating that jsp? is there another way?
                                                  Basha

    Basha,
    When we were implenting an e-form component which was very big, the only way we were able to achieve it was by
    "jsp includes". In the main form simply included muliple
    jsp pages, where each was a section of the e-form.
    we have not found any other better way.
    Hope this helps.
    -Venkat Malempati
    Message was edited by: Venkat Malempati
    Message was edited by: Venkat Malempati

  • Code too large for try statement

    I have a jsp that I am getting the following exception on.
    [ServletException in:/jsp/DLG_PTEN.jsp] Unable to compile class for JSP C:\Documents and Settings\ebsgam\My Documents\IBM\wsappdev51\workspace\StnWeb\.metadata\.plugins\com.ibm.etools.server.core\tmp0\cache\localhost\server1\DefaultEAR\StnWeb.war\jsp\_DLG_5F_PTEN.java:13576: code too large for try statement } catch (Throwable t) { ^ C:\Documents and Settings\ebsgam\My Documents\IBM\wsappdev51\workspace\StnWeb\.metadata\.plugins\com.ibm.etools.server.core\tmp0\cache\localhost\server1\DefaultEAR\StnWeb.war\jsp\_DLG_5F_PTEN.java:1165: code too large for try statement try { ^ 2 errors '
    I am currently running this on Websphere Aplication Developer 5. First off I'm hoping that this error will go away when it is deployed to tomcat. But I wanted to see if anyone has had this problem and knows of a tweek or work around for it.
    The jsp in question is not the longest one I have... but it has a large number of drop down list boxes .. using jstl <select><option>. and the drop downs have around 40 or 50 items in them.

    in weblogic 8.1, i've met the same error, and solved the problem by adding param to weblogic.xml , like below:
      <jsp-descriptor>
         <jsp-param>
              <param-name>noTryBlocks</param-name>
              <param-value>true</param-value>
         </jsp-param>
      </jsp-descriptor>

  • Code too large for try statement - help :(

    Please help :(
              We are migrating our project from an older technology, Kiva from netscape
              (and about time we migrate) . Kiva uses template evaluation similar to
              jakarta velocity. So the fastest way we found was to translate kiva
              templates to JSPs via perl script. All is working fine except a bunch of
              JSPs which are too large for the compiler to handle. If we were not
              migrating and instead wroking from scratch we would have simply made the
              JSP's size smaller and used jsp:include, but in this case it will involve a
              lot of effort as that means changing a lot of business code.
              Basically what we get is "code too large for try statement". Is there anyway
              we can tell weblogic to put smaller code fragments in try/catch when it
              converts a JSP into java code.
              

              Haider,
              Have you seen the following Sun Bug Parade posting
              http://developer.java.sun.com/developer/bugParade/bugs/4210912.html
              Additionally, you may want to try the '-noTryBlocks' jsp compiler switch and see
              if it makes a difference
              See the following 6.1 URL
              http://edocs.bea.com/wls/docs61/jsp/reference.html#57805
              Chuck Nelson
              DRE
              BEA Technical Support
              

  • Code too large

    Hi,
    I did a search on this in some forums here and I realize that I have too much code in my BIG class.
    Right now I have one huge class which has pretty much everything in it. I have fragmented my code within this class, with multiple subclasses and many small methods as I realize this is the idea behind OOP. However, I never really thought about breaking up this one class that everything is inside of.
    So I have a couple of questions...
    1) I have level layouts that look like the following:
            // LEVEL 6
            char [][] Level_6_Board =
    //        0   1   2   3   4   5   6   7   8   9   10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29       
    /* 0 */ {'e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e'},
    /* 1 */ {'e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e'},
    /* 2 */ {'e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','G','e'},
    /* 3 */ {'e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e'},
    /* 4 */ {'e','e','e','e','e','e','e','e','e','e','e','W','W','W','W','W','e','e','e','e','e','e','e','e','e','e','e','e','e','e'},
    /* 5 */ {'e','e','e','e','e','e','e','e','e','e','e','W','e','e','e','W','e','e','e','e','e','e','e','e','e','e','e','e','e','e'},
    /* 6 */ {'e','e','e','e','e','e','e','e','e','e','e','W','e','R','e','W','e','e','e','e','e','e','e','e','e','e','e','e','e','e'},
    /* 7 */ {'e','e','e','e','e','e','e','e','e','e','e','W','W','e','W','W','e','e','e','e','e','e','e','e','e','e','e','e','e','e'},
    /* 8 */ {'e','e','e','e','e','W','W','W','W','e','e','e','W','e','W','e','e','e','W','W','W','W','e','e','e','e','e','e','e','e'},
    /* 9 */ {'e','e','e','e','e','W','e','e','W','W','W','W','W','e','W','W','W','W','W','e','e','W','e','e','e','e','e','e','e','e'},
    /* 10*/ {'e','e','e','e','e','W','e','e','e','e','e','R','e','e','e','R','e','e','e','e','e','W','e','e','e','e','e','e','e','e'},
    /* 11*/ {'e','e','e','e','e','W','e','e','e','W','W','W','W','W','W','W','W','W','e','e','e','W','e','e','e','e','e','e','e','e'},
    /* 12*/ {'e','e','e','e','e','W','W','W','e','W','e','e','e','e','e','e','e','W','e','W','W','W','e','e','e','e','e','e','e','e'},
    /* 13*/ {'e','e','e','e','e','e','e','W','e','W','W','e','e','M','e','e','W','W','e','W','e','e','e','e','e','e','e','e','e','e'},
    /* 14*/ {'e','e','e','e','e','e','e','W','e','W','e','e','e','e','e','e','e','W','e','W','e','e','e','e','e','e','e','e','e','e'},
    /* 15*/ {'e','e','e','e','e','e','e','W','e','W','e','R','e','e','e','R','e','W','e','W','e','e','e','e','e','e','e','e','e','e'},
    /* 16*/ {'e','e','e','e','e','e','W','W','e','W','M','e','e','e','e','e','M','W','e','W','W','e','e','e','e','e','e','e','e','e'},
    /* 17*/ {'e','e','e','e','e','e','W','e','e','e','e','e','e','e','e','e','e','e','e','e','W','e','e','e','e','e','e','e','e','e'},
    /* 18*/ {'e','e','e','e','e','e','W','e','e','e','W','e','W','e','W','e','W','e','e','e','W','e','e','e','e','e','e','e','e','e'},
    /* 19*/ {'e','e','e','e','e','e','W','W','W','e','W','e','e','e','e','e','W','e','W','W','W','e','e','e','e','e','e','e','e','e'},
    /* 20*/ {'e','e','e','e','e','e','e','e','W','e','W','W','W','e','W','W','W','e','W','e','e','e','e','e','e','e','e','e','e','e'},
    /* 21*/ {'e','e','e','e','e','e','e','W','W','e','e','e','e','e','e','e','e','e','W','W','e','e','e','e','e','e','e','e','e','e'},
    /* 22*/ {'e','e','e','e','e','e','e','W','e','e','e','e','e','e','e','e','e','e','e','W','e','e','e','e','e','e','e','e','e','e'},
    /* 23*/ {'e','e','e','e','e','e','e','W','e','e','W','e','e','e','e','e','e','e','e','W','e','e','e','e','e','e','e','e','e','e'},
    /* 24*/ {'e','e','e','e','e','e','e','W','W','W','W','e','e','e','e','e','W','W','W','W','e','e','e','e','e','e','e','e','e','e'},
    /* 25*/ {'e','e','e','e','e','e','e','W','S','S','D','e','e','e','e','e','D','e','e','W','e','e','e','e','e','e','e','e','e','e'},
    /* 26*/ {'e','e','e','e','e','e','e','W','S','S','W','W','W','W','W','W','W','e','e','W','e','e','e','e','e','e','e','e','e','e'},
    /* 27*/ {'e','e','e','e','e','e','e','W','W','W','W','e','e','e','e','e','W','W','W','W','e','e','e','e','e','e','e','e','e','e'},
    /* 28*/ {'e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e'},
    /* 29*/ {'e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e','e'},
            };I should move these to another file, usually like in C++ or something I would create a txt file or something and use include to include it. But I guess I should use import but I get an error saying my filename is not a package. How can I include this file in my code?
    2) Let's say my big class is called Big. I have a subclass called Levels I want to move out of the Big class.
    Should I create another class file called Levels.java and use import?
    This doesn't seem to work either...

    Number 2 is resolved. So thank you.
    With number one, not to go against your advice of reading in from a file and that is something I may do, but I was trying to get the other way to work first, which as you said involves declaring them as constants.
    I have tried:
    static char [][] Level_1_Board = ....
    char [][] Level_1_Board = ...
    final char [][]Level_1_Board = ...
    final static char [][] Level_1_Board = ...
    all are still code too large.
    But an interesting point maybe someone else can elucidate is that if I do say half the levels as final static char and the other half as just char it works...

  • Compilation Error Code too large for Try block

    I am getting error while jsp compilation.
              code too large for try statement.
              Can anybody help me in this. I am using WL 8.1.4
              Thanks in Advance
              Himanshu

    This article pretty much sums it up: http://www.experts-exchange.com/Web/Web_Languages/JSP/Q_20711819.html
              Your JSP_.java file will not compile to a .class file since the JSP is too large and the newer java compiler is more strict. You have to most likely break your JSP up using includes or use a more efficient design.

  • Oracle JSP Exception code too large for try block

    My jsp is exceeding the memory limit (64KB for Oracle 10g App server i think its the JVM limit),
    so it is throwing exception ,code too large for try block,how to over come this,I cant minimize the use of logic tags because it is business requirement.please help me out.

    I think you need to give a value to the attribute buffer in the <%@ page%> directive to solve the problem.
    There will not be any need of going for pagination then.
    buffer="none | 8kb | sizekb"The buffer size in kilobytes used by the out object to handle output sent from the compiled JSP page to the client Web browser. The default value is 8kb. If you specify a buffer size, the output is buffered with at least the size you specified.
    check the documentation at
    http://java.sun.com/products/jsp/tags/11/syntaxref11.fm7.html
    Uday

  • Windows Mobile 6 not syncing with Exchange Server / Error Code: 0x80072F06

    Just got my Dopod 838 pro with Windows Mobile 6 installed. Having this problem when trying to sync with corp. Exchange server:
    The ActiveSync circle on the phone turns yellow/brown, clicking the Error message it says:
    The Security Certificate on the server is invalid, please contact Exchange Server Admin or ISP, to install valid certificate on the server.
    Support / Error Code: 0x80072F06
    That's the problem. My phone doesn't have a Data Link connection problem as I am able to go online with it, also the company's Exchange Server is good, a few days ago I used my Windows Mobile 5 to sync with it without a problem. (but then I lost the phone)
    Can some one help? Thanks.

    Can u help me here?
    I have a windows 6 mobile devices (all) that are having an issue connecting to my exchange server. I am pretty useful with certs but this one is baffling me. I have a windows 2003 sbs server. I recently created a san cer on the server and since then my Windows devices cannot synch. I belive I have setup correctly, or not?? Ther error and the steps are below...
    ERROR ON DEVICE:
    The security certificate on the server is not valid.Contact your exchange server administrator or ISP to install a valid certificate on the server:
    support code: 0x80072f06
    STEPS I USED TO CREATE SAN:
    1. Created certificate using article http://support.microsoft.com/kb/931351/en-us
    I added the following as SN:        MAIL.EXTERNAL.COM     (my external dns record for mail server)
    And added the following for SAN: SERVER01                     (my mail server name )
                                                         SERVER01.INTERNAL.LOCAL  (my mail server fqdn)
    2. Exported Root CA cert and imported to my phone
    3. configured active synch to connect to mail.external.com on 443
    I believe these are the correct steps. I would liked to have been able to export the SAN cert from IIS with private key and install on phone but the webserver template doesnt allow you to export private keys. I also cannot create a dubplicate webserver template to allow the export of the private key as you need enterprise edition of windows 2003 to do this.
    So I am at the end of line I tried exporting the cert without the privtate key and importing it but still keep getting samer error.
    Why of Why does it not like my cert?
    I have just noticed now when I browse to the same address for OWA externally I am getting the error on my browser too even though I have the cert installed on my laptop
    Celtic

  • [9520] Server Memory is too low

    Getting an error on our login page every once in awhile where it says [9520] Server memory is too low. New login requests are not allowed. Please contact your system Administrator. We added more ram to the VM running the server. I couldn't see anything about recommended ram settings unless I am missing something. We have GWIA, MTA and Webmail all running on the same box with 6GB of ram. Anybody have any recommendations?
    Thanks,
    Nathan
    Update: Restarting tomcat seems to help for some time.

    On 08/09/2014 20:26, forresn wrote:
    > Getting an error on our login page every once in awhile where it says
    > [9520] Server memory is too low. New login requests are not allowed.
    > Please contact your system Administrator. We added more ram to the VM
    > running the server. I couldn't see anything about recommended ram
    > settings unless I am missing something. We have GWIA, MTA and Webmail
    > all running on the same box with 6GB of ram. Anybody have any
    > recommendations?
    Section 4.1 Hardware and Operating System Requirements in the GW2014
    Install Guide[1] includes
    --begin--
    Adequate server memory as required by the operating system
    Depending on the anticipated load on the GroupWise agents, additional
    memory might be required. For details, see Section 4.6, Sample Agent
    Memory Requirements[2].
    ---end---
    Section 4.6 lists 4GB under recommended memory for best performance of
    GWIA and its MTA with 4GB for WebAccess application. Given those two
    added together equal 8GB and you're running on virtual machine I'd
    suggest that you might want to increase the amount of memory available
    to the VM.
    Which OS is the server running and which virtualisation platform are you
    hosting the VM on?
    HTH.
    [1]
    https://www.novell.com/documentation...rdware_os.html
    [2]
    https://www.novell.com/documentation...nt_memory.html
    Simon
    Novell Knowledge Partner
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.

  • Activation server error code: e_adept_request_expired

    hi
    can anybody please help. i keep getting this error anytime i try to authorize my computer. i have tried all kinds of advice, including changing the date on my computer but that has help. i am using adobe digital editions version 3.0. the full error message is:
    Activation Server error
    code : E_ADEPT_REQUEST_EXPIRED http://adeactivate.adobe.com/Activate 2014-08-21T11:24:49-07:00%20(14086454890000)%20is%before%20before%202014-08-21T11:55:09-0 7:00%20(1408647309993)
    Please someone help me.

    That sometimes happens if you get time zone errors. n Check the time zone and time settings on your computer and on any eReader device (if you have one).
    Is this
    on the initial download of .acsm file from Library?
    on opening .acsm file in ADE and trying to download .epub file
    on transferring file to an eReader?

  • List of FTP Server Response Codes

    Hey all, we put together a list of FTP server response codes that some of you might find helpful. Check it out and let us know your thoughts:
    The Big List of FTP Server Response Codes
    This topic first appeared in the Spiceworks Community

    > Hi, In Golive you can connect to the FTP and then you
    have a list of
    > servers if
    > you have added them there. All you do is select a server
    and connect to
    > the
    > web. Can I do this in Dreamweaver?
    Only by creating a separate site definition.
    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
    ==================
    "Comp. 792" <[email protected]> wrote in
    message
    news:ge8plo$jjj$[email protected]..
    > Hi, In Golive you can connect to the FTP and then you
    have a list of
    > servers if
    > you have added them there. All you do is select a server
    and connect to
    > the
    > web. Can I do this in Dreamweaver?
    > I want to upload some files to a server I sometimes use
    but I don't want
    > to
    > change my default server settings.
    >
    > In Dreamweaver I don't see how I can have a list of
    servers. Can I only
    > connect with 1 server at a time?
    >

Maybe you are looking for