Why this error on  import sentence in jsp ???

my jsp import some bean(system's and myself).
          but wl60 report this error:
          probably occurred due to an error in /site/updatesite.jsp line 3:
          <%@ page import="site.sitemangage.*,stat.toolBeans.StringTools" %>
          so,the class StringTools can not be parse by server.
          but why??
          my code is:
          <%@ page language="java" contentType="text/html;charset=gb2312" %>
          <%@ page import="java.util.*"%>
          <%@ page import="site.sitemangage.*,stat.toolBeans.StringTools" %>
          please help me!!!
          thank you.
          

          Have you tried using two import statements ?
          <%@ page import="site.sitemangage.*" %>
          <%@ page import="stat.toolBeans.StringTools" %>
          "sharetop" <[email protected]> wrote:
          >my jsp import some bean(system's and myself).
          >but wl60 report this error:
          >
          >probably occurred due to an error in /site/updatesite.jsp
          >line 3:
          ><%@ page import="site.sitemangage.*,stat.toolBeans.StringTools"
          >%>
          >
          >so,the class StringTools can not be parse by server.
          >
          >but why??
          >
          >my code is:
          >
          ><%@ page language="java" contentType="text/html;charset=gb2312"
          >%>
          ><%@ page import="java.util.*"%>
          ><%@ page import="site.sitemangage.*,stat.toolBeans.StringTools"
          >%>
          >
          >please help me!!!
          >
          >thank you.
          >
          >
          

Similar Messages

  • I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message:  Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.

    I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message:  Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.

    Julian,
    Pages simply won't support a table with that many rows. If you need that many, you must use another application.
    Perhaps the originator could use a tabbed list rather than a table. That's the only way you will be able to contain a list that long in Pages. You can do the conversion yourself if you open the Word document in LibreOffice, Copy the Table, Paste the Table into Numbers, Export the Numbers doc to CSV, and import to Pages. In Pages Find and Replace the Commas with Tabs.
    There are probably other ways, but that's what comes to mind here.
    Jerry

  • Could not complete your request because it is not a valid photoshop document why this error coming p

    could not complete your request because it is not a valid photoshop document why this error coming photoshop cs5

    Thanks for clarifying. 
    My bad. I thought you had an even older Mac Pro1,1 like mine, which will not run Mountain Lion.  I should have payed closer attention to your RAM specs.

  • 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 this error display "Adobe Flash Player has stopped potentially unsafe operation"

    why this error display "Adobe Flash Player has stopped potentially unsafe operation"
    In message box following message display:
    The following local application on your computer or network: null
    is trying to communicate with this internet-enabled location : www.ajaxcdn.org

    I get the same message and I already have the latest version (20.0.1) installed. Any other suggestions? Please and thank you!

  • Error in importing  classname in jsp

    Hi,I am using Tomcat 5.5, i am getting a error like this
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    The import CellKenDatabase cannot be resolved
    Not only this class While i tried all other compiled class but the error be the same
    My JspFile is
    <%@ page import="CellKenDatabase" %> <=== Error occuring here only
    <html>
    <body>
    <%!
    String s="Hello";
    %>
    <%= s%>
    <%=checkStatus("this is the String")%>
    </body>
    </html>
    Please help me out

    It's best to use packages when developing web applications. I do think Tomcat will enforce this, though I honestly have never tried to use a class in a 'default' package.

  • Can anyone tell me why this error only occur in Tomcat-4.0.2 ??

    When I try to execute my jsp page, Tomcat printed out this error.
    This error has never occurred in Tomcat-3.2.1 and Tomcat-3.3a.
    java.io.IOException: Stream closed
         at org.apache.jasper.runtime.JspWriterImpl.ensureOpen(JspWriterImpl.java:242)
         at org.apache.jasper.runtime.JspWriterImpl.clearBuffer(JspWriterImpl.java:190)
         at org.apache.jsp.admin_0005flogin$jsp._jspService(admin_0005flogin$jsp.java:988)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
         at java.lang.Thread.run(Thread.java:536)
    Another thing is, I'm trying to display chinese characters using jsp page. When I use Tomcat-3.2.1, i can view the chinese characters correctly, but when I converted to Tomcat-3.3a (due to the newer version of JDBC API available in Tomcat-3.3a), it don't seems to recognize the html META Header that I use to encode the jsp page.
    Is there anyway if making Tomcat-3.3a read the header or what ???
    Can anyone enlighten me on this ??
    I really need to get the solution or the reason ASAP !!
    Thank you in advance.

    Hi,
    I dont know whether you are still getting the error. This error seem to be result of closing the output stream accidently or manually for some reason. so look out for 'out.close' or other 'out' operations which deals either with flushing or closing the stream. By removing the statement I solved this problem.
    if u have any questions: contact me on [email protected]
    Thanks.

  • Why this error "Definition fl.video:VideoPlayer could not be found"

    I have this in a .as file
    package {
        import fl.video.VideoPlayer;
        import flash.display.Sprite;
        public class VideoPlayerExample extends Sprite   {
            public function VideoPlayerExample() {
    When I create and save .fla file with a document class VideoPlayerExample, and test the movie I got this error:
    1172: Definition fl.video:VideoPlayer could not be found.
    Any idea how to make flash find where the definition is. My copy of Flash was installed with the default installation settings.

    Thank you Kglad,
    I apologize for my ignorance but unfortunately I don't know what "flvplayback component" is and how to have one in my library.
    Any ideas how to make one?
    I searched the online help for a definition but it doesn't seem to have one. The closest that I found was this section that says what it does once you have it but no mentioning how to make it.
    http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WS0ED77F00-2006-49aa-8399-92B6D5D8CE00.h tml#WS62A31643-EF23-45ec-80D0-04DB8CE1AB1F

  • Why this error message with certain texts?

    Why do i get this error message only with certain texts?  I have entered only a ten digit number, have deleted conversations and resent messages and still?

    Oh, the error message is "
    error invalid number please re-send using valid 10 digit mobile number or valid short code."

  • Why this Error comes "ORA-01461: can bind a LONG value only for insert into

    I'm using Oracle 9.2 with Weblogic 8 server. After Googling i got to resolve this issue "ORA-01461: can bind a LONG value only for insert into a LONG column" by adding : oracle.jdbc.RetainV9LongBindBehavior=true in server properties for the datasource.
    But why did this error come and after keeping the above property why did this error go away ?
    Can anyone help me on this.....

    You have an error in the code:
    1. you don't provide a value for 'what' - you have to tell Oracle what it should execute when it submits the job.
    And remember - with ISUBMIT the next_date parameter has datatype VARCHAR2 - SUBMIT uses datatype DATE. So make sure you provide a VARCHAR2 value and do not rely on implicit conversion.
    >
    PROCEDURE DBMS_JOB.ISUBMIT
    (job IN BINARY_INTEGER
    ,what IN VARCHAR2
    ,next_date IN VARCHAR2
    ,interval IN VARCHAR2 DEFAULT 'null'
    ,no_parse IN BOOLEAN DEFAULT FALSE);
    PROCEDURE DBMS_JOB.SUBMIT
    (job OUT BINARY_INTEGER
    ,what IN VARCHAR2
    ,next_date IN DATE DEFAULT SYSDATE
    ,interval IN VARCHAR2 DEFAULT 'null'
    ,no_parse IN BOOLEAN DEFAULT FALSE);

  • Why this error in writing string to text file using utl_file?

    HI Friends,
    Iam trying to write procedure to add one line of text in text file using UTIL package. But getting error.
    create or replace procedure Add_To_File() is
    OutFile utl_file.file_type;
    l_err_code NUMBER(10);
    l_err_msg VARCHAR2(2000);
    vNewLine VARCHAR2(4000);
    vdir varchar2(200):='UTIL_DIR';
    begin
    OutFile:=utl_file.fopen(vdir,'out.txt','w','32000');
    vNewLine:='Loading is successfull';
    utl_file.put_line(OutFile,vNewLine);
    EXCEPTION
    WHEN OTHERS THEN
    l_err_code := SQLCODE;
    l_err_msg := SUBSTR(SQLERRM,1,128);
    Dbms_output.put_line(l_err_code || l_err_msg);
    end;
    when i execute above procedure iam getting this error.
    LINE/COL ERROR
    1/23 PLS-00103: Encountered the symbol ")" when expecting one of the
    following:
    <an identifier> <a double-quoted delimited-identifier>
    current delete exists prior
    Please suggest me where iam wrong.
    Thanks,
    Venkat Vadlamudi

    868591 wrote:
    HI Friends,
    Iam trying to write procedure to add one line of text in text file using UTIL package. But getting error.
    create or replace procedure Add_To_File() is
    OutFile utl_file.file_type;
    l_err_code NUMBER(10);
    l_err_msg VARCHAR2(2000);
    vNewLine VARCHAR2(4000);
    vdir varchar2(200):='UTIL_DIR';
    begin
    OutFile:=utl_file.fopen(vdir,'out.txt','w','32000');
    vNewLine:='Loading is successfull';
    utl_file.put_line(OutFile,vNewLine);
    EXCEPTION
    WHEN OTHERS THEN
    l_err_code := SQLCODE;
    l_err_msg := SUBSTR(SQLERRM,1,128);
    Dbms_output.put_line(l_err_code || l_err_msg);
    end;
    when i execute above procedure iam getting this error.
    LINE/COL ERROR
    1/23 PLS-00103: Encountered the symbol ")" when expecting one of the
    following:
    <an identifier> <a double-quoted delimited-identifier>
    current delete exists prior
    Please suggest me where iam wrong.
    Thanks,
    Venkat Vadlamudibelow works for me
      1  CREATE OR replace PROCEDURE Add_to_file
      2  IS
      3    outfile       utl_file.file_type;
      4    l_err_code NUMBER(10);
      5    l_err_msg  VARCHAR2(2000);
      6    vnewline   VARCHAR2(4000);
      7    vdir       VARCHAR2(200) := 'UTIL_DIR';
      8  BEGIN
      9    outfile := utl_file.Fopen(vdir, 'out.txt', 'w', '32000');
    10    vnewline := 'Loading is successfull';
    11    utl_file.Put_line(outfile, vnewline);
    12  EXCEPTION
    13    WHEN OTHERS THEN
    14            l_err_code := SQLCODE;
    15            l_err_msg := Substr(sqlerrm, 1, 128);
    16            dbms_output.Put_line(l_err_code
    17                           || l_err_msg);
    18* END;
    SQL> /
    Procedure created.

  • Cant understand why this error is happening....

    Hi
    Why do i get "Exception in thread "main" java.lang.NoSuchMethodError: main" error when trying to run this code:
    import java.awt.*;
    import java.applet.*;
    public class App extends Applet
    public void paint(Graphics g)
    setBackground(Color.white);
    int a=10;
    a = Square(a);
    g.setColor(Color.red);
    g.drawString("a is " + a,110,150);
    g.setColor(Color.blue);
    DrawTriangle(g,a);
    private int Square(int a)
    return a*a;
    private void DrawTriangle(Graphics g, int s)
    g.drawLine(100,50,100,50+s);
    g.drawLine(100,50,100+s,50+s);
    g.drawLine(100,50+s,100+s,50+s);
    I'm sure its something simple but i just cant figure it out....thanks

    You have to run an Applet class either inside a web browser, or inside the applet viewer. If you run a class using the java command, then it expects to find a static void method called main with a single String array parameter. Yours doesn't have one - hence the error.
    Sylvia.

  • How do I resolve this error while importing iPhoto 11 photos into Photoshop Elements 11?

    I am trying to import my iPhoto library into Elements.  It gets part way through the process and then tells me that the import failed and provides the following message:
    2090 Media files have been imported.  19 Media files were not imported because the either already present in the catalog or are not supported
    It unfortunately give you no indication about what you can do to resolve or fix this problem.  Can someone provide some guidance here?

    Hi, I am not a user of elements however my wife is.  She has been complaining of this issue since we have over 75000 pictures and 15000 will not import into the catalog. After searching forum after forum I could not find a solution. So I gave it some thought. After a little testing I found out why. Remember that Elements catalog is like a long list of file names.  Like many people who take lots of pictures unless you sit and rename every picture to a unique file name then you will have this problem.  Example: Your camera shoots pictures and names them Img_0001, Img_0002, Img_0003 etc. when you download them to a folder called "76 class reunion" and add to elements. Then delete the pictures from your camera and take new ones. Your camera starts again with Img_0001, Img_0002, Img_0003 etc.  You import them to a folder called "78 trip to thailand". Then try adding them to Elements and the message "...media files were not imported because they are already Most cameras keep numbering up but not all. At some point they repeat so it could be a year in between before your pictures present...."
    Or course they are after thousands of picutres you will duplicate the files names several times. Just rename the image files in "78 trip to thailand" to be like 1978-Thailand-img_0001, 1978-Thailand-img_0002 etc and then import/add to elements and success.  You might ask why they are in differing folders I am importing them from it should catalog the folder and file. Well I could go into a long discussion about databases however just know this. If you try to copy Img_0001 from "78 trip to thailand" to the folder "76 class reunion" you will get a message saying do you want to overwrite the file. This is because they have the same name (can exits in different folders but not the same). Elements takes all the file names and places them in a list so each file name is UNIQUE and cannot be duplicated. Then it catalogs where they are found (ei the folder/directory).
    If you are now depressed that you need to rename all your files one at a time.  Try Bulk Rename Utility. It is great and has many renaming capabilties to rename files to your delight.

  • Simple Encryption Code help. Why this error?

    Why does the implements Command pharse error this program out
    I am a beginner here so please take it easy. I know it's probably a stupid mistake.
    Also how would I limit the ASCII character conversion to be between 32 and 126.
    public class Caesar {
    implements Command //This line errors out the entire code
    // Inv: true
    private int shift;
    public Caesar(int shift)
    this.shift = shift;
    public String encrypt(String text)
    return shiftCharacterValues(text, shift);
    public String decrypt(String text)
    return shiftCharacterValues(text, -shift);
    private String shiftCharacterValues(String text, int shift)
    StringBuffer encrypted;
    encrypted = new StringBuffer(text);
    for (int i = 0; i < encrypted.length(); i++)
    encrypted.setCharAt(i, (char)(encrypted.charAt(i) + shift));
    return encrypted.toString();
    public static void main(String[] args)
    Caesar caesar;
    String original, encrypted, decrypted;
    caesar = new Caesar(7);
    original = "hello"'
    encrypted = caesar.encrypt(original);
    decrypted = caesar.decrypt(encrypted);
    System.out.println("Original = " + original);
    System.out.println("Encrypted = " + encrypted);
    System.out.println("Decrypted = " + decrypted);
    }

    might be?
    public class Caesar {
      private int shift;
      public Caesar(int shift) {
        this.shift = shift;
      public String encrypt(String text) {
        return shiftCharacterValues(text, shift);
      public String decrypt(String text) {
        return shiftCharacterValues(text, -shift);
      private String shiftCharacterValues(String text, int shift) {
        StringBuffer encrypted;
        encrypted = new StringBuffer(text);
        for (int i = 0; i < encrypted.length(); i++)
             encrypted.setCharAt(i, (char)(encrypted.charAt(i) + shift > 126 ? (encrypted.charAt(i) + shift -95) : (encrypted.charAt(i)+shift < 32 ? (encrypted.charAt(i) + shift + 95) : encrypted.charAt(i) + shift)));
        return encrypted.toString();
      public static void main(String[] args) {
        Caesar caesar;
        String original, encrypted, decrypted;
        caesar = new Caesar(-7);
        original = " hello";
        encrypted = caesar.encrypt(original);
        decrypted = caesar.decrypt(encrypted);
        System.out.println("Original = " + original);
        System.out.println("Encrypted = " + encrypted);
        System.out.println("Decrypted = " + decrypted);
    }

  • Does anyone know why this error message appears?.

    I have added some new fields within the BT111H_OPPT component, view 'Details', and they are visible in the BTADMINH context node when in the component browser.  I now need to perform some calculations based on the PROBABILITY field of the BTOPPORTH context node and place the value in one of the newly created fields in the BTADMINH context node. Therefore to me it would seem wise to place this code in the DO_PREPARE_OUTPUT method of the ZCL... controller class.,
    My code looks like so:
    * First, lets get the Probability value held in the BTOPPORTH context node
      lr_ent ?= me->typed_context->btopporth->collection_wrapper->get_current( ).
      IF lr_ent IS BOUND.
        lv_probability = lr_ent->get_property_as_string( iv_attr_name = 'PROBABILITY' ).
      ENDIF.
    * Now get the Potential volume field from the BTADMINH context node and calculate value
      lr_ent ?= me->typed_context->btadminh->collection_wrapper->get_current( ).
      IF lr_ent IS BOUND.
        lv_potvol = lr_ent->get_property_as_string( iv_attr_name = 'EXT.ZZAFL00001X' ).
    The eror message given is:
    CX_CRM_CIC_PARAMETER_ERROR - Entry parameter of method CL_CRM_BOL_ENTITY->GET_PROPERTY contains value EXT.ZZAFL00001X, which is not allowed
    The line pointed to (19)  is actually '  lr_ent ?= me->typed_context->btadminh->collection_wrapper->get_current( ).' .
    Can anyone see what might be causing this issue, because to me it looks okay.
    I added the 'EXT.' to 'ZZAFL00001X' to see if that would make a difference, which it did not and the same error message appears, which is odd. 
    My sanity is in your hands.
    Jason

    I have found the solution at long last!!!.
    When creating the new field(s) using the AET we had been accepting the default field names, like ZZALF0000nn, which we had always done in the past. However this is the first time we've had to manipulate their data via the component workbench. Anyway, as suggested by previous posts I created new fields in the AET (in expert mode) but this time gave the fields my own names, like ZZPOTENTIALVOL, then changed the code in the DO_PREPARE_OUTPUT to use these new fields/attributes and that's it, it all then worked fine. How petty is that?.
    By the way, I removed/deleted the old fields in the AET tool by clicking on the Bin icon and they are now marked as deleted, but there was a message saying that I needed to manual delete these fields. I've done this before but can't recall the transaction that is needed, can anyone help in this matter?.
    Many thanks to all.
    Jason

Maybe you are looking for

  • Pivot Report in Excel from Oracle data base

    I need to bring data in Excel from Oracle table. The connectivity was established without any problem. When trying to transform the newly created query into a pivot table a am not able to see the data inside the "Data area" of pivot table as it is in

  • Pivot table runtime error 1004

    Hello, i have problem with creating pivot table using vba...this is the code: ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _ "Zdroj!R1C1:R" & Pocet & "C5", Version:=xlPivotTableVersion12).CreatePivotTable _ TableDestination:

  • Why does the ipad 3 never fully sync?

    I bought an ipad3 a few months ago, and had so much problem trying to sync it returned it a few days later.  I already had the ipad 1, and wanted to upgrade.  Very disappointed (because I LOVE my ipad) I was given a new one in the shop, only to find

  • Cannot open PDF as cannot connect to DDE Server

    We have Adobe Reader X installed on our server and it seems only one person is having this issue... When she goes to open a PDF file, it states that it cannot open the file as it cannot connect to the DDE server. She also cannot open Adobe Reader X.

  • Audio Update 2007-001 and mac Mini - boot hangs up

    I downloaded the Audio Update 2007-001 this afternoon, and I've had problems with my mac Mini ever since. I thought it took a long time to boot from the gray Apple screen, longer than would seem to be warranted with a 1 MB update. Then I got the blue