Where should the support classes of servlets, JSPs and EJBs be placed

          Hi
          Could you please tell me where the support classes (simple
          java classes) used by servlets, JSPs and EJBs should be placed.
          I find that my application does not work if I place all the
          support classes of a servlet under $MYSERVER/clientclasses. I need to place some in $MYSERVER/clientclasses and some in
          $MYSERVER/servletclasses. But I figured this out my trial and error and I could not find any logical explanation why some of them should go into $MYSERVER/clientclasses and others into
          $MYSERVER/servletclasses.
          Thanks
          Regards
          Pratima
          

you can put 'em in weblogic classpath
          Kumar
          Pratima Nambiar wrote:
          > Hi
          > Could you please tell me where the support classes (simple
          > java classes) used by servlets, JSPs and EJBs should be placed.
          > I find that my application does not work if I place all the
          > support classes of a servlet under $MYSERVER/clientclasses. I need to place some in $MYSERVER/clientclasses and some in
          > $MYSERVER/servletclasses. But I figured this out my trial and error and I could not find any logical explanation why some of them should go into $MYSERVER/clientclasses and others into
          > $MYSERVER/servletclasses.
          >
          > Thanks
          > Regards
          > Pratima
          

Similar Messages

  • Want to run servlets, jsp and ejb

    Hi there, I have just installed Oracle9iAS on my PC and want to check how to use OAS with servlets, JSPs and ejbs, so can any one tell me where can I find some worked examples and step by step deployment process, any help would be appreciated, regards, Shabbier

    If you have installed Oracle9iAS, you should be able to get to the welcome page at
    http://<machine_name>:7778/
    You can see J2EE demos off that page.
    Also, you can find info about oracle9iAS and documentation
    at http://otn.oracle.com/products/ias/content.html
    OC4J info can be found at
    http://otn.oracle.com/tech/java/oc4j
    -Prasad

  • Where does the java classes go?

    I normally use IntelliJ which automatically puts the java class and the jsp where they are meant to go.
    Can some help me.
    Can someone please tell me where to put the java class, i have put the jsp pages in the webapps\ROOT but where does the java classes go?
    Edited by: Tinkerbelle on Jul 24, 2008 1:46 AM

    Tinkerbelle wrote:
    sorry being stupid i do that sorry,
    If i change the class to type (as someone said in a previous post)That would only work if you already put the bean in the session scope.
    Did you try what PaulOckford wrote?
    >
    i get this error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 6 in the generated java file
    Only a type can be imported. com.database.contactDB resolves to a packageDo you have a package structure that looks like this:
    com
    com/database/ <-- This is where contactDB.class is located
    com/database/contactDB/
    Because that is what the compiler is saying. Though it may be thrown off by case (see below)
    P.S. If you use the jsp:useBean you do not need the import statement which appears to be where the error occurs. (One of the things that makes JSPs so hard to debug is the fact that the error line in the generated java file as referenced above is never the same as the line in the JSP file).
    >
    An error occurred at line: 3 in the jsp file: /login.jsp
    database.contactDB cannot be resolved to a type
    1: <%@ page import="com.database.contactDB" %>
    2:
    3: <jsp:useBean id='db'
    4: scope='session'
    5: type='database.contactDB'/>
    6: <html>
    And to be ultra clear - you did compile contactDB from a .java file to a .class file, and the class is called contactDB and not ContactDB correct? The class name is case sensitive and should be the exact same case in the useBean and import statements as in the real class name.
    >
    An error occurred at line: 3 in the jsp file: /login.jsp
    database.contactDB cannot be resolved to a type
    1: <%@ page import="com.database.contactDB" %>
    2:
    3: <jsp:useBean id='db'
    4: scope='session'
    5: type='database.contactDB'/>
    6: <html>
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
    Apache Tomcat/5.5.26Edited by: stevejluke on Jul 24, 2008 7:33 AM
    Fixed compile from .class file to a .java file to compile from a .java file to .class file

  • Deployment error - Missing class: javax.servlet.jsp.jstl.core.Config

    Hi,
    We are using JDeveloper 10.1.3.0.4(SU5) on windows for development of ADF application. We need to deploy the developed application onto Oracle Application Server 10g (10.1.3) which is running on Solaris. We are using BC4J, WAR and EAR deployment profiles in jdeveloper to create the .war and .ear files.
    If I deploy the generated ear on a standalone OC4J server install on my windows PC, it works fine.
    Now when I deploy the generated .ear file onto the Oracle Application Server 10.1.3 through Application Server Control interface and then try to access the jspx pages under our application we are getting following error:
    oracle.classloader.util.AnnotatedNoClassDefFoundError:      Missing class: javax.servlet.jsp.jstl.core.Config     Dependent class: com.sun.faces.application.ViewHandlerImpl     Loader: accaweb.web.accaweb:0.0.0     Code-Source: /oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/lib/jsf-impl.jar     Configuration: WEB-INF/lib/ directory in /oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/libThe missing class is available from the following locations:     1. Code-Source: /oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar (from WEB-INF/lib/ directory in /oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib)      This code-source is available in loader default.web.defaultWebApp:0.0.0.      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [oracle/app/oracle/product/10gas3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
    I have confirmed that the .war file inside the .ear file does contain the jstl.jar file under WEB-INF/lib folder. And the jar file does contain the class 'javax.servlet.jsp.jstl.core.Config'
    As a workaround, I found that if I copy the jstl.jar file from default-web-app to my application web-inf/lib folder, things start to work fine. ie copy from: '/oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar'
    to: '/oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/lib/'
    – or –
    Another workaround is to add the '/oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar' file in the classpath for my web application through Application Server Control setting page.
    Now both of these workaround needs us to perform additional post deployment steps which should really not be required since the jar files is included in the project.
    Has anyone faced this issue? Any pointers in this respect will be a great help.
    regards - rutwik

    Surprise Surprise !
    I just tried deploying the file via uploading it from the Application Server Control UI and it worked fine.
    Till now, I was ftp'ing the ear file from my PC to the server on which Oracle AS is running and was telling Application Server Control to pick form that uploaded location.
    I am still not clear on why it works with HTTP upload and not via the FTP upload?
    cheers - rutwik

  • Where should the third party JAR files be placed ?

    Hi,
    We have a requirement to perform encryption / decryption of supplier bids. In this case we require to use third party provider JAR files with OA framework code. Where should the JAR files generally be placed in such a scenario ?
    Thanks and Regards,
    Sandhya

    Checkout this post.
    How to inclue a third party .jar file in OA fwk classpath Class not found

  • Class javax.servlet.jsp.PageContext compilation error

    During Rebuild/compilation of the JSP files inside JDeveloper, I am encountering the compilation error "Error(548,78): method handlepageException (java.lang.Throwable) not found in class javax.servlet.jsp.PageContext. When I developed the same application under IBM WSAD, I included the library com.ibm.servlet.jar and will take care of it. Which Oracle Jdeveloper lib I need to include? Since it is a servlet library error, I tried to include the Oracle "Servlet APIC Classes" but it didn't fix the problem. Thanks in advance!

    hmmm... i had a look and it seems that what you are trying to "import" is actually in a package... instead of import try:
    package javax.servlet.jsp;you may need to go download this "package" and complile it in the directory you are working in.
    my advice: try the above statement (which does compile for me), if it doesn't work, you will need to find the source code for this package and compile it just like you do any other source code.
    hope this helps.

  • Where Should the JavaScript Go if I'm Calling from the Page HTML Header?

    In the Application Express User's Guide under "Calling the JavaScript File from the HTML Header Attribute" point 4 says:In HTML Header, call the JavaScript file using the following syntax:
    <script src="/my_images/custom.js" type="text/javascript"></script>However, it doesn't say where my_images is located.
    Where should the .js file be stored?
    Thanks,
    Gregory

    naviagte to shared component in the application edit screen and upload your .js file to static files.
    now you can ref. this file as
    In HTML Header, call the JavaScript file using the following syntax:
    <script src="#WORKSPACE_IMAGES#custom.js" type="text/javascript"></script>
    {?code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Where is the member class?

    Hi,
    I am Ryan.
    Here is a small piece of code.
    <pre>
    if( error.getClass().equals( SoftErrorException.<b>class</b> ) )
         throw new JspException();
    </pre>
    Can somebody tell me where is the member "class" referred in the object SoftErrorException. I checked in the class "Object" and "Class". I also checked in the Java documentation index. I still could not find it.
    Thanks in advance
    Ryan

    Can somebody tell me where is the member "class"
    referred in the object SoftErrorException. I checked
    in the class "Object" and "Class". I also checked in
    the Java documentation index. I still could not find
    it.
    Thanks in advance
    Ryanclass is not a member. This is part of the language. Also, SoftErrorException is not an Object it is a class. I'm also having a problem finding the documentation for this. I assume it is part of the JLS. ClassName.class is the same as InstanceOfClass.getClass().

  • Where does the supporting deatil is stored? in Planning or Essbase?

    Where does the supporting deatil is stored? in Planning database (RDMS) or Essbase database?
    Appreciate if u could reply ASAP.
    Thanks in Advance!!

    Supporting details are stored in Planning Applications RDBMS. check out HSP_COLUMN_DETAIL and HSP_COLUMN_DETAIL_ITEM in the application relational database
    Re: Refresh Database
    I can see 6 question and all are unresolved, Mark the answers if you think they are correct or helped you and close the thread.
    Cheers..!!
    Edited by: RahulS on Jun 21, 2011 3:58 PM

  • TS3212 Where is the support or updates for Windows 8??????????????????????

    Where is the support or updates for Windows 8??????????????????????

    What "support" or "updates" are you looking for? If you're having problems, perhaps if you post details, someone here can help you sort things out.
    Regards.

  • Where is the support status for different Oracle rdbms releases?

    Question:
    Where is the support status for different Oracle rdbms releases?
    Answer:
    Please refer to the following lifetime support policy document:
    http://www.oracle.com/support/library/brochure/lifetime-support-technology.pdf
    Edited by: user617984 on Mar 25, 2010 6:45 AM

    I see you answered yourself.
    Perhaps you ought to mark the question as answered.
    Regards,
    Phiri

  • P6N support, where is the support page for this motherboard?

    i have recently purchased an pn6 motherboard, but can't find any updates or support on msi website, i am worried becasue nvidia have had issues with sata and stuff, other manufactures have released new fixes. So what is msi doing? Where is the support?

    I'm ordering the 650i for myself... 680i just too bad, dun have internal PATA, which I worry that the JMicron thing will come back and haunt the user...
    the next thing to worry is Nvidia chipset is known to be power hunger....

  • Architecture Q. : Where should the ODI Repository Database be installed ?

    Hi all,
    Where should the repository ODI database be installed
    => on the same server as the source database one or ?
    => on the same server as the target database one
    Thanks for your answers
    Edited by: Meapri on Feb 26, 2009 6:59 AM

    Hi Shib,
    Maybe I could agree with you if you only use ODI for DW, for instance.
    If you think about data integration, no matter what kind of system, even at transactional system, or datamart extract/load the concept of "source and target" can be any of the RDBMS at company.
    What I'm defending is that in a complex environment, where ODI is the company *"data veins"*, the concept of source and target became complex too and, in my opinion, is not possible to decide where the repository should stay just by the use of those concepts.

  • Where should the ODI agent be

    Where should the ODI agent be. In Source server or target server
    app

    Well when we say the Target Location we generally means the Target Database or the Data warehouse location , since data needs to pass through the Target Server (target Database ) ,as i have mentioned before in my reply the target Tables or Database is how generally where the C$ ,i$ and various $ tables and also finally the Insert /Update takes place at the Target. When the data is there in one server ,the time for the agent to move data gets reduced and thus saved time and Efficiency.
    although this is not an hard and Fast rule its just an advisable practice. There are some Architecture where the ODI is installed in another Server and the Target Database is located in another Server. Some of them goes for creating the Agent at the Server where ODI is installed and so ODI communicates back and forth to in both the Server for its ELT operation.
    Again there are some who creates Agent even in the Source and Target , when there are huge loads needs to be fetched and processed.
    coming back to your question when you my machine , are you talking about your personal Desktop or Laptop Machine . ? In that case i guess your Target and Source and again the Agent created will be once Machine itself.
    Let me know if you require any more information or clarification .

  • I installed windows 7 using Boot camp, Then i wanted to install the support software using boot camp and it always stops at 50% i tried installing the software using internet it always gives me error when i start installing it on windows, What to do?

    I installed windows 7 using Boot camp, Then i wanted to install the support software using boot camp and it always stops at 50% i tried installing the software using internet it always gives me error when i start installing it on windows, What to do?

    What is the error? Are you following the Bootcamp instructions? Where on the "internet" are you trying to install from? Did you try downloading from here http://www.apple.com/support/bootcamp/downloads/?

Maybe you are looking for

  • Audio driver fails to install on xp 64 bit

    hello i have an »HP Compaq dc5850 Small Form Factor PC (ENERGY STAR)  Serial Number:  [Personal Information Removed]  Product Number:   AM500AW i installed windows xp 64 bit along with service pack to and i downloaded the xp/2000 adi hd audio drivers

  • Linux 3.3.8-1-ARCH hangs on Amazon EC2?

    Ok, I have been testing an arhc linux setup for a cloud webserver setup on AWS for the last month or so. Until now everything went without a hitch. Today I spin up a new instance to test the updates and I can't get it to come up after rebooting. I'm

  • Link with examples of using dbms_stats package

    Please, Should Someone let me know when I could find a link or some example on using the new DBMS_STATS package to gather data statisitcs? Thanks

  • Help, yoga s1 won't boot into win 8

    Help, can't boot after removing/replacing ssd on yoga s1. unit was working perfectly before that. All I wanted to do was upgrade my ssd to larger drive. I opened up my thinkpad yoga to check if new 480gb ssd was compatible with native 128 that came w

  • Adobe logo not displaying on my web page

    First I would apologise if I've posted this query on the wrong thread -though inadvertently. I have a website on which I've uploaded pdf files of my own data. The link on the page works very well and opens the pdf file swiftly. But my dilemma is that