% if () {%   %} if() {% %}% Why  does Error occur?

Hi,
can somebody help me to understand why does error occur in this example?
<% if (k.equals("1")) {%>
html tags
<%}
if (k.equals("2")) {%>
html tags
<%}%>
If there is only one condition it works, but if tere are two, the second condition lead to the error on server.
Thanks and Best Regards,
sergey

that's some ugly, hard to read scriptlet code. Go learn JSTL right away.
Impossible to tell from what you've posted. Maybe the variable k isn't in scope for both or something like that.
Your HTML tags might be wrong, too. Who knows? You've posted so little...

Similar Messages

  • I am facing an issue " Denied connection per minute from one ip address" why this error occur and how to resolve it? is it really harmful for my TMG Server or not??

    I am facing an issue " Denied connection per minute from one ip address" why this error occur and how to resolve it? is it really harmful for my TMG Server or not??
    Error Description:
    The number of denied connections from the source IP address 10.0.0.X exceeded the configured limit. This may indicate that the host is infected or is attempting an attack on the Forefront TMG computer. 
    electrifying

    Hi,
    this may be a false/positive log record.
    First check the services and applications on the effecting machine (NETSTAT -ANO) to see which connections the machine has established or tries to establish.
    Check the machine against viruses and spyware.
    if you don't find any viruses / spyware or "mysterious" connections, create a connection exception limit in the flood mitigation settings on your TMG Server:
    http://www.isaserver.org/articles-tutorials/configuration-security/TMG-Firewall-Flood-Mitigation-Part1.html
    regards Marc Grote aka Jens Baier - www.it-training-grote.de - www.forefront-tmg.de - www.galileocomputing.de/3276?GPP=MarcGrote

  • Why does error code 4005 pop up when i try to restore my ipod 5?

    why does error code 4005 pop up when i try to restore my ipod 5?

    Have you tried this support article ?      http://support.apple.com/kb/ts3074

  • Why does error message occur when "Save as Adobe PDF" is used?

    "Save as an Adobe PDF" does not work; it only generates "Error An error occurred while saving the PDF file."
    I can create a PDF two ways: (1) distilling a Postscript file and using Acrobat Distiller, and (2) using the MacOS PDF generator (MacOS X 10.10.2 Quartz PDF Context).
    Is there a reason "Save as an Adobe PDF" does not work? Is this an issue related to Yosemite or Adobe Acrobat? I am curious to know if other Yosemite and Acrobat XI users have this issue?
    Kind regards, –John
    Adobe Acrobat XI version 11.0.10 on MacBook Pro (Retina, Mid 2012, 2.7 GHz Intel Core i7, 16 GB DDR3)

    Thank you for replying. I appreciate your feedback, Mr. Lloyd. "Save as PDF" does generate a PDF using MacOS X 10.10.2 Quartz PDF Context. However, I am trying to solve an issue with PDF generating with Adobe Distiller since upgrading to Yosemite.
    I am curious to know if anyone in the Apple community can verify if "Save as Adobe PDF" works for him or her. If this script specific to Acrobat Distiller XI version 11.0.10 does not function with Mac OS X Yosemite 10.10.2, I can disregard this functionality. However, if the functionality does work for others, I shall work to find a solution.
    My question was asked in part to help me gain understanding of changes in PDF production that have occurred since I upgraded to Yosemite. The following description is the root of my query which I posted on Acrobat Discussion groups:
    Using Adobe Acrobat XI version 11.0.10 on MacBook Pro (Retina, Mid 2012, 2.7 GHz Intel Core i7, 16 GB DDR3), I have been creating PDF files of music charts optimized for viewing on iPad using Acrobat Distiller XI version 11.0.10. I recently upgraded to Mac OS X Yosemite (10.10.2). Music charts are designed using Pages 5.5.2 using Page Setup for HP LaserJet 1012 and a custom page size (7.75 in. x 10.25) with four 0.06 inch margins. This allows me to replicate exact content of a PDF file optimized for printing [Page Setup for HP LaserJet 1012 with US Letter page size (8.5 in. x 11) having four 0.5 inch margins] on a  PDF file optimized for viewing on an iPad. The iPad PDF has reduced white space in margins allowing the music chart to have the largest print viewable when looking at an iPad while performing.
    I am creating a PDF by distilling a Postscript file and using Acrobat Distiller [PDF/A-1b:2005 (RGB)]. "Save as an Adobe PDF" does not work; it only generates "Error An error occurred while saving the PDF file." Moreover, "Save as an Adobe PDF" never works for any circumstance.
    The issue is iPad PDFs no longer have 0.06 inch margins. A PDF file is created, but there is more white space in margins. I have determined the PDF production is being affected by the HP LaserJet 1012 0.167 inch minimal margins. The outcome does not change if I select Any Printer from Page Setup. However, a PDF with 0.06 inch margins is created if I use the MacOS PDF generator (MacOS X 10.10.2 Quartz PDF Context).
    Is there any thing I can do to use Adobe Acrobat XI to make charts optimized iPad like I could before I upgraded to Mac OS X Yosemite (10.10.2)? Just curious…

  • Why does error 200279 occur at high speeds only?

    I am using a VI very much like the one attached here, and as my motor speeds up and the period value decreases, the vi fails, and error 200279 shows up as displayed in the attached 2 jpg images. This VI is reading the period value of an encoder by rising edges.  The error does not show up at low speeds, only high speeds.  Hardware is wired through USB ports on PC.  Using Labview 2012 and Windows 7.
    Do I need to specify the samples per channel for the READ in the case structure to eliminate this error?  The error only occurs when the period gets quite short, e.g. 9ms or so.  At higher period values (slower motor speeds) the error does not appear.  I am using the counters built into the cDAQ9174 chassis  and the NI 9401 module to read the period values of my encoder.  What is happening at high speeds to cause this error?  I thought that the setting on the DAQ Timing VI required that 16 periods are read every iteration, so, why is it saying that it is trying to read samples that are no longer available?
    Also, is the "Append Array" building up a large array that is being carried in the SHIFT REGISTER and causing things to slow down?  There are a huge number of periods occuring with an encoder at 120 ticks/revolution.  should I try to keep this array truncated or something to reduce the size of the data being handled for each iteration?  Can this large array be causing the 200279 error?
    Thanks,
    Dave
    Attachments:
    forum JUly 18.vi ‏26 KB
    error July 18.jpg ‏45 KB
    error July 18 part 2.jpg ‏49 KB

    I think there's a combination of things that could be contributing.  I don't have time for a full explanation right now, here's some quick mods I did to the code you posted.  Essential changes are:
    - made separate loop for collecting data into a big array.  (Maybe you can consider dumping to file instead of growing an array in memory?)
    - used a queue to transfer data between loops
    - increased the buffer size dramatically while still calculating average of only the most recent periods
    - reduced the acquisition loop rate -- expect to retrieve more data points per iteration
    There are a couple other things I'd probably add or change with more time, but this minimal set of mods should help some.
    -Kevin P

  • Why does error message -1 keep coming up when trying to update iphone 4 to iOS5?

    i have been trying to update and restore my iphone 4 to iOS5 and it is not working, keeps coming up with error message -1... Any ideas why or what I can do to fix it?

    http://support.apple.com/kb/TS3694#error6

  • Data_offset_too_large , why this error occurs in dump analysis

    HI,
    when i tried to execute the report it gives the dump analysis as DATA_OFFSET_TOO_LARGE, on which occasion it gives the erros

    Hi,
    Kindly check the error dump using <b>ST22 - Runtime error analysis</b>.
    In error report look for the followings:
    <b>Error analysis:</b> This gives the reason for the error.
    <b>How to correct the error:</b> Here you can find the recommended solution for the error.
    <b>Source Code Extract:</b> Here you can find the source code in which the error has occured.
    In the source code, kindly look for the <b>">>>>>"</b> mark against the line number.
    The error has occured only at that line of the source code.
    In your case, the error might have occured while assigning a variable of larger size
    to a variable of size relatively smaller than that.
    Best regards,
    Thangesh

  • Hi All can you please tell me why these error occurs

    <b>com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type com.accenture.pct.rrs.model.country.types.Spras could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.</b>
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:250)
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:213)
         at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:318)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:670)
         at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:233)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:654)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:657)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:357)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:670)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:267)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:706)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:660)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:40)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker$1.fillSldConnection(DataTypeBroker.java:90)
         at com.sap.dictionary.runtime.ProviderFactory.internalResolveLogicalNameToJCODestination(ProviderFactory.java:377)
         at com.sap.dictionary.runtime.ProviderFactory.resolveLogicalNameToJCODestination(ProviderFactory.java:322)
         at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:181)
         at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:146)
         at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:97)
         at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:79)
         at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:48)
         at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:149)
         at com.sap.dictionary.runtime.DdBroker.getSimpleType(DdBroker.java:170)
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:242)
         ... 34 more
    Caused by: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection.
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:149)
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:175)
         at com.sap.tc.webdynpro.services.sal.sl.core.SystemLandscapeInternal.getJCOClientConnectionUnMapped(SystemLandscapeInternal.java:62)
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker$1.fillSldConnection(DataTypeBroker.java:77)
         ... 44 more
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_RFC_METADATA_DEST'
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:517)
         at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:233)
         at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:218)
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:111)
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:147)
         ... 47 more
    Caused by: com.sap.lcr.api.cimclient.LcrException: com.sap.lcr.api.cimclient.CIMClientException: IO error: Unable to open connection to host "pwdf3102:50100". The host is down or unavailable..
         at com.sap.lcr.api.sapmodel.SAP_J2EEEngineClusterAccessor.getInstance(SAP_J2EEEngineClusterAccessor.java:99)
         at com.sap.lcr.api.sapmodel.SAP_J2EEEngineClusterAccessor.getInstance(SAP_J2EEEngineClusterAccessor.java:78)
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.readJCODestinationFromSLD(JCOClientConnection.java:542)
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:476)
         ... 51 more

    Hi Jalandhar,,
    These error indicated that the RFC are not identified by the webdynpro runtime.
    For  this
    Intially check is the backend system configured in the SLD.configure it first,
    Secondly the RFC have to be created in the webdynpro contentadministrator
    this u can find in
    http://<portal>:port/index.html
    then navigate to
    /webdynpro/content administrator
    Find ur application under local tab
    Then u find a table with the imported models RFC
    Select the RFC and create .Here u need to enter the SAP backend client name ,application server ,username .password
    after it gets created ..u have to test it
    Then the red button turns green indicating its succesfully configured for ur application
    Try doin this ,,then deploy nd c
    Cheers
    Swathi
    Do offer pts:-)

  • Why does this occur "NI_Variable_RT.lvlib : GlobalVar_RT_MangleName.vi has unsaved changes?"

    I am trying to deploy a VI to the RT target and I get this message.
    "NI_Variable_RT.lvlib : GlobalVar_RT_MangleName.vi has unsaved changes"
    I am only allowed to deploy the VI if I save these changes. What are these changes referring to?
    Has the link between the variables on the Host PC and RT target broken due to which this message occurs?

    Hi Shan21,
    Do you not get an option to view the unsaved changes? If you want to find out the changes that have taken place in a VI, here is a description. If you navigate and open the VI and then go File->VI Properties. Under the General tab there is a button marked List unsaved changes. This will show you the changes that have taken place. 
    If you have made no changes that you are aware of to this VI, it maybe that you are converting it from a previous version to the most current version.
    Thanks,
    Andrew McLennan
    Applications Engineer
    National Instruments

  • I plug in my iPod 4th Generation and iTunes 10.5 will not recognize that the device is plugged in. Why does this occur?

    The ipod charges but when i open itunes it does not come up in the tab what should i do?

    What versions of OS X and iTunes are you running on your MacBook Pro?

  • Why does Error 8 pop up during routine datalogging

    During routine datalogging of temperature, an Error 8 dialog box suddenly pops up (sometimes after several hours of successful logging) and causes the logging to stop, as well as freezing up the real-time temp graph. I have not been able to correlate the error with anything in particular. Can you help me troubleshot this problem?

    Is by any chance you are running FastFind (or FindFast) ? It is a beast that comes with MSOffice.
    Disable it. It tries periodically to open text files to index their content in order to speedup searchs within documents and slow down every other application. It opens the files to read them while you are using it and DENYING you further write access until it is finished.
    An antivirus scan might the same effect.
    When you open a file with LabVIEW, the default is to allow other processes to open it simultaneously for read and write. This is seldom required and causes this Error 8 when one process deny writes to other. Thus when you open a file, use the deny mode and set it to "deny read/write"(0). That will prevent other apps to use your file while
    you write on them.
    LabVIEW, C'est LabVIEW

  • What does "error occurred, mail server responded 5.1.1 not our customer"mean?

    The recipients are in my address book and I need to send the same message to 15 members. What do I
    have to do to get the message sent?

    Ok now the net nanny has nbeen to work I don't get if the message is weird or messed up by the editor.
    The message is from AOL telling you that billy or whatever @AOL.COM is not a valid address with AOL. It is not an issue with Thunderbird, your computer or your provider, unless your provider is AOL.

  • Why does logout give timeout error in Local system(India)

    While logging out of the CRM webUI thre system does not signout but waits for the page
    www.sap.com to open and finally gives a timeout error.
    Why does this occur?

    Role based grants are not available within the stored procedures.
    Only explicit grants are recognized when compiling stored code.
    You need to grant select on that table to the user where you are creating this procedure.

  • HT1222 Why every time I try to update my iPad2 it always says unable to update error occur

    Please help I can't update my ipad2 for the latest iOS it always says unable to update error occur.

    does it say what error? at what stage of updating does error occur? r u trying to update using itunes or wifi?

  • Error 4014 Severity 16 State A fatal error occurred while reading the input streamfrom the network

    We encounter following error intermittently Error 4014 Severity 20 State 16 , A fatal error occurred while reading the input stream from the network
    I have checked the RING_BUFFER_CONNECTIVITY from sys.dm_os_ring_buffers, we are able to find the remote_host IP where connections are being closed/killed, the error being logged in sys.dm_os_ring_buffers, comes from multiple remote_host, we have raised
    to O/s and Networking Team they seem to have no clue, why this error occurs
    Server: Virtual Machine
    Operating System: WINDOW 2008 R2 SP1
    MSSQL 2008 STD ED SP3 10.0.5850.0
    Database mirroring is configured for the application database.
    Antivirus enable on the database server
    How do we find the cause for this error being logged in SQL server logs, is this error due to SQL database mirroring or memory issue?
    What needs to be checked on the O/s and Network, I have been checking on the internet and everywhere it is pointing to NIC drivers or security patches
    Also in the system events following error was being logged, but after restarting the vm service this error has not re-occurred
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the VMTools service
    Kindly suggest on Error 4014 Severity 20 State 16, A fatal error how to resolve
    [email protected]

    Hello,
    Could you try to use Network Monitor or WireShark to examine if the connections resets are coming from a client computer
    or from the host where SQL Server is installed?
    Network Monitor can be downloaded from the following link:
    http://www.microsoft.com/en-us/download/details.aspx?id=4865
    If you use Network Monitor trace you will identify connection resets by looking for “TCP: Flags=,,R.A” at the description column on the Frame Summary. Once you find the flag, the Source column will tell you the identity of the host resetting the connection,
    maybe is not the SQL Server host.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

Maybe you are looking for

  • Output video to s-video or component out?

    Hi all, I got a new Mac Pro two months ago and really like it. This is my first Mac. I'm running in dual monitor mode via DVI with two 24" Dell 2405FPW monitors of the ATI X1900 video card. The really nice features of this monitor is that it has a bu

  • How can we substitute the invalid option "reset after read" in FP-CTR-500 + FP-1600 frequency measurement application?

    We nned to incorpore the values of 2 frequency signals (0-10 Khz)into a process controlled by a VisualBasic application running on 1 PC with W'95. Because the FP-CTR-500 working with FP-1600 hasn't the option "reset after read", the process of readin

  • Can't import MPEG4 video into iDVD 5

    I am trying to create a DVD using MPEG4 video that I downloaded from iTunes. (I need to create a DVD of the Wonderpets TV show for my son for Christmas.) iDVD 5 doesn't recognize it, nor does iMovie HD 5, nor does Toast Titanium. I am assuming that e

  • Performance tuning of sql query with multiple joins

    My query takes at least half an hour to execute and the number of records returned are approx 1 lakh records. Structure of tables are: tblSession : ID,option1,option2,option3,option4,option5,option6,option7,option8,option9. tblOption : ID, labelID tb

  • Net invoice reciept

    my scenerio is po created of 100 pc @ 10rs/pc GR of 40 pc @ 10rs/pc invoice reciept 40pc @ 10rs/pc tax is 10% tcode MIRO document type  : NET INVOICE RE. terms of payment  : due immideatly invoice verified with refrence to delivery note of above case