Problem Compiling Projects with Servlet & Custom Taglibs

There was a bug in Jdeveloper 3 that if you compiled JSP's that used Custom Tags Jdeveloper validated your web.xml file - very annoying (if anyone knows a workaround plese let me know). There is a workaround in JDeveloper 9 detailed in the release notes http://otn.oracle.com/products/jdev/htdocs/readme_902.html. Has this been fixed in 10g. Incidently I loaded the Oracle Developer Suite 10g documentaion cd dated April 04 and JDevloper was described as 9i - is this the latest version ?

Perhaps
javac -classpath .;..;c:\jdk1.3.1_07\lib\servlet.jar pdm\FileName.java

Similar Messages

  • Having problems compiling *.java with import javax.servlet.jsp......

    I've been trying to do the tutorials in a book titled Apache Jakarta-Tomcat as part of my introduction to JSP. I'm new to Java but do know the basics. I have on my machine Java 1.3, Java 1.4, Java FrameWorks 2.1 and Jython 2.1 on Win2000 Pro. So enough about my configuration. I have never worked with packages also.
    I downloaded the files from the books site due to the fact I make a lot of typos when hand coding Java (I've become a pretty good debugger of my own code). But everytime I go to compile the *.java I get error messages. So below you will find HelloTag.java and beneath that the error messages that are thrown when I try and compile it. I tested other bits of *.java and have had no problem compiling them. Is there a JSP module I'm missing?
    Am I doing something wrong or am I missing something from my configuration.
    Marijan Madunic
    package chapter2;
    import javax.servlet.jsp.JspException;
    import javax.servlet.jsp.JspTagException;
    import javax.servlet.jsp.tagext.TagSupport;
    public class HelloTag extends TagSupport
    public void HelloTag() {
    // Method called when the closing hello tag is encountered
    public int doEndTag() throws JspException {
    try {
    // We use the pageContext to get a Writer
    // We then print the text string Hello
    pageContext.getOut().print("Hello");
    catch (Exception e) {
    throw new JspTagException(e.getMessage());
    // We want to return SKIP_BODY because this Tag does not support
    // a Tag Body
    return SKIP_BODY;
    public void release() {
    // Call the parent's release to release any resources
    // used by the parent tag.
    // This is just good practice for when you start creating
    // hierarchies of tags.
    super.release();
    D:\Java\JDK 1.3\bin>javac HelloTag.java
    HelloTag.java:3: cannot resolve symbol
    symbol : class JspException
    location: package jsp
    import javax.servlet.jsp.JspException;
    ^
    HelloTag.java:4: cannot resolve symbol
    symbol : class JspTagException
    location: package jsp
    import javax.servlet.jsp.JspTagException;
    ^
    HelloTag.java:5: cannot resolve symbol
    symbol : class TagSupport
    location: package tagext
    import javax.servlet.jsp.tagext.TagSupport;
    ^
    HelloTag.java:7: cannot resolve symbol
    symbol : class TagSupport
    location: class chapter2.HelloTag
    public class HelloTag extends TagSupport
    ^
    HelloTag.java:14: cannot resolve symbol
    symbol : class JspException
    location: class chapter2.HelloTag
    public int doEndTag() throws JspException {
    ^
    HelloTag.java:20: cannot resolve symbol
    symbol : variable pageContext
    location: class chapter2.HelloTag
    pageContext.getOut().print("Hello");
    ^
    HelloTag.java:24: cannot resolve symbol
    symbol : class JspTagException
    location: class chapter2.HelloTag
    throw new JspTagException(e.getMessage());
    ^
    HelloTag.java:28: cannot resolve symbol
    symbol : variable SKIP_BODY
    location: class chapter2.HelloTag
    return SKIP_BODY;
    ^
    HelloTag.java:37: cannot resolve symbol
    symbol : variable super
    location: class chapter2.HelloTag
    super.release();
    ^
    9 errors

    Well, it looks like you've not got the servlet development kit JAR on your classpath. I think it'll probably be called servlet.jar on your system. Add that to the classpath if it's not already there.
    Incidentally, you've bumped into one of the areas Java's slightly lenient - declaring a method that looks like a constructor:
    public HelloTag() { }
    public void HelloTag() { }The first is a constructor, the second is a normal method. I'm assuming you intended to have the former instead of the latter.
    Anyway, hope this helps.

  • Caching problem of javascript with servlet

    Hi guys
    There is a problem of caching with the our project. This project contains two servlets first is getAdServlet and second is richMediaServlet. getadservlet is called thru <script src=""> following is the code:
    <script LANGUAGE="JAVASCRIPT" src="http://192.168.1.6:8080/advert_java/servlet/GetAdServlet?region=1&zone=1&type=nossi&cachevar=yes">
    </script>
    getadservlet returns the javascript statments. These javascript statments are able to create an <iframe>. Now cotents of the iframe are supplied by the second servlet ie richMediaServlet. This servlet is called like
    iframeURL = fullHttpDir+"/servlet/RichMediaServlet?";
    iframeURL += "bannerCode="+ RNBanner;
    iframeURL += "&cachebust="+ cachebust + refresh+"&getAd=y";
    iframeURL += "&hheight="+hheight+"&wwidth="+wwidth;
    out.println("document.write(\"<iframe src='" + iframeURL + "' height=" + hheight +" width="+ wwidth + " SCROLLING=no FRAMEBORDER=0 MARGINWIDTH=2 MARGINHEIGHT=2 onfocus='window.focus(); return iframeFocus()'>\");");
    out.println("document.write(\"</iframe>\");");
    This richmediaServlet returns HTML into <iframe>. when richmediaservlet is called, a parameter 'bannerCode' is passed. then richmediaServlet fatches the banner from the database and displays the banner into the <iframe>.
    Now the problem is when i run the html file containing the script tag mentioned above, and supply different bannerCodes from getAdServlet to richMediaServlet then first banner is cached and displayed every time.
    i have also used the following code to prevent the caching of both the setvlets
         long currentTime = System.currentTimeMillis();
         response.setHeader("Cache-Control", "no-cache, must-revalidate");
         response.setHeader("Pragma", "no-cache");
         response.setDateHeader("Last-modified", currentTime);
         response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");
    and following in the iframe's head tag before the iframe tag in the getAdServlet.
    out.println("document.write('<head>');");
    out.println("document.write('<meta http-equiv=\"Cache-Control\" content=\"no-cache,must-revalidate\">');");
    out.println("document.write('<meta http-equiv=\"Pragma\" content=\"no-cache\">');");
    out.println("document.write('<meta http-equiv=\"Last-modified\" content=\""+ currentTime + "\">');");
    out.println("document.write('<meta http-equiv=\"expires\" content=\"Sat, 6 May 1995 12:00:00 GMT\">');");
    out.println("document.write('</head>');");
    this problem does not arises when i call the getAdServlet from a testServlet and run the testServlet thru get request.
    pl tell me what's wrong i m doing.

    First, post your code in tags if you want people to read your code...

  • Compile Project with Maven and Crystal Reports dependencies

    Hi.
    I'd like to build a java project with maven. That project uses Crystal Reports.  I have added all Crystal Reports jar files in the folder lib (from the runtime download) to my maven dependencies. But i get always the following error message.
    The import com.crystaldecisions.ReportViewer cannot be resolved
    in that package is the ReportViewerBean.class an so i get also the following message.
    ReportViewerBean cannot be resolved
    I tried several different ways with no success.
    im looking foreward for your advice.
    thanks.
    Edited by: hansmeier_de on Aug 25, 2010 11:20 AM

    did you list them in the dependencies in your pom file?

  • Problem compiling APK with flash

    Hi
    I wrote an app for iPhone and wanted to put it on android, changing the settings in flash.But when I compile to get an APK the compilation stop just 10 or 9 second before the end I hear the warning sound of my mac and then nothing.
    When I compile other "test app" it goes all  the way  !!!
    Do someone have this issue ?

    Yes, after I faced this problem with my project I simply tested the component with a new blank file - and I get these problems.
    I personally downgraded to Flash CS4 as I count CS5 a complete crap - I waste too much time on its problems and infinite crashes. So this topic is not relevant for me anymore as with CS4 there is no such problem.

  • Problem deploying project with External Resource Integration with jars

    Hi,
    Please help ur how we can deploy a project in Enterprise server if that is integrated to some application which needs weblogic.jar. If this jar is made vesionable then it shows a size problem. If that jar is added to Install Drivers (In the configuration screen of Server) it does not accept it and does not show error while deployment. But, the activity which is using that application is failed while execution.
    Kindly provide me help over this.
    Regards,
    Sarang

    What do you mean with a "size" problem? I've added weblogic.jar to the project (or any jar of that size) and it works fine. As rightcord mentioned, you can just put it in the classpath, but if you don't want to, you can still use it in your process.
    You just have to deploy in another way, meaning you don't have to use the exported project but you can upload it the lcoation of where the server is running and publish from there - I believe this is option 1 in the Process Administrator.
    Good luck!

  • Compiling file with servlet.jar

    Hi,
    I can compile my file under the arm/pdm package fine by using this command:
    javac -classpath .;.. pdm\FileName.java
    but now i wrote a servlet which imports the javax.servlet directory.
    So in order for the class to compile i have to give it the path of the servlet.jar file which is in this directory: c:/jdk1.3.1_07/lib/servlet.jar
    The problem am having is that i can't give both the classpaths at one time in order to compile my servlet which also uses classes in the pdm directory and also from a different directory under arm.
    Please help
    Thanks

    Perhaps
    javac -classpath .;..;c:\jdk1.3.1_07\lib\servlet.jar pdm\FileName.java

  • Problem compiling module with named package

    Hi,
    I'm relatively new to Flex and only recently came upon Flex modules. I am trying to use an interface between the modules and my main application, both to enforce compatibility and to ease data access from the modules to the main application (i.e., the preferred approach on Adobe's module implementation docs). I am, however, running into a problem when trying to compile the module (using Ant) due to its implementation of an interface in a named package. It seems I have a choice between two compilation errors:
    1) an error referring to difference between the named package structure and the unnamed package for my module
    2) an interface not found error when I specify the full package name for the interface in the module "implements" attribute
    #2 seemed more promising as I figured this was just some sort of source path error. After adjusting the source path many times, though, I have been unable to get past the interface not found error. I even tried to compile the interface into a SWC and then place the SWC on the library path.
    Overall, the structure of the code is very simple:
    com.example.workers.IModule
    WorkerModule1
    If I go ahead and make IModule part of an unnamed package, I can get past problem #1 (avoid #2) and get it to compile, but then I do not have the ability to cast the child of the loaded module (ModuleLoader.child) to the interface in my main application to insure that it is of the right type (though I can hack around this by checking if the child has a certain property or function).
    Anyway, I am guessing that there might be something simple that I am missing here--i.e., some way to get the named package onto the path for my mxmlc-based compilation of the module or some way to add the named package structure to my module (adding an xmlns did not accomplish anything). In any case, any help here would be greatly appreciated.
    --jonathan

    You definitely have the wrong version. You want 2.0.1 (we
    haven't made a 2.1). The download on the Flex page is always the
    most current version, 2.0.1 in this case. Try it again.

  • Compiling project with a common library

    In my workspace I have Flex a project and a common library. when I run the project from the Builder both the project and a common library get compiled, but if I export the Release Build then the common library is not compiled, so I have to run it from the Builder first. Very inconvenient. Can that be changed?
    Thanks

    Hi,
    It's very weird. How did you added this commonm library to your Flex project?
    Have you done it through this option in Flash Builder:  "Flex Buid Path >Add Project" ?
    * I believe you have done it because you said the common library is getting compiled every time you are runnig the project.
    Best Regards,
    Pablo Souza

  • Problem compiling bankapp with pro c

    I'm having difficulty using pro c to build the bank var .ec files. I'm pretty
    confident I have proc configured correctly, as I am able to build the oracle samples.
    I am getting a very strange group of errors when I try to precompile the .ec
    files. Throughout the precomp. process, the compiler complains that semicolons
    are various strings (suffix, _f, <eof>, etc.).  I'm pretty sure I need to change
    something in my tuxedo configuration, but I've been spinning wheels for a while
    here and was hoping someone could point me in the right direction.
    thanks

    Manoj,
    Here is the error message (Hope it helps):
    TUXDIR=/opt/Tuxedo:/u01/app/oracle/product/8.1.6/precomp \
    /u01/app/oracle/product/8.1.6/bin/proc iname=TLR TLR.ec \
    include=/opt/Tuxedo/include
    Pro*C/C++: Release 8.1.6.0.0 - Production on Fri Jun 8 14:21:45 2001
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    System default option values taken from: /u01/app/oracle/product/8.1.6/precomp/admin/pcscfg.cfg
    Syntax error at line 54, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 54, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (acos,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 54, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 54, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (acos,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 56, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 56, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (asin,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 56, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 56, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (asin,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 58, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 58, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (atan,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 58, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 58, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (atan,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 60, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 60, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (atan2,, (_Mdouble_ __y, Mdouble __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 60, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 60, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (atan2,, (_Mdouble_ __y, Mdouble __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 63, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 63, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (cos,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 63, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 63, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (cos,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 65, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 65, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (sin,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 65, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 65, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (sin,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 67, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 67, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (tan,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 67, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 67, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (tan,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 78, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 78, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (cosh,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 78, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 78, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (cosh,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 80, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 80, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (sinh,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 80, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 80, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (sinh,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 82, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 82, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (tanh,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 82, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 82, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (tanh,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 86, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 86, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (acosh,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 86, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 86, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (acosh,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 88, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 88, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (asinh,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 88, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 88, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (asinh,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 90, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 90, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (atanh,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 90, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 90, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (atanh,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 96, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 96, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (exp,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 96, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 96, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (exp,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 106, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 106, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 106, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 106, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 109, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 109, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (ldexp,, (_Mdouble_ __x, int __exponent));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 109, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 109, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (ldexp,, (_Mdouble_ __x, int __exponent));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 112, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 112, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (log,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 112, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 112, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (log,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 115, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 115, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (log10,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 115, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 115, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (log10,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 118, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 118, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (modf,, (_Mdouble_ __x, Mdouble *__iptr));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 118, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 118, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (modf,, (_Mdouble_ __x, Mdouble *__iptr));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 122, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 122, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (expm1,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 122, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 122, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (expm1,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 125, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 125, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (log1p,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 125, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 125, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (log1p,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 128, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 128, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (logb,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 128, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 128, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (logb,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 143, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 143, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (pow,, (_Mdouble_ __x, Mdouble __y));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 143, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 143, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (pow,, (_Mdouble_ __x, Mdouble __y));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 146, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 146, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (sqrt,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 146, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 146, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (sqrt,, (_Mdouble_ __x));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    typedef, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name, a precompiled header, exec oracle,
    exec oracle begin, exec, exec sql, exec sql begin,
    exec sql type, exec sql var, exec sql include,
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 150, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 150, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (hypot,, (_Mdouble_ __x, Mdouble __y));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; , = ( [
    The symbol ";" was substituted for "suffix" to continue.
    Syntax error at line 150, column 1, file /usr/include/bits/mathcalls.h:
    Error at line 150, column 1 in file /usr/include/bits/mathcalls.h
    __MATHCALL (hypot,, (_Mdouble_ __x, Mdouble __y));
    1
    PCC-S-02201, Encountered the symbol "suffix" when expecting one of the following
    ; { , = ( [ auto, char, const, double, enum, extern, float,
    int, long, ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, stati

  • Problems Compiling Code With Function Pointers Using Sun CC (SUNWspro)

    I have a header file that contains a declaration to a function pointer as follows:
    int (*pFuncPntr)(char host, char comm, void *data);
    Then, in a *.c file which includes the header file where the function pointer is declared, the prototype for the function is at the top of the file and appears as follows:
    int someFunc(char hostname, char community, void *data);
    Then, in the same *.c file, down below, I attempt to assign the function pointer to the address of the function declared as follows:
    pFuncPntr = &someFunc;
    ... and further down in the *.c file is the definition of someFunc. ........................
    When I compile, I get the following error:
    : identifier redeclared: pFuncPntr
    current : int
    previous: pointer to function(pointer to char, pointer to char, pointer
    to void) returning int : "/vobs/pp2dev/src/cmds/emcp_pmgmtd/sparc_solaris/../emc
    p_pmgmtd.h", line 84
    "/vobs/pp2dev/src/cmds/emcp_pmgmtd/sparc_solaris/emcp_pmgmtd_solaris.c", line 46
    As far as I've read, this is the standard way of assigning a function pointer to the address of a function.
    Does anyone have any ideas what CC compiler is complaining about?
    Appreciate your response,
    dedham_ma_man

    WHen I try to include the ftp.jar package?? I use "package com.enterprisedt.net.ftp;".That isn't how you import a package. That declares that the class it is at the top of will belong to that package, and that's not what you want. I'm guessing that you need
    import com.enterprisedt.net.ftp.*;
    at the top of your code, just after the line where you declare the real name of the package your class is going to belong to.
    By the way, you need the compiled version of your downloaded FTP code, i.e. the .class files. If you got source code (.java files) you'll need to compile them, but you should be able to get the compiled version as a download.

  • 10.1.3 - Compiler problem rebuilding projects

    I found a problem compiling projects.
    Until 10.1.2 when I compiled a project and I got some errors correct classes where compiled and stored, now only if all is correct compilation succeds and compiled classes are stored.
    Is it possible to avoid that odd behaviour ?
    Tks
    Tullio

    Cannot confirm your observation.
    I believe it really depends on the location of the error.
    With 9.0.5.2 (!), depending on the location of the error, the amount of class files written differs enormously. Sometimes, it seems all class files are written except the ones with error. Sometimes almost no class files make it to the disk.
    If that's the odd behaviour you're talking about then this already existed in 9.0.5.2.
    Sascha

  • Help with servlet

    I have a project with servlets in the 2 following folders
    myprojects and myclasses
    In my projects I have the helloProject and inside it I have the helloHtml folder and the helloPackage.
    So in the helloHtml folder I have the hello.html file and in the helloPackage I have the Hello.java (which is the servlet)
    when I compile this .java file the class file is inserted in the file myclasses\helloProject\helloPackage
    First in the file hello.html I have the code
    action="http://localhost:8080/servlet/helloPackage.Hello
    and so the servlet is executed fine.
    The problem is that I need to put a button in the code of Hello.java
    so that I can have reloaded the first page which is the hello.html
    But I am confused if I write onclick=history.go(-1) I have what I want but this page is not reloaded so I have some parameters there that I do not want
    Can I write sth like onclick=location.href=http://locahost:8080/.....??
    Could you please give me an advice considering the above description of my files??
    Thank tou very much....

    use sendRedircet(String AbsoluteURL) to send the Browser a redirect header so the browser send a new (fresh) request to the serlvet (with any parameter you specified).

  • [solved] Compilation problems - virtualbox module with custom 2.6.37..

    Hi all
    I have some problems compiling the vbox drivers on my custom kernel26-n130 (http://aur.archlinux.org/packages.php?ID=32042). From /var/log/vbox-install.log:
    gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include -I/usr/src/linux-2.6.37-N130/arch/x86/include -Iinclude
    In file included from include/linux/io.h:22:0,
                     from include/linux/pci.h:54,
                     from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:99,
                     from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
    /usr/src/linux-2.6.37-N130/arch/x86/include/asm/io.h:45:21: fatal error: xen/xen.h: No such file or directory
    compilation terminated.
    I built the kernel without xen support. It's the same config I used with 2.6.36.2. I found a similar problem here: https://bbs.archlinux.org/viewtopic.php … 61#p871261 . I did the same as .:B:. did and commented out the  "#include <xen/xen.h>" line in  the file mentioned above. Compilation  runs fine and virtualbox seems to run with the drivers compiled this way. Though I don't think this is a very elegant way.
    Any other suggestions?
    Vlad
    PS: Sry for the noise!
    Had to install the xen header file...
    Last edited by DonVla (2011-01-08 16:26:36)

    I found the solution on http://communities.vmware.com/thread/29 … 0&tstart=0
    Linux x201 2.6.37-ARCH #1 SMP PREEMPT Fri Feb 18 16:58:42 UTC 2011 i686 Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz GenuineIntel GNU/Linux
    VMware Workstation 7.1.3 build-324285

  • Custom taglib with nested tag not working

    Hi everybody,
    I have a question concerning a custom taglib. I want to create a tag with nested child tags. The parent tag is some kind of iterator, the child elements shall do something with each iterated object. The parent tag extends BodyTagSupport, i have overriden the methods doInitBody and doAfterBody. doInitBody initializes the iterator and puts the first object in the pageContext to be used by the child tag. doAfterBody gets the next iterator object and puts that in the pageContext, if possible. It returns with BodyTag.EVAL_BODY_AGAIN when another object is available, otherwise BodyTag.SKIP_BODY.
    The child tag extends SimpleTagSupport and does something with the given object, if it's there.
    In the tld-file I have configured both tags with name, class and body-content (tagdependent for the parent, empty for the child).
    The parent tag is being executed as I expected. But unfortunately the nested child tag does not get executed. If I define that one outside of its parent, it works fine (without object, of course).
    Can somebody tell me what I might have missed? Do I have to do something special with a nested tag inside a custom tag?
    Any help is greatly appreciated!
    Thanks a lot in advance!
    Greetings,
    Peter

    Hi again,
    unfortunately this didn't work.
    I prepared a simple example to show what isn't working. Perhaps it's easier then to show what my problem is:
    I have the following two tag classes:
    public class TestIterator extends BodyTagSupport {
        private Iterator testIteratorChild;
        @Override
        public void doInitBody() throws JspException {
            super.doInitBody();
            System.out.println("TestIterator: doInitBody");
            List list = Arrays.asList(new String[] { "one", "two", "three" });
            testIteratorChild = list.iterator();
        @Override
        public int doAfterBody() throws JspException {
            int result = BodyTag.SKIP_BODY;
            System.out.println("TestIterator: doAfterBody");
            if (testIteratorChild.hasNext()) {
                pageContext.setAttribute("child", testIteratorChild.next());
                result = BodyTag.EVAL_BODY_AGAIN;
            return result;
    public class TestIteratorChild extends SimpleTagSupport {
        @Override
        public void doTag() throws JspException, IOException {
            super.doTag();
            System.out.println(getJspContext().getAttribute("child"));
            System.out.println("TestIteratorChild: doTag");
    }The Iterator is the parent tag, the Child shall be shown in each iteration. My taglib.tld looks like the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <taglib
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee web-jsptaglibrary_2_1.xsd"
         xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1">
         <tlib-version>1.0</tlib-version>
         <short-name>cms-taglib</short-name>
         <uri>http://www.pgoetz.de/taglibs/cms</uri>
         <tag>
              <name>test-iterator</name>
              <tag-class>de.pgoetz.cms.taglib.TestIterator</tag-class>
              <body-content>tagdependent</body-content>
         </tag>
         <tag>
              <name>test-iterator-child</name>
              <tag-class>de.pgoetz.cms.taglib.TestIteratorChild</tag-class>
              <body-content>empty</body-content>
         </tag>
    </taglib>And the snippet of my jsp is as follows:
         <!-- TestIterator -->
         <cms:test-iterator>
              <cms:test-iterator-child />
         </cms:test-iterator>The result is that on my console I get the following output:
    09:28:01,656 INFO [STDOUT] TestIterator: doInitBody
    09:28:01,656 INFO [STDOUT] TestIterator: doAfterBody
    09:28:01,656 INFO [STDOUT] TestIterator: doAfterBody
    09:28:01,656 INFO [STDOUT] TestIterator: doAfterBody
    09:28:01,656 INFO [STDOUT] TestIterator: doAfterBody
    So the child is never executed.
    It would be a great help if anybody could tell me what's going wrong here.
    Thanks and greetings from germany!
    Peter
    Message was edited by:
    Peter_Goetz

Maybe you are looking for