Coding error of a scriptlet

What's wrong with my coding? I had received the error for the following code during compilation:
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] Scriptlet_jsp.java:49: cannot resolve symbol
[javac] symbol : class Random
[javac] location: class org.apache.jsp.Scriptlet_jsp
[javac] Random index = new java.util.Random();
[javac] ^
[javac] 1 error
<%
    String[] color = {"white", "red"};
    Random index = new java.util.Random();
    String bgcolor = color[index.nextInt(1)];
%>
<body bgcolor=<%= bgcolor %>>

How do I import classes to JSP? Appreciate if some examples could be given.

Similar Messages

  • How do I find a coding error easily and quickly on a page?

    A page does not look like my other ones, so I assume there is a coding error.
    How do I find it easily?

    See these -
    https://support.mozilla.org/en-US/kb/where-go-developer-support
    https://developer.mozilla.org/en-US/docs/Tools

  • Content Coding Error in Firefox/Internet Explorer cannot display webpage

    I can log into Beehive without any issues. I used to be able to go to Workspaces > All My Workspaces and see all the workspaces I had access to. From this list, I could get to any of these workspaces. Now when I go to the same navigation, I get in 'Content Coding Error' in Firefox 9 and 'Internet Explorer cannot display webpage' in Internet Explorer 7.
    If I find an email that invited me to a specific workspace, I can access that workspace only. I cannot find a way to access all workspaces I have access to within Beehive.
    Please let me know what other information I need to provide for assistance.
    Thanks!

    Hi,
    https://beehiveonline.oracle.com/index.html is a public page with no obvious protection so anyone should be able to see it without any difficulty. If this is the page causing the issue then it suggests a local browser issue.
    If you are getting this after logging into https://beehiveonline.oracle.com/teamcollab then it means your account is not provisioned correctly. Contact us out of the forum with your details and we can check out if we have a provisioning issue. I would need your email address and any group you have been invited to be a member of - send it to [email protected]
    Phil

  • KEYBOARD NOT WORKING LEOPARD UPDATE POSSIBLE CODING ERROR??

    having read through all threads concerning this issue of internal MBP keyboards not working after installing leopard, and comparing to my own experience, it seems that everyone started having this problem soon after they must have downloaded the 1st software update to leopard.
    my MBP's keyboard currently does not work. How am I typing you ask?
    With the new apple USB aluminum keyboard. My boyfriend has it for his mac mini.
    Because all these keyboard problems are new and happening to everyone now, we have to assume this is related to the leopard update. They JUST released the aluminum keyboard around the same time they released leopard, so they probably had bugs with the usb aluminum keyboard and had to make some kind of change in the code with how leopard relates with keyboard input. so, it's most likely a coding error and we are at the mercy of apple for a freaking software update ASAP. Don't erase and install - because that will just take you back before the update, and then after you update your software again, it will happen again and your keyboard will crash. I updated my software yesterday and almost immediately started having this issue. my MBP is a week old and i had no issues before this with the keyboard until the update.
    The best thing we can do at this point is FLOOD APPLE WITH PHONE CALLS. We paid upwards of $3000 for a computer - holding down a key and messing with text edit is NOT acceptable.
    These are NOT solutions. Every time your keyboard stops working, and holds you up from doing your work, CALL THEM.
    That's what we think is happening...maybe something more severe is happening and we're wrong. but, hopefully, this is all it is and they will FIX IT as soon as possible because it's really annoying.

    Is anyone else running vmware or parallels?
    I had both installed at different times and realized that for whatever reason the kernel extensions for both were installed on my machine. I downloaded both from their respective website and ran the full uninstall.
    As of this moment my (then-persistent) keyboard issues are gone. I am not positive this was the solution as I just might not have had the problem yet (as they tended to be very sporadic), but it might be a good test if anyone else is using either of those software suites.
    If you open a terminal window and type kextstat, you will be shown a full report of kernel extensions that exist on your machine. Towards the bottom of the list parallels and/or vmware will be listed if they are installed.
    Hope this helps. Though I am still wondering if Leopard is the problem.

  • Billing form coding error...

    Ppl; Just upgraded (if you could call it that!!) the new itunes and it is requesting that I reconfirm my CC details for billing...Great, but it will not allow me to enter the CVV security code (the box is highlighted in red but will not allow data to be entered). Seems like a coding error as the box is there and all other data can be entered but just not this.
    PS Users beware, this new update wiped a great majority of my library (all titles remained however the path to most files became corrupt and music just dissapeared!!)

    ok thanks, I've got it working but It redirects me to Fatcow everytime someone fils out the form.
    I want it to redirect it to my thanks.html page, where do i put the code for this? i believe it doesn't have to be in a specific order end as long as it is in the form code somewhere it will pick it up.
    the line i need to add is......<input type="hidden" name="thankyou_url" value="www.webaddress.com/thanks.html">
    Would I be ok in putting the code in under the following?
    <form method= "post" action="http://www.fatcow.com/scripts/formemail.bml">
           <input type="hidden" name="my_email" value="    [email protected]">
           <input type="hidden" name="subject" value="Website Question">
    I've tried it but it doesn't work, Im sure there is something basic that Im doing wrong.

  • Hi, I'm moving my site from MobileMe to Filezilla and there is apparently a coding error on iWeb that means when I try to get onto my site there's no access online and it says there are too many redirects. Anyone have any idea what this might be?

    Hi, I'm moving my site from MobileMe to Filezilla and there is apparently a coding error on iWeb that means when I try to get onto my site there's no access online and it says there are too many redirects. Anyone have any idea what this might be?

    Well, firstly Filezilla is not a hosting company but an ftp client that helps you upload your site to your new server. You need to purchase a new hosting account first though.
    If you have iWeb 09 then you can publish directly to your new host and you select the publish to ftp option and not MobileMe - MobileMe won't be here after tomorrow.
    You can also publish to a local folder if want to and use Filezilla to upload your site to your server.
    You don't need re-directs as MobileMe won't be here so you need to cancel and delete your domain name from your MobileMe account and then cancel any domain name forwarding that you have at your domain name registrar - that is what the redirects are about.
    Firstly ensure that you have your new hostings account - Filezilla is not a host, rather an ftp client that you use to upload your site.

  • Enhance BW Extractor - Transactional data ABAP CODING ERROR

    i need to enhance CRM extractor with additional field.
    This is transactional data so i used Exit_rs_001
    Here is the extractor result -
    Guid...date...........objectid...item guid
    1122......1.1.10....901..........8811
    1122......2.1.10....901..........8812
    1123......1.1.10....902..........8813
    1123......2.1.10....902..........8814
    now i need field Product id in it which is called from DB Table CRMD_SRV_REFOBJ
    itemguid...referencekey...product
    8811............01.................110011
    8812............02.................110012
    8813............03.................110013
    now i want to extract data--
    Guid...date...........objectid...item guid...product
    1122......1.1.10....901..........8811.........110011
    1122......2.1.10....901..........8812.........110012
    1123......1.1.10....902..........8813.........110013
    so i appended the extractor...with field zproduct
    FOLLOWING Code doesnot work:::
    DATA: L_S_INFOSTRU LIKE ziw_orderma_i.
    CASE I_DATASOURCE.
    FIELD-SYMBOLS: <PRO_01> TYPE ziw_orderma_i.
    CASE i_datasource.
    WHEN 'ziw_orderma_i.'. " Upper case
    LOOP AT c_t_data ASSIGNING <PRO_01>.
    SELECT PRODUCT_ID INTO <PRO_01>-zZPRODUCT
    FROM CRMD_SRV_REFOBJ UP TO 1 ROWS
    WHERE ITEM_GUID = <PRO_01>-CRMD_SRV_REFOBJ.
    ENDSELECT. " not whole primary key
    ENDLOOP.
    ENDCASE.

    actually
    coding doesnt give any error
    but in output in rsa3 i dont see any data
    it worked fine wit the same code for master data datasource in exit...2
    now same code different parameters doesnt work in exit..1 for transactional data.

  • Coding Error in Exit substitution

    Hi Experts,
    I've assigned an Exit for MIRO-Substitution as 'UPCT'  in Form routine under report program 'ZRGGBS000'.
    In that I've to update the field of PRCTR for particular GL Account. The details of invoices available in bseg table parameter. I've to write a coding part where Im facing problem while looping.
    When I do loop at bseg ,it's saying an error as 'Version' expected after BSEG.
    Pls check below and reply me with example code .
      data: v_prctr type prctr.
    select single prctr into v_prctr from marc where matnr eq bseg-matnr.
      if sy-subrc eq 0.
        loop at bseg where hkont = '0000300016'.
          if bseg-prctr ne v_prctr.
            bseg-prctr = v_prctr.
          endif.
        endloop. 
        endif.
    My requirement is Thru material I'll get a Profit center value where the same I've to update in line item of particular GL account.
    Pls advise.
    Thanks & Regards
    sankar.

    Hi KPN,
    Sorry for the delay in reply.
    the table what u've written is right but it no way help me in this Form routine exit.
    I want to update the value to Profit center field for  Price difference GL Account which will be derived only at the time of posting MIRO.
    FYI: Pls go thru the std report,I've copied it into Z report and assigned a Form routine and inside to that I've to declare my coding part.
    Report : RGGBS000.
    Regards
    Sankar.
    Edited by: sankar babu on Aug 31, 2008 7:48 AM

  • Coding error cannot resolve

    i having this kind of error:
    sendMail.java:89: illegal start of type
    return true;
    ^
    sendMail.java:89: <identifier> expected
    return true;
    ^
    sendMail.java:92: 'class' or 'interface' expected
    ^
    sendMail.java:93: 'class' or 'interface' expected
    ^
    4 errors
    and my application coding are:
    package common;
    import java.util.*;
    import java.io.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import java.sql.*;
    import java.lang.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class sendMail{
         public void sending(String Address,String content,String subject,String attachment,String from_address, String host){
         // Get system properties
              Properties props = System.getProperties();
         // Setup mail server
              props.put("mail.smtp.host", host);
         // Get session
              Session session = Session.getDefaultInstance(props, null);
         // Define message
              MimeMessage message = new MimeMessage(session);
         try
              message.setFrom(new InternetAddress(from_address));
              message.addRecipient(Message.RecipientType.TO,new InternetAddress(Address));
              message.setSubject(subject);
              message.setText(content);
         // Send message
         Transport.send(message);
         catch (MessagingException e)
              System.err.println("Caught Exception: "
    + e.getMessage());
    boolean retryFlag = true;
    // Log the error
    synchronized (logger) {
    errorHandler.error("[COULDNT_SEND_MESSAGE]", e);
    if (e instanceof SendFailedException) {
    SendFailedException sfe = (SendFailedException) e;
    Address[] invalid = sfe.getInvalidAddresses();
    addressWarning("[INVALID_ADDRESSES]", invalid);
    Address[] validUnsent = sfe.getValidUnsentAddresses();
    addressWarning("[VALID_UNSENT_ADDRESSES]", validUnsent);
    Address[] validSent = sfe.getValidSentAddresses();
    addressWarning("[VALID_SENT_ADDRESSES]", validSent);
    if (invalid != null && invalid.length > 0)
    retryFlag = false; // there is no point to retry
    // Retry with a new transport object. Don't log any new errors.
    if (retryFlag) {
    Transport newTransport = null;
    try {
    // Try to resend the message using a new connection
    newTransport = session.getTransport(protocol);
    newTransport.connect();
    newTransport.sendMessage(msg, msg.getAllRecipients());
    // Try to close the old transport
    try {
    transport.close();
    } catch (Exception t) {
    // The new transport object worked
    transport = newTransport;
    return true;
    } catch (Exception t) {
    // The new transport failed too. Try to close it
    if (newTransport != null)
    try {
    newTransport.close();
    } catch (Exception t2) {
    return false;
    return true;
    can someone help me to solve. i already use my whole day time try to solve the problem, but i still cannot get it. who expert on this field please open your kindly heart, give a way out to me. thank you.
    regards,
    albert

    First: please stay with the coding convention and Use capital letters for class names (I suggest "Mailor" instead of "sendMail").
    Second: use the code tags in this forum so that source code is formatted in a readable way.
    Third: you can't return something in a method without a return type (void).
    Fourth: please work through http://java.sun.com/docs/books/tutorial/java/index.html

  • Coding Error. Please help

    Hi guys,
         can anyone help me to solve this problem. I just wanna to get the customer name from a java bean "jCustomer" and stored
    it into the variable "custName". Next, i will check whether custName is null then the jsp will display accordingly.
    Thanks guys.
    (if someone writes some codes)
    The Error-->
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    An error occurred at line: 49 in the jsp file: /CreateAccount.jsp
    Generated servlet error:
    C:\j2sdkee1.3.1\repository\junyong-comp\web\createAccountApp\CreateAccount$jsp.java:94: Incompatible type for =. Can't convert void to java.lang.String.
    custName =
    ^
    1 error, 1 warning
    My Coding-->
    <jsp:useBean id="jCustomer" class="com.DESApp.javaBean.JCustomerBean" scope="request"/>
    <%! String custName; %>
    <% custName = %><jsp:getProperty name="jCustomer" property="name"/>
         <%if(custName != null && custName.length() != 0)
              {%>
              <DIV ALIGN=CENTER><p><font color="#000000" size="6">
              Customer: <font color="#0000FF"><U><jsp:getProperty name="jCustomer" property="name"/></U></font>
              's Account is Created with Customer ID: <font color="#0000FF"><U><jsp:getProperty name="jCustomer" property="customerID"/></U></font></font></p></DIV>           
              <%}
         else
              {%>
              <P> <font size="6">Error Messages:</font> <font color="#FF0000">
              <jsp:getProperty name="jCustomer" property="message"/>
              </font>
         <%}%>     

    the JSP file will be translate into JAVA file on the side of server.
    as your code , I think ,It was translated as blow :
    try{
    jCustomer= (com.DESApp.javaBean.JCustomerBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.DESApp.javaBean.JCustomerBean");
    // instantiate the bean
    String custName;
    custName = out.print(JspRuntimeLibrary.toString(((com.DESApp.javaBean.JCustomerBean)pageContext.findAttribute("globalBea
    n")).getName())));
    if(custName != null && custName.length() != 0)
    you may modify your code as blow:
    <%! String custName; %>
    <% custName = jCustomer.getName();%>
    <%if(custName != null && custName.length() != 0)

  • 6x6 MIMO-OFDM System with NI USRP thread coding error

    Hi,
    I am newbie in this field. I have tried the 6x6 MIMO example and change it to 2x2 MIMO (by using combination of 4 USRP and 2 MIMO cable). However it occured an error as shown below:
    Hope you can guide me regarding this matter.
    Thank you.
    Rushidi

    Hi Sshearman,
    Example doesn't requires the external PPS, I have try it without any external PPS,and it works. The problem was in the shame, in example transmitters TX2,TX3 and TX5 are connected directly with Gb Ethernet cable with switch and PC, and for their channels (1,2 and 4), trigger parameters must be set. In the schema, there is some text string (1,2,4), who defines channels in witch trigger must be set.
    I was connected two NI USRPs 2920 on channel 0 and 1, but i didn't change txt string. After changing txt string to (0,1), everything works correctly.
    I have another question. 
    I tryed to set mimo 2x2 with alamauthi codeing like in example http://www.ni.com/white-paper/13878/en. Everythime this error pops up:
    "A stream command was ishued in the past". What can i do to solve this problem?
    Thanks
    Pixus

  • Supplied Templates introduce coding errors?

    Dreamweaver CS3. I choose a blank template at startup,
    specifically, Create from Samples...Frameset...Fixed Top, Nested
    Left...Create...OK (to accept default attributes). If I now run a
    "Validate Current Document" routine on this pristine template, I
    get multiple errors in the report. This also is the case if I
    populate the individual frames with data as appropriate. The error
    I especially note is the "The tag:"noframes" is not allowed within:
    "html" It is only allowed within: frameset.[XHTML 1.0 frameset]"
    This seems to be referencing a coding from the supplied blank
    template where the
    <noframes><body></body></noframes></html>
    tags are placed AFTER the final </frameset> tag. If
    Dreamweaver's own validation routine reports this as an error, I
    guess I would have expected Dreamweaver's own supplied template to
    have had the correct coding in the first place.
    I've not identified any problems with this behavior--at least
    the resulting document seems to function perfectly well in IE7--but
    was curious from a compulsive coding point of view. Any
    clarification or further discussion on this?

    How would you rank this request relative to something like
    adding more
    server behaviors, or improving the ones we already have, in
    preparation for
    DW10? See - that's the problem. Don't think for an instant
    that this task
    is not already on the list. It's a long list, and other tasks
    are MUCH
    more important, not just to the bottom line, but also to
    customer appeal.
    You know how that goes? I think it's more likely that frames
    would be
    removed altogether, than that these sample pages would be
    fixed. It *is* a
    fitting demise for such an antique method, doncha think? 8)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "klettke" <[email protected]> wrote in
    message
    news:f3kfik$l5i$[email protected]..
    > Of course. One can always avoid frames. Sometimes bells
    and whistles
    > like
    > this, Flash animations, audio files and such are felt by
    the customer to
    > be the
    > best thing since sliced bread. A lot of time is spent
    explaining why such
    > things are seldom desirable and seldom improve the
    bottom line, i.e.,
    > income if
    > it's a commercial site.
    > It wasn't so much the question about validation as it
    was something for
    > Adobe
    > to address--one part of their software is in conflict
    with another section
    > of
    > the same software. If I were one of the programmers for
    Dreamweaver, I'd
    > view
    > this as a challenge to correct. Since my question was a
    general request
    > for
    > further discussion, in that sense, I'm happy to treat
    this as a "question
    > has
    > been answered." Thanks, all.
    >

  • Help needed with coding error message

    I have a webpage in which I have inserted a mortgage calculator widget from zillow.  Everything looks good on browser view...but errors when validating. 
    This is where I downloaded the widget. 
    www.zillow.com/webtools/widgets/MortgageCalculatorWidget.htm
    Here is my html code for the page:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
    <!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
    <!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
    <!--[if gt IE 8]><!-->
    <!--<![endif]-->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>financing</title>
    <link href="../../boilerplate.css" rel="stylesheet" type="text/css">
    <link href="../../styles.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    body {
              background-color: #F9F8F6;
    background-image: url(file:///C|/Users/Kim/Documents/Kim's_New_PQH_website/Assets/Images/background_texture _blue159.jpg);
    </style>
    <link href="../../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    a:hover {
              color: #009900;
    </style>
    <!--
    To learn more about the conditional comments around the html tags at the top of the file:
    paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
    Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
    * insert the link to your js here
    * remove the link below to the html5shiv
    * add the "no-js" class to the html tags at the top
    * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
    -->
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="../../respond.min.js" type="text/javascript"></script>
    <script src="../../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="LayoutDiv1"><img src="../Images/newbannernewlogo.jpg" alt="NewbannerNewLogo"></div>
      <div id="Navigation">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li>
            <div><a href="#">Home</a> </div>
          </li>
          <li>
            <div><a href="#" class="MenuBarHorizontal">Home Plans</a></div>
          </li>
          <li>
            <div><a href="#">New Homes / Lots</a> </div>
          </li>
          <li>
            <div><a href="#">Gallery</a> </div>
          </li>
          <li>
            <div><a href="#">Financing</a> </div>
          </li>
          <li>
            <div><a href="#">About Us</a> </div>
          </li>
          <li>
            <div><a href="#">Contact Us</a> </div>
          </li>
        </ul>
      </div>
      <div id="finance_pic"><img src="../Images/finance pic.jpeg" alt="finance_pic" width="65%" height="282"></div>
      <div id="finance_info">
        <p>By using a mortgage calculator, you can save time by focusing on homes that fit your budget. There are many types of loans available including:  </p>
      </div>
      <div id="loan_choices">
        <ul type="square">
          <li><a href="http://homeguides.sfgate.com/conventional-loans-2669.html">Conventional FNMA</a></li>
          <li><a href="http://banking.about.com/od/mortgages/a/FHALoans.htm">FHA</a></li>
          <li><a href="http://www.benefits.va.gov/homeloans/">VA</a></li>
          <li>Little or no money down w.a.c.</li>
        </ul>
      </div>
      <div id="finance_into">
        <p>Finding the right financing to purchase your new home from pre-qualifying to close is as important, if not more important than finding your dream home itself.</p>
        <p> you have your own financing or you wish to utilize a Preferred Quality Homes lender, PQH will ensure that you have the best financing to meet your needs and make your dreem home become a reality.</p>
      </div>
      <div id="mortgage_cal"><div id="horizontalWidget" style="width:370px;overflow:hidden;text-align:center;font-family:verdana,arial,sans-serif ;font-size:8pt;line-height:13x;background-color:#3399cc;letter-spacing:0;text-transform:no ne;border-radius: 5px;webkit-border-radius:5px;"><div style="margin:6px 0;"><a href="http://www.zillow.com/mortgage-calculator/" target="_blank" title="Mortgage Calculators on Zillow" style="font-family:Arial;font-size:15px;text-decoration:none;font-weight:bold;color:#f0f2 f4;cursor: pointer;display: block;text-align: center;text-shadow: 0 1px #000;">Calculate Payment</a></div><div style="width:352px;margin:0 auto;background-color:#e3f2f9;text-align:left; font-size:8pt;border-radius: 5px; border: 1px solid;border-color:#2e84ae;webkit-border-radius: 5px;padding: 0 1px;"><iframe title="Mortgage Calculator" frameborder="0" height="235px" style="float:left;" scrolling="no" width="352px" src="http://www.zillow.com/mortgage/SmallMortgageLoanCalculatorWidget.htm?price=400000&wtype=sp c&rid=102001&wsize=small&textcolor=3399cc&backgroundColor=e3f2f9&advTabColor=5ba0c1&bgcolo r=3399cc&bgtextcolor=f0f2f4&headerTextShadow=000&widgetOrientationType=horizontalWidget"> Your browser doesn't support frames. Visit <a href="http://www.zillow.com/mortgage-calculator/" target="_blank" style="text-decoration:none; font-size:9pt; font-weight:bold;">Zillow Mortgage Calculators</a> to see this content. </iframe><diV style="clear:both;"></div></div><div style="height:20px;"><span style="display:block;margin:0 auto;font-size:7pt;height:15px;width:178px;color:#f0f2f4;padding-top:2px;"><a href="http://www.zillow.com/mortgage-rates/" target="_blank" title="Zillow Mortgage Marketplace" style="text-decoration:none;color:#3366bb;font-weight:normal;font-family:verdana,arial,sa ns-serif;font-size:7pt;color:#f0f2f4;">Zillow Home Loan Calculator</a></span></div></div></div>
    <div id="BottomNav">
      <div>
          <div>Home  |  Our Homes  |  Neighborhoods  |  Gallery  |  Financing  |  About Us  |  Contact Us </div>
        </div>
    </div>
      <div id="PriceAvail">
        <div>
          <div>Pricing and Availability are subject to change without notice</div>
        </div>
      </div>
      <div id="Footer">
        <div>
          <div>Copyright &copy; 2012 PreferredQualityHomes.com, pqualityhomes.com, pqhhomes.com, &amp; Preferred Quality Homes, L.L.C. All rights reserved. Last updated 10/31/12</div>
        </div>
      </div>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    ANY help would be appreciated!  
    Kim

    Can you tell me how to do that?
    On Jul 25, 2013 10:26 PM, "mytaxsite.co.uk" <[email protected]

  • FM ABAP coding error

    i created GENERIC datasource  and i am trying to fill the values in that datasource using Fm.
    Within my FM i want to call FM- CRM_ORDER_READ to get the values.
    now when u execute CRM_ORDER_READ, i want the data from segments
    ET_ORDERADM_H : GUID
    ET_ORDERADM_H :  OBJECT ID
    & ET_ORDERADM_I : HEADER
    ET_ORDERADM_I :  ITM_TYPE
    now, when HEADER = guid extract ALL ITEM TYPES
    extract data for all guids.  (guid is something like order number which is key in between different segments.)
    my code below gives NO-Error and short dumps at execution in RSA3-
    ERROR IS : FM- CRM_ORDER_READ is called with ITM-TYPE. ITM_TYPE is not defined.
    can somebody suggest corrections:
    CASE I_DSOURCE.
    WHEN 'ZCRM_COMP_TEST_D2'.
    WHEN OTHERS.
    IF 1 = 2. MESSAGE E009(R3). ENDIF.
    LOG_WRITE 'E' "message type
    'R3' "message class
    '009' "message number
    I_DSOURCE "message variable 1
    ' '. "message variable 2
    RAISE ERROR_PASSED_TO_MESS_HANDLER.
    ENDCASE.
    APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.
    S_S_IF-REQUNR = I_REQUNR.
    S_S_IF-DSOURCE = I_DSOURCE.
    S_S_IF-MAXSIZE = I_MAXSIZE.
    ELSE. "Initialization mode or data extraction ?
    loop at s_s_if-t_select into l_s_select
    where fieldnm = 'ITM_TYPE'.
    move-corresponding l_s_select to L_R_ITM_TYPE.
    append L_R_ITM_TYPE.
    endloop.
      OPEN CURSOR WITH HOLD S_CURSOR FOR
         SELECT *  FROM CRMD_ORDERADM_H
            WHERE PROCESS_TYPE  EQ 'STT1'.
       ENDIF. "  this endif is for the IF S_COUNTER_DATAPAKID = 0.
               " this will ensure the base records are selected from header with a pariticular doc type for the
               " for the cursor
    FETCH NEXT CURSOR S_CURSOR
    APPENDING CORRESPONDING FIELDS
    OF TABLE E_T_DATA
    PACKAGE SIZE S_S_IF-MAXSIZE.
    IF SY-SUBRC EQ 0.
    Here select the guid of the header table which can be used in the FM
    DATA : LT_HEADER      TYPE            CRMT_OBJECT_GUID_TAB     .
           SELECT GUID FROM CRMD_ORDERADM_H
           INTO  TABLE LT_HEADER
                    WHERE PROCESS_TYPE  EQ 'STT1'.
       "CAll the FM here
           CALL FUNCTION 'CRM_ORDER_READ'
           EXPORTING
             IT_HEADER_GUID = LT_HEADER
           IMPORTING 
                                 ITM_TYPE = CRMD_ORDERADM_I-ITM_TYPE.
         " MOdify e_t_data .... transporting your fields from FM
       ENDIF .
       IF SY-SUBRC <> 0.     
    CLOSE CURSOR S_CURSOR.
    RAISE NO_MORE_DATA.
    ENDIF.
    S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
    ENDIF. "Initialization mode or data extraction ?
    ENDIF.
    ENDFUNCTION.
    any inputs??

    so i modified the code , it is bringing values for GUID & Object id (Order Numbers) but the field for ITEM_TYPE is always empty.
    what modification needs to be done in code so that it item_type is populated.
    (the logic is something like when GUID of   et_orderadm_h = Header of   et_orderadm_i, bring in all ITEM TYPES)
    so data in   et_orderadm_h is
    GUID--OBJECT ID
    111.......101
    112.......102
    and data in   et_orderadm_i is :
    GUID--Header guid.........item types
    911.......111........................ORD1
    912.......111........................ORD2
    913.......111........................ORD3
    914.......112........................ORD4
    915.......112........................ORD5
    916.......112........................ORD6..............
    IF S_COUNTER_DATAPAKID = 0.
           loop at s_s_if-t_select into l_s_select
             where fieldnm = 'ITM_TYPE'.
             move-corresponding l_s_select to L_R_ITM_TYPE.
             append L_R_ITM_TYPE.
             endloop.
            OPEN CURSOR WITH HOLD S_CURSOR FOR
            SELECT *  FROM CRMD_ORDERADM_H
            WHERE PROCESS_TYPE EQ 'ZSRV'.
    FETCH NEXT CURSOR S_CURSOR
    APPENDING CORRESPONDING FIELDS
    OF TABLE E_T_DATA
    PACKAGE SIZE S_S_IF-MAXSIZE.
    IF SY-SUBRC EQ 0.
    DATA : LT_HEADER TYPE CRMT_OBJECT_GUID_TAB .
           SELECT GUID FROM CRMD_ORDERADM_H
           INTO  TABLE LT_HEADER
             WHERE PROCESS_TYPE EQ 'ZSRV'.
       "CAll the FM here
           CALL FUNCTION 'CRM_ORDER_READ'
            EXPORTING
              it_header_guid = lt_header_guid
              it_requested_objects = lt_request_objs
              IMPORTING
                et_orderadm_h = lt_orderadm_h
                et_orderadm_i = lt_orderadm_i
                et_status = lt_status.
          ENDIF .
            IF SY-SUBRC <> 0.
              CLOSE CURSOR S_CURSOR.
              RAISE NO_MORE_DATA.
              ENDIF.
    S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
    ENDIF...
    any inputs???????

  • Newbie Simple app issue most likely related to user coding error

    I'm fairly new to the Cyberflex infrastructure and most likely the issue is with my CODE. Basically, I wrote a simple java cardlet without much error checking to try to retrieve a stored object on the card such as a userId. What I think I'm missing or don't understand is how to capture the incoming APDU and respond to it within the process method.
    Error:
    I keep getting a [6C 01] status word return code? Is this a valid Status Word?
    Environment Setup:
    Compiler: jdk1.3.1
    Axalto SDK: 4.4
    Card: Cyberflex e-gate 32k (not personalized and it has no pin assigned to it)
    OS: Windows 2K
    Any help will be greatly appreciated.
    Thank you in advance,
    Alfredo
    Here is the code:
    package Simple.JavaCard;
    import javacard.framework.*;
    public class SimpleJcardTest extends javacard.framework.Applet
    /**======================================
    *Global/constants
    *=======================================*/
    byte userId[];
    final static short MAX_USER_ID_SIZE = ( short )10;
    /**=====================================
    * Defining APDU Instructions that the
    * card response to
    *======================================*/
    // User Defined CLA byte for the command APDU header
    final static byte CLA = ( byte )0xB0;
    //User Defined INS byte for the command APDU header
    final static byte GET_USER_ID = ( byte )0x02;
    //User Defined applet-specific return status words.
    /**====================================
    *Constructor -Create object,initialize
    * the object, register the applet instance
    *=====================================*/
    protected SimpleJcardTest(byte[] bArray, short bOffset, byte bLength )
    //1. Create the object(s)
    userId = new byte[MAX_USER_ID_SIZE];
    //2. Initialize the object(s)
    userId[0] = 0x4a; // J
    userId[1] = 0x6f; // o
    userId[2] = 0x68; // h
    userId[3] = 0x6e; // n
    userId[4] = 0x00; //
    userId[5] = 0x00; //
    userId[6] = 0x00; //
    userId[7] = 0x00; //
    userId[8] = 0x00; //
    userId[9] = 0x00; //
    //3. Register the applet instance
    register();
    /**====================================
    *Install the applet -- creates an instance
    *of the Applet Main entry point into the applet
    *=====================================*/
    public static void install(byte[] bArray, short bOffset, byte bLength )
    //bArray - contains installation parameters.
    //bOffset - contains the starting offset into the array.
    //bLength - contains the length of the parameter data in the
    // array.
    //installation parameters are loaded onto the smart
    //card when the applet is installed
    new SimpleJcardTest(bArray, bOffset, bLength);
    /**====================================
    *Wait in a suspended state until being selected by the JCRE
    *Executed after being initialized                               
    *=====================================*/
    public boolean select()
    return true;
    /**=====================================
    *Process an incoming APDU command
    *Executed after the applet is selected
    *======================================*/
    public void process(APDU apdu) throws ISOException
    //apdu - The JCRE creates an APDU object as a way to
    // communicate a command APDU to a Java Card applet
    // and to receive a response APDU from the Java Card applet.
    // All incoming requests from the host application are sent
    // to the applet's process method for processing.
    // First five bytes CLA, INS, P1, P2, P3 ]
    // [Note: minimal error checking for sample purpose]
    byte[] buffer = apdu.getBuffer(); //Get a reference to the APDU buffer
    this.getUserId(apdu); //Get the UserId stored on the Card
    private void getUserId(APDU apdu)
    byte[] buffer = apdu.getBuffer();
    // Move the UserId data into the APDU buffer
    // starting at the offset
    // src - source byte array
    // srcOff - offset within source byte array to
    // start copy from
    // dest - destination byte array
    // destOff - offset within destination byte array
    // to start copy into
    // length - byte length to be copied
    Util.arrayCopy(userId,(short)0,buffer,ISO7816.OFFSET_CDATA,MAX_USER_ID_SIZE);
    // 1.Inform system that the applet has finished processing the
    // command and the system should now prepare to construct a
    // response APDU which contains data field.
    // 2. Params
    // ISO7816.OFFSET_CDATA
    // - The offset into APDU buffer
    // MAX_USER_ID_SIZE
    // - The bytelength of the data to send
    apdu.setOutgoingAndSend(ISO7816.OFFSET_CDATA, MAX_USER_ID_SIZE);

    An oversight on my part that was discovered by a second set of eyes.
    1. Invalid expected return size was specified.
    final static short MAX_USER_ID_SIZE = ( short )10;
    needed to be changed to
    final static short MAX_USER_ID_SIZE = ( short )0xA;
    2. The calling apdu needed to be modified to
    B0 02 00 00 0A
    Well I hope this helps others as well

Maybe you are looking for

  • How to add a java library?

    Hello! Can some one help me on the following problem? I am writing a DOM parser and I need to print out the modified xml file. So I want to use the write funcition defined in the com.sun.xml.tree.XmlDocument library. But this package is NOT included

  • Itunes 10.5.3

    help with itunes 10.5.3 can't install it on windows 7 it aborts right about at the end of the process with some error

  • Emailing received 1 page PDFs no longer  works

    As to 2 days ago I have not been able to send a copy of a pdf I have received to another user. using my default email acout.  I followe instrucityons to set up an Outlook account as directed.  I can clik inthe email icon and will in the required item

  • IPhone has deleted all music and won't sync it back??

    I tried to sync a new CD onto my iPhone, and it would not appear on my phone. When i clicked on the 'Music On My Device" tab on iTunes, the songs were in grey with a circle next to them. I then tried to play a pre-existing song on my phone, but my if

  • Windows 7 Pro giving a notification that "this windows isn't genuine" message.

    Hello - I was told to post this question here by Srimadhwa B I work at a museum and I just upgraded an exhibit the first one out of MANY!!! This is a rack mount system - AMX Controller controlling 9 PC's - 8 of the PC's drive uncompressed HD video to