Please resolve error

<html>
<head>
<title>JSP Programming</title>
</head>
<body>
<%! boolean curve(int i,int j)
      return  i+j;
    boolean curve(int i)
        return 10+i;
%>
<p><%=curve(70,10)%></p>
<p><%=curve(70)%></p>
</body>
</html>Error:
found : int
required: boolean
return i+j;
found : int
required: boolean
return 10+i;

<html>
<head>
<title>JSP Programming</title>
</head>
<body>
<%! boolean curve(int i,int j)
boolean status ;
            if( 10 + i != 0 ){
            status =  false;
        }else{
            status =  true;
        return status;
%>
<p><%=curve(70,10)%></p>
<p><%=curve(70)%></p>
</body>
</html>try this if still have problem; write what do you want to solve?

Similar Messages

  • Please resolve error ORA-00245:

    Hi
    what is the solution of foloowing error
    11gr2
    aix
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 06/20/2011 10:23:57
    ORA-00245: control file backup operation failed
    thanks

    you need to configure snapshot controlfile,
    source:
    RAC BACKUP FAILS WITH ORA-00245: CONTROL FILE BACKUP OPERATION FAILED [ID 1268725.1]
    RMAN Snapshot Controlfile Must Reside on Shared Device for RAC database [ID 1263621.1]
    answered by CKPT
    reference:-Re: ORA-00245 on alert_log.
    also refer,
    http://yichen-oracledba.blogspot.com/2011/02/11gr2-rac-backup-fails-with-ora-00245.html

  • PLEASE RESOLVE THE MIRO ERROR

    Hi gurus,
    please resolve the problem urgent.
    while doing MIRO Iam getting the following error.
    after given PO number in MIRO I getting the following error. please how to resolve the problem.
    Error in account determination: table T030K key ASHA VST V0
    Message no. FF709
    Diagnosis
    In the chart of accounts to be posted to, no accounts are defined for the tax code you used.
    Procedure
    Contact your system administrator.
    Define the accounts to which a tax posting is to be made with the tax code entered in Customizing for taxes on sales/purchases.
    To do this, choose Maintain entries (F5).
    where i can determin the accounts, which accounts will be effect.
    Thank you & Regards
    Anil

    Dear Anil,
    Go to the transaction code FTXP. Give the country code and then the tax code.
    Now on the top, there would be a tab for the "Accounts". Click on it and for the chart of accounts, give the GL accounts.
    Alternatively, go to OB40, for the accounting key V0, give the GL accounts.
    Assign points if useful.
    Regards
    Venkatesh

  • MIRO error please resolve the problem

    Hi gurus,
    please resolve the problem urgent.
    while doing MIRO Iam getting the following error.
    after given PO number in MIRO I getting the following error. please how to resolve the problem.
    Error in account determination: table T030K key ASHA VST V0
    Message no. FF709
    Diagnosis
    In the chart of accounts to be posted to, no accounts are defined for the tax code you used.
    Procedure
    Contact your system administrator.
    Define the accounts to which a tax posting is to be made with the tax code entered in Customizing for taxes on sales/purchases.
    To do this, choose Maintain entries (F5).
    where i can determin the accounts, which accounts will be effect.
    Thank you & Regards
    Anil

    Hi,
    You have to maintain the GL accounts for the correct combination of country, tax code, chart of accounts etc in the tcode FTXP for the transaction VST.
    I hope either the transaction VST or the tax code V0 was newly added
    You can get the correct GL account by askign the person who has initiated this change. May be your FI team member also can help.
    T030K is the table which gets updated while you maintain teh entries through FTXP tcode.
    Hope this helps you

  • TS3221 How do I resolve error meassage 0xE800007F please

    How do I resolve error message 0xE800007F please - cannot sync with iphone over wifi

    How do I resolve error message 0xE800007F please - cannot sync with iphone over wifi

  • TS3694 How to resolve error code 1015 in restoring apple iphone. Please guide

    How to resolve error code 1015 in restoring apple iphone. Please guide.

    Unauthorized modification of iOS
    http://support.apple.com/kb/HT3743
    ERROR 1015...
    This Error Code is indicative of the Device being jailbroken / Hacked...
    Sorry... But...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    You will need to look elsewhere.

  • TS3694 i have i phone 3g ios 4.2.1 so i wana to restore so now it is showing an error 1015 so please resolve my problem

    i have i phone 3g ios 4.2.1 so i wana to restore so now it is showing an error 1015 so please resolve my problem

    Shiv lal wrote:
    i have i phone 3g ios 4.2.1 ..  now it is showing an error 1015
    Unauthorized modification of iOS  >  http://support.apple.com/kb/HT3743
    ERROR 1015...
    This Error Code is indicative of the Device being jailbroken / Hacked...
    Sorry... But...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    You will need to look elsewhere.

  • TS3694 Please tell me how to resolve error 1015 when trying to restore an Iphone 3g!!!!

    Please tell me how to resolve error 1015 when trying to restore an Iphone 3g!!!!

    https://discussions.apple.com/message/18540882#18540882

  • TS3694 how do i resolve error 1015 please

    How do i resolve error code 1015 please

    Unauthorized modification of iOS
    http://support.apple.com/kb/HT3743
    ERROR 1015...
    This Error Code is indicative of the Device being jailbroken / Hacked...
    Sorry... But...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    You will need to look elsewhere.

  • How do I resolve error message R6034

    How do I resolve error message R6034 when trying to access itunes

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • TS3694 How do I resolve error 1015?  I was syncing my phone to the computer and got this error about iTunes.  Now my phone is stuck on a screen with iTunes word and the USB symbol.

    How do I resolve error 1015 when syncing my phone to Mac?  Now the phone is stuck on iTunes icon and USB drive icon and not letting me get calls or make calls.  Please help.

    Wow I see from the other responses to similar questions that the phone may be jailbroken.  I thought I was purchasing an unlocked phone that was legal to use with any system.  What a disappointment, I will have to go back to where I purchased this phone and let them have an ear full.

  • How do I resolve error 1310 while installing crystal report version for visual studio 2010.

    How do I resolve error 1310. I try to install crystal version for visual studio 2010, but I got this error message. Error 1310. Error writing to file. mcf80.dll.verify that you have access to that directory. My pc is window 7 (32 bit). Please I need help
    urgently to work with this program in my system successfully. Please help.

    Hello Dorohidea,
    Do you mean that when you install crystal report in virtual studio 2010, you receive the error message about error 1310?
    Please take a look at the following KB.
    Support for Crystal Reports for Visual Studio
    https://support.microsoft.com/kb/317789/en-us
    In Visual Studio 2010, to create a Crystal Reports project or Web site or to import existing projects or Web sites that were created by using older versions of Visual Studio or Crystal Reports, you must first install a version of Crystal Reports that is
    compatible with Visual Studio 2010.
    For more information about how to use Crystal Reports in Visual Studio 2010, visit the following SAP Crystal Reports website:
    http://www.sap.com/crystalreports/vs2010
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • How do you resolve error 213:11 for photoshop elements 9 and 8

    how do you resolve error 213:11 for photoshop elements 9 and 8?

    Hi,
    Please refer to:
    http://helpx.adobe.com/creative-suite/kb/error-store-does-not-allow.html
    Thanks,
    Anwesha

  • TS3694 how to resolve error 1015

    please help resolve error ' iPhone could not be restored.An unkhown error occurred 1015'

    Unauthorized modification of iOS
    http://support.apple.com/kb/HT3743
    ERROR 1015...
    This Error Code is indicative of the Device being jailbroken / Hacked...
    Sorry... But...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    You will need to look elsewhere.

  • How to resolve errors - ORA-01033: ORACLE, or closed, or initialized ,ORA-02063: Previous line from D1558A_IFRSQRY

    Hi Expert,
        Please tell me how to resolve errors - ORA-01033: ORACLE, or closed, or initialized ,ORA-02063: Previous line from D1558A_IFRSQRY
    Thanks and Regards

    Google is obviously broken for you: so I've posted what you need to put into your browser.
    https://www.google.co.uk/search?q=ORA-01033

Maybe you are looking for

  • How can I switch different JRE in one PC

    I am sorry to post it in this forum because I post almost the same in JRE forum but I don't get any help there for 2 days. My problem is that I have two systems to be used in different JRE enviroment.A system can only run in JRE 1.3 and B system can

  • Problems rendering motion projects in Final Cut.

    When I import a motion project into final cut, and attempt to render it once it's on the timeline, i just get a black screen.

  • Lyrica 2 app removed from the app store?

    Hello. I've Noticed that the Lyrica 2 app has been removed from the app store. What happened? And is there a way to have my money back? 0,99 is not much, but it's really frustrating.

  • ACS Appliance Hardware functionality

    Just received a new ACS Appliance and in testing out the functionality I've encountered a couple of curious issues... Shutdown -- Have tried doing shutdown from both HTTP and Serial connections. Command is accepted and the hard drive light flashes fo

  • Ipod 5 screen rotation

    The screen of my ipod 5 won't rotate. The lock rotation button isn't selected so that's not the problem and there's still movement in the background when I'm in the main menu. It doesn't rotate in apps or on the keyboard when I write emails. It won't