Illegal escape character

Hi i am writing a servlet which has html in it too...so the commands for html pages i just use out.println("").
But i wanted to add a new picture on the page and had this command
out.println("<IMG SRC=C:\Documents and Settings\bsharma\My Documents\My Pictures\index1.gif>");
but i get a compiling error saying 'illegal escape character'
I know it is because of the \ ..but is there a way around it?
-bhaarat

Try:
out.println("<IMG SRC=C:\\Documents and Settings\\bsharma\\My Documents\\My Pictures\\index1.gif>");

Similar Messages

  • Generating JavaDoc returns with "illegal escape character"

    Hello,
    I'm using JDeveloper 10.1.2.0.0.
    I'm trying to generate JavaDoc for a couple of my packages.
    The generator returns 2 errors due to "illegal escape character".
    This is the error message :
    C:\MyDocs\General Procs\Start_Java_Package\Portlets\src\PortletsUtils\Utils.java:65: illegal escape character
    + ".replace(/\à/g,\"a_accent\")"
    ^
    C:\MyDocs\General Procs\Start_Java_Package\Portlets\src\PortletsUtils\Utils.java:66: illegal escape character
    + ".replace(/\ç/g,\"c_cedile\")"
    ^
    The error is on the "à" and "ç".
    This special character is within a double quote, so it should be text for him.
    Compiling the package is no problem.
    What can I do so the generation of my javadoc continues ?
    Thanks a lot.
    Filip Huysmans.

    Because you don't escape the "\".
    String mypattern = "(<img\\w*)";

  • Regular Expression Escaped Digit "\d" Illegal Escape Character

    Hello,
    I'm trying to write a regular expression to determine if a String matches a date format that is defined as YYYYMMDD. For example, March 11, 2009 would be "20090311"
    For the time being I don't care if an invalid month or day is entered. I've attempted both of the following
    if (date.matches("(19|20)\d{4}")) {
      // warn the user
    }and
    if (java.util.regex.Pattern.matches("(19|20)\d{4}"), date)) {
      // warn the user
    }And both yield Illegal Escape Character compilation errors, for the "\d" part of the regular expression.
    http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html#sum
    Says that "\d" is the predefined digit character class. So at this point, I don't know what I'm doing wrong. I realize I could just define the character class myself, and use a pattern like "(19|20)[0-9]{4}", but I would like to know why "\d" isn't being recognized by the compiler.
    Thanks,
    Paul

    paulwooten wrote:
    Can someone give me an explanation of heuristics, as they might apply to SimpleDateFormat? Does this mean that if the format was similar the parser might figure it out? Say, if instead of "yyyyMMdd", it was "yyyyddMM", or "yyMMdd"?No. Since all of these are valid formats, there's no way for the parser to distinguish this.
    Or does this have to do with rejecting February 29, and other dates like that.That's the one. When setLenient(false) is called, then the 29th February is only accepted in leap years.
    It will also reject the 57th January when lenient is set to false (try parsing that with lenient=true, you'll be surprised).
    I've read some of the wikipedia article about heuristics, but I'm confused as to how it would apply to this example.Don't concentrate to much on the term heuristics. Just remember: lenient=true means that not-really-correct dates will be accepted, lenient=false means more strict checks.

  • ILLEGAL SCAPE CHARACTER

    text = r.subst(text,"\x07");
    This line returns "Illegal scape character"
    Why ?
    It's a regular expression using org.apache.regexp
    Please, Help me!!!!

    It means that '\x' is an illegal escape character. If you want the String '\x' use '\\x' since Java uses '\' as the escape character and '\\' escapes to '\'

  • What is the escape character for DOT in java regex?

    How to specify a dot character in a java regex?
    . itself represents any character
    \. is an illegal escape character

    The regex engine needs to see \. but if you're putting it into a String literal in a .java file, you need to make it \\., as Rene said. This is because the compiler also uses \ as an escape character, so it will take the first \ as escaping the second one, and remove it, and the string that gets passed onto the regex will be \.

  • Query of Queries (QofQ) Escaped Character Problem

    Hello All,
    I'm trying to run a query or queires (QofQ) and I'm doing a
    LIKE comparison that looks for bracket characters ([ ]) within a
    string, however ColdFusion is ignoring the brackets. How can I
    escape the bracket character? So far I have only been able to
    escape the percent sign based on the ColdFusion Live Docs. The
    error message I get when I run the query below is:
    Invalid Escape Sequence. Valid sequence pairs for this escape
    character are: "\%", or "\_".
    Here is the query:
    <cfquery dbtype="query" name="getLogs">
    SELECT *
    FROM GetLogs
    WHERE Description LIKE '%\[User:#UserID#\]%' ESCAPE '\'
    </cfquery>
    Thanks for your help!

    You are correct. If you leave the brackets in the LIKE
    statement, it will return results as if the brackets weren't there
    at all.
    Perhaps I need to figure out the ASCII character value of the
    bracket and include it that way i.e. #Char(?)# where the question
    mark would be the numerical value of that character.
    My temporary solution has been to leave off the starting
    bracket:
    <cfquery dbtype="query" name="getLogs">
    SELECT *
    FROM GetLogs
    WHERE Description LIKE '%user:#UserID#]%'
    </cfquery>
    This has (so far) returned the results i'm looking for
    although its not as 100% accurate without that beginning [ in the
    LIKE statement.

  • Urgent Help - in using Escape character

    hai,
    i have problem in using escape character..
    can anyone help me out in the same...
    sb.append(<jsp:getProperty name="resume_main" property="name"/>);
    //error i am getting is -- Missing term, ')' expected.
    pl help me out in using the escape character in the above statement.
    thanx in advance
    regards
    koel

    try
    sb.append("<jsp:getProperty name='resume_main' property='name'/>");
    or
    sb.append("<jsp:getProperty name=\"resume_main\" property=\"name\"/>");
    both will work

  • Bypass Adapter URI Endpoint with Escape Character for Web Service

    Dear All,
    I would like to apply by pass adapter URI Endpoint for XI webservice, the default format is
    http://<host>:<port>/sap/xi/engine?type=entry&version=3.0&Sender.Service=<BusinessService>&Interface=<namespace>^<Outbound Interface name>
    If I am using format using with carat () character then there has no problem to the service, but consumer doesn't support carat () character. I instead the carat (^) with URL Escape Character (%5E)
    http://<host>:<port>/sap/xi/engine?type=entry&version=3.0&Sender.Service=<BusinessService>&Interface=<namespace>%5E<Outbound Interface name>
    Then error occurred
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>System Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context/>
                   <code>RCVR_DETERMINATION.MESSAGE_INCOMPLETE</code>
                   <text>Message is incomplete. No Sender found</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    How to resolve this error...
    Thank you.
    Regards,
    Weng

    Hi ,
    as per my knowledge.....................
    When you create a WSDL with the help of a wizard. In the Integration Directory, choose Tools -> Define Web Service to enter the wizard.
    On Propose URL button, as this genertated URL default Point to Entegration Engine.. SO already proformance wise Good.
    If You want to Point your URL to adapter engine , use below given URL this will point ur incoming soap  message to SOAPadapter sender channel
    http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>.
    Regards
    Prabhat Sharma.

  • Can Linux recognize the escape character?

    Hi,
    It's possible that this problem doesn't belong here. But please give it a try.
    I am developing an project using JSP. It includes image uploading. after image uploading, I use a javascript function popUp(url, ...) to open a new window and display this image. The very strange thing is that, sometimes the link can work, open a new window and display the image while sometimes the link can't work, or it only works for one time, then it fails. I couldn't find the reason yet. it works on IE, and not on Netscape and also not work on Linux OS while do work on Window2000. Can somebody take a look at the following link and tell me how to change it to make sure it is work on Linux OS and netscape. What's the difference between OS and windows to specify a String(that is, url of a link). The linux OS seems interperte \" to ", so it cannot recognize the full url.
    The link is :
    imageLink[i] = "<a href='showForm' onclick=\"popUp('" + request.getContextPath() + "/displayForm.jsp?filename=" + sdb.getImageFileName(i)+"&fileDesc=" +sdb.getImageDesc(i) + "', 'showForm', '600', '450', 'yes'); return false;\">"+sdb.getImageDesc(i)+"</a>";
    Thanks in advance!
    jmling

    Linux will recognize the escape character. It looks like you might have other difficulties with your imageLink tag. For example, I think you need to use tags when you use Java inside your html or javascript..
    onclick=\"popUp(" + <%= request.getContextPath() %> + "/displayform.jsp?...

  • How to use escape character in update statement.

    Hi All,
    I'm trying to update table using following sql update statement, but everytime it's asking me for the input due to the '&' value in below sql.
    UPDATE xyz_xyz
       SET NAME = 'ABC & PQR'
    WHERE ID = (SELECT ID
                   FROM abc_abc
                  WHERE NAME = 'C & PQR');Please let me know how to use escape character syntax or let me know if there is any alternative solution.
    Thanks,
    Vishwas

    Hi,
    By default, & marks a substitution variable name.
    If you're not using substitution variables in that statement (or, if this is in PL/SQL, in that entire package or procedure) then the easiest thing to do is just diable substitution variables; then & will be a normal character:
    SELECT  DEFINE  OFF
    UPDATE xyz_xyz
       SET NAME = 'ABC & PQR'
    WHERE ID = (SELECT ID
                   FROM abc_abc
                  WHERE NAME = 'C & PQR');
    SET  DEFINE  ONIf you can't do that, then & is always taken literally if it comes right before a single-quote, so you could say:
    UPDATE xyz_xyz
       SET NAME = 'ABC &' || ' PQR'
    WHERE ID = (SELECT ID
                   FROM abc_abc
                  WHERE NAME = 'C &' || ' PQR');There is a SQL*Plus "SET ESCAPE" command, too, but if you use it, you have to worry about whether the escape character is to be taken literally or not.
    SET   ESCAPE  \Yet another alternative is to make some other character, such as ~, mark the substitution variables:
    SET  DEFINE  ~Read all about them in the SQL*Plus manual.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31189/ch2.htm#sthref103

  • Escape character for apostrophe ' in JDBC receiver channel

    Hi all,
    We have Proxy to JDBC scenario in our project. This interface is working fine with unicode data but when there is an apostrophe( ' ) coming in any of the field values ( ex: DOWTHERM 'J' MODEL19QAGB1G ) , the message is failing in receiver JDBC channel.
    can anyone please tell us how to handle single quote in JDBC receiver channel.
    I have read in SAP help documentation that apostrophe is a reserved character in SQL syntax and is therefore replaced by an escape character if it occurs within value strings. There is a option to JDBC receiver communication channel under "SQL SYNTAX PARAMETER"  to specify the escape character for apostrophe.
    Can any please tell us which value needs to be maintained in the channel to avoid this error.
    Regards
    Jagruthi

    Hi Prateek,
    Thanks a lot for you inputs.
    This issue is solved now. We have replaced single quote with two single quotes and then did the hasQuote mapping as described in the blog.
    /people/prateek.srivastava3/blog/2009/04/02/unicode-handling-for-ms-sql-server
    No value needs to be maintained in channel(SQL SYNTAX PARAMETER ).
    But just want to understand  the difference between replacing the ' with '' in mapping and using SQL SYNTAX PARAMETER option in communication channel.
    Both should ideally result in same  output. But it didnu2019t work when we tried with two single quotes in SQL SYNTAX PARAMETER (Escape Symbol for Apostrophe) in communication channel without doing anything in mapping.
    Regards
    Jagruthi

  • Querying a text field with an escape character in it.

    I want to retrive a the search results from the database with the search string being something like
    say "{2.5}"
    select cola from tableX where contains(cola, '{{2.5}}', 1)>0)
    I tried to parse the string with another escape character - ie i modified the search string to like this
    {\{2.5\}}. Doing so i am getting a wrong result. That is it is ignoring the two braces and giving me results that contains only 2.5.
    Please give me a solution
    Thanks in Advance.
    Venkat

    You need to define the braces as PRINTJOINS characters, otherwise they are stripped from the term during both indexing and query processing, making "{2.5}" identical to "2.5"
    Try this example:
    set echo on
    drop table x;
    create table x (x varchar2(50));
    insert into x values ('2.5');
    insert into x values ('{2.5}');
    exec ctx_ddl.drop_preference('mylex')
    exec ctx_ddl.create_preference('mylex', 'basic_lexer')
    exec ctx_ddl.set_attribute('mylex', 'printjoins', '{}')
    create index xi on x(x) indextype is ctxsys.context
    parameters ('lexer mylex');
    select x from x where contains (x, '2.5') > 0;
    select x from x where contains (x, '\{2.5\}') > 0;

  • Illegal pattern character 'Y'

    Hi Guys,
    I was following the tutorial in building a Web Application with ADF Business Components and JavaServer Faces using the following link: http://www.oracle.com/technology/obe/obe1013jdev/masterdetail_adf_bc/master-detail_pagewith_adf_bc.htm. I had installed Jdeveloper version - 10.1.3.3.0. After I've built the Search.jsp and the EditOrders.jspx file. The Search.jsp is working fine but as soon as I hit the 'Edit' button on it which is supposed to navigate and display the EditOrders.jspx page and allow user to modify data on it but instead it displays the following error:
    500 Internal Server Error
    java.lang.IllegalArgumentException: Illegal pattern character 'Y'     at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:678)     at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:497)     at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:446)     at oracle.adf.view.faces.convert.DateTimeConverter._getSimpleDateFormat(DateTimeConverter.java:1337)     at oracle.adf.view.faces.convert.DateTimeConverter._getDateFormat(DateTimeConverter.java:1508)     at oracle.adf.view.faces.convert.DateTimeConverter._getExample(DateTimeConverter.java:1252)     at oracle.adf.view.faces.convert.DateTimeConverter._getAllowedPatterns(DateTimeConverter.java:1063)     at oracle.adf.view.faces.convert.DateTimeConverter._getExpectedPatterns(DateTimeConverter.java:990)     at oracle.adf.view.faces.convert.DateTimeConverter.getExample(DateTimeConverter.java:1029)     at oracle.adfinternal.view.faces.convert.DateTimeConverter.getClientConversionFormat(DateTimeConverter.java:235)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.FormData._addOnSubmitConverter(FormData.java:462)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.FormData.addOnSubmitConverterValidators(FormData.java:338)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.EditableValueRenderer.addOnSubmitConverterValidators(EditableValueRenderer.java:178)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleInputTextRenderer.encodeAllAsElement(SimpleInputTextRenderer.java:82)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectInputTextRenderer.renderTextField(SimpleSelectInputTextRenderer.java:139)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectInputTextRenderer.encodeAllAsElement(SimpleSelectInputTextRenderer.java:123)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectInputDateRenderer.encodeAllAsElement(SimpleSelectInputDateRenderer.java:172)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.FormElementRenderer.encodeAll(FormElementRenderer.java:48)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:281)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.renderFieldCellContents(InputLabelAndMessageRenderer.java:115)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer._renderFieldCell(LabelAndMessageRenderer.java:293)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll(LabelAndMessageRenderer.java:163)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.encodeAll(InputLabelAndMessageRenderer.java:94)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:246)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.encodeColumnChild(PanelFormRenderer.java:275)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.renderColumn(PanelFormRenderer.java:251)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer._renderColumns(PanelFormRenderer.java:545)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer._encodeChildren(PanelFormRenderer.java:153)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.encodeAll(PanelFormRenderer.java:69)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)     at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)     at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)     at EditOrdersjspx._jspService(_EditOrders_jspx.java:412)     [EditOrders.jspx]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)     at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)     at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)
    I had removed the EditOrders.jspx and create it from scratch several times but it still gives me the same error. I also followed the exact instructions as outlined in the tutorial. All your feedback is welcomed and I sincerely thank you for all your time and efforts spent.
    Kind Regards,
    John

    Hi Guys,
    My latest findings is that even after I've modified the Ordersview's 'ORDER_DATE' column to 'to_date(trunc(Orders.ORDER_DATE)) as Order_Date' in the 'SQL Statement' attribute under the 'View Object Editor', remap the definition 'OrderView' in the 'Data Control Palette' and recreate the EditOrders.jsp page, I'm still getting the same error in the exactly same way as I had described in my very first post of this error. Please shed some lights if you have solved or came across to some similar errors in the past.
    Thanks and Regards,
    John

  • Illegal XML character exception in Importing data imprt manager

    Did any one of you face Illegal XML character error while importing extracted data from ECC
    I googled and found out XML parser does not like to find '<' '&' in the data , is that true? if so what was the work around ?? BTW we are getting DEBMDM customer data and import manager is bombing with these errors with every other file.
    I know import server is a route , but any other solution?
    -Sudhir

    Hi Sudhir,
    We had faced a similar situation when using extracted Material Master data from ECC.
    We had some special characters in some of the fields like Material description such as (<,^,*,&,#@)etc.But these data were readily imported in MDM without much troubble.However there were some other fields which had error in the Date Formats and were not excepted by MDM
    While automatically importing this data in MDM using the Import server the records failed throwing exceptions.
    We then analysed the Source file carefully in Excel format by using Fillters  and identified these Wrong date charactes which were giving troubble.
    We corrected the dates and had no futher issues for the special character text we imported them with Data type  Text Normalized and they passed corrrectly even with Data type as TEXT.
    So I suggest that you analyses your data correctly in excel if required for better clearance and check for any futher in consisitencies in the dtaa for every field value.
    Hope It Helped,
    Thanks & Regards
    Simona Pinto

  • Escape Character in ODBC Connections?? HELP!

    Hi All,
    I have a problem : we have a C++ app here that is supposed to attach to an Oracle 8i or 9i database here via a standard ODBC connection.
    When this app attempts to do something like this:
    INSERT INTO MyTable (MyRow) Values('[testing]')
    it fails - it does not like the square brackets in the command. when I copy this into SQL Plus, of course, it runs just fine.
    the ODBC link also doesn't like this:
    INSERT INTO MyTable (MyRow) Values('/[testing/]') either
    or this:
    INSERT INTO MyTable (MyRow) Values('[[testing]]') either
    or this:
    INSERT INTO MyTable (MyRow) Values('`testing`') either
    in fact, it appears the following are all reserved characters that oracle's ODBC driver can't handle:
    ` ' " \ / [ ]
    My questions are :
    1) Can I find a definitive list of these (Oracle documentation is good on reserved WORDS, but poor on reserved CHARACTERS)
    2) what can I use to set an escape character within my ODBC SQL? Is this something I can tweak on the ODBC DSN cofiguration? I know in SQL*Plus you can just say
    SET ESCAPE ON
    SET ESCAPE "\"
    But you can't do that on every SQL Query getting sent through ODBC can you?
    Please help!
    I

    Thanks, but thats not really answering the two
    questions I posed, is it? Well you are asking the wrong questions.
    The quoted example was just
    that, an example. The actual app is calling stored
    procedures and not doing simple SQL statements. Using
    bound variables is not really an option because the
    number and type of parameters being sent down change
    continually. This is no reason to not use bind variables. If you do not use bind variables and this is an OLTP database then scaling will not be an option for your application. It can also raise potential security holes due to SQL injection.
    The site you quoted is to do with
    obtaining recordsets back from stored procedures. We
    do not need to obtain recordsets back from stored
    procedures. Yes and it also shows how to bind input variables in ODBC calls, does the presence of record sets somehow render this invisible?
    >
    shall I repeat myself:-
    My questions are :
    1) Can I find a definitive list of these (Oracle
    documentation is good on reserved WORDS, but poor on
    reserved CHARACTERS)
    As you can run the command in SQL*Plus it should indicate that it is not a reserved character as far as Oracle is concerned. Therefore looking in the Oracle documentation will not get you anywhere. You will need to refer to the documentation for your ODBC driver and the ODBC specification.
    2) what can I use to set an escape character within
    my ODBC SQL? Is this something I can tweak on the
    ODBC DSN cofiguration? I know in SQL*Plus you can
    just say
    SET ESCAPE ON
    SET ESCAPE "\"
    I must admit I don't know.

Maybe you are looking for

  • "To view the full contents of this document..."

    Hi All, I am working on a PDF parser and while parsing PDF file I am able to parse the document catalog & cross reference table but when it comes to content I get a message "To view the full contents of this document, you need a later version of the

  • IPod Video - Display Settings (Title, Artist, Album...)

    I am trying to figure out if I can alter my IPod Video display settings. When a song is playing, it shows the album art with the song title, artist, and album adjacent. Is there a away to change this display so that it does not display the album whil

  • How do I get access to my microsoft word, excel etc? Is lion not compatible with word, if so it you be mentioned prior to someone purchasing.

    Have installed Lion, but Lion says it will not support microsoft office programs words.  Is this a major glitch with Lion?  I cannot believe Apple would create a operation system not conducive to running word, excell etc.!!!  Anyone know what the fix

  • Can I open Payment terms form ?

    Hello friends, I want to add new payment terms through my user defined form but how can I open the form because this form is not associated with menu item so i cannot use  SBOApplication.ActivatemenuItem("") function Note:The payment term form can be

  • IPhone to Outlook Contacts Sync

    Would love to be able to have my iPhone Contacts sync to Outlook contacts, NOT the other way around. [The first time I tried it, it wiped out my iPhone contacts and put the old Outlook ones back in.] Now, I see some improvement in the updated version