EJB, JSP on web sphere

Hello all
Can someone suggest a beginner's book or introductory resources for writing J2EE applications using EJB, JSP on Web Sphere 5.0?
thanks a bunch
Mahesh :)

For EJBs in general, "Bitter EJB" is a great book
it's one you can read on the bus, as opposed to a reference manual

Similar Messages

  • Web Sphere let me call EJB through the firewall.

    Finally I found some light on my problem related to the firewall.
    Seems like the web Sphere gives you the option to specify the port for the application server to communicate with the client. Can I do similar stuff with Sun Application server? Or I ask our customer to use web logic instead?
    http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/topic/com.ibm.support.was.doc/html/EJB_Container/1008407.html
    Let me know if this can be easily done with the application server configuration.
    Message was edited by:
    skoizumi2133
    Message was edited by:
    skoizumi2133

    Configuring the IIOP listener from the administration interface is possible in Sun application serverThis let you configure the initial port when ejb client connects to the application server but not the port the as talks back to the client.

  • Deploying EJBs in a web app

    Hi,
    I'm trying to deploy some EJBs in a WebLogic WebApp. I have it all packaged
    properly, and when I start the server, I can see that my EJBs are bound to
    the JNDI names. For example:
    Mon Jan 08 22:48:58 PST 2001:<I> <WebAppServletContext-myapp> binding
    web.xml EJB reference '<ejb_name>' to JNDI name '<ejb_name>'
    <ejb_name> is of course the name of the bean that is being deployed.
    The perplexing thing is that once it's running, I cannot bind to the bean
    name that I was successfully able to bind to when the beans were deployed
    using the 'weblogic.ejb.deploy' property in the weblogic.properties file.
    I'm assuming that I'm missing a name prefix or something, but I cannot find
    any mention of anything like that in the docs.
    Here is a partial stack trace from the exception that I get when trying to
    access the beans:
    javax.naming.NameNotFoundException: '<ejb_name>'; remaining name
    '<ejb_name>'
         at
    weblogic.jndi.toolkit.BasicWLContext.resolveName(BasicWLContext.java:745)
         at weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:133)
         at weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:574)
         at javax.naming.InitialContext.lookup(InitialContext.java:350)
         at jsp_servlet._index._jspService(_index.java:98)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    Any help of hints greatly appreciated.
    Dhiren

    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    Dhiren Patel wrote:
    OK, here is some more detail about what I'm trying to do:
    I would like to deploy my entire app under a single directory tree, and
    ultimately as a single jar/war/ear/whatever.You can do this with an ear file, but only WLS 6 supports EAR files.
    WLS 5.1 does not.
    Ah. I guess I'll have to wait until WLS6. Thank for the info.
    Dhiren
    During development, I would
    also like to minimize updates to my weblogic.properties file as other
    developers add stuff (new EJBs, etc.) to the code
    base.In WLS 5.1 you can deploy and ejb either through the weblogic.properties
    or by using the weblogic.deploy command-line or EJBDeployerTool GUI
    tools.
    In WLS 6, we allow you to copy a ear/jar/war into the applications
    directory, and the server will automatically recognize the new file and
    deploy it.
    On the surface, web
    apps seem like the way to go.The EJB stuff that you are seeing if for ejb-lins or references. These
    are references to EJBs but not the actual EJB code. EJBs cannot be
    deployed in WAR files.
    -- Rob
    Everything is under one directory and the lib
    directory is automagically added to the classpath. The "Writing Web
    Applications"
    document
    (http://www.weblogic.com/docs51/classdocs/webappguide.html#dd_contextparams)
    describes a directory structure that seemingly allows you to do all ofthis.
    There are also a couple of files (web.xml and
    weblogic.xml) in which you can specify EJB information, such as the JNDI
    name, etc. Presumably, this EJB information is for EJBs deployed withthe
    web app. I created the described directory structure and the two xmlfiles
    and deployed the whole thing as a web app via a'weblogic.httpd.webApp.xxx'
    property in the weblogic.properties file. The server starts up fine, and I
    get the following messages to the startup log for each EJB I'm trying to
    deploy:
    Tue Jan 09 00:10:23 PST 2001:<I> <WebAppServletContext-myapp> binding
    web.xml EJB reference '<ejb_name>' to JNDI name '<ejb_name>'
    This is what led me to assume that the server is deploying the beans.But,
    of course, when I try to access the beans, I get the exception shownbelow.
    >>
    Dhiren
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    Dhiren Patel wrote:
    Hi,
    I'm trying to deploy some EJBs in a WebLogic WebApp.I don't understand. A WebApp contains servlets, jsp pages etc. A WAR
    file would not contain an EJB. EJBs are deployed with an ejb-jar file
    and must be deployed in the EJB container. An EAR file contains
    multiple WAR and/or JAR files.
    Can you clarify what you are trying to do?
    -- Rob
    I have it all packaged
    properly, and when I start the server, I can see that my EJBs are
    bound
    to
    the JNDI names. For example:
    Mon Jan 08 22:48:58 PST 2001:<I> <WebAppServletContext-myapp>
    binding
    web.xml EJB reference '<ejb_name>' to JNDI name '<ejb_name>'
    <ejb_name> is of course the name of the bean that is being deployed.
    The perplexing thing is that once it's running, I cannot bind to thebean
    name that I was successfully able to bind to when the beans weredeployed
    using the 'weblogic.ejb.deploy' property in the weblogic.propertiesfile.
    I'm assuming that I'm missing a name prefix or something, but I
    cannot
    find
    any mention of anything like that in the docs.
    Here is a partial stack trace from the exception that I get when
    trying
    to
    access the beans:
    javax.naming.NameNotFoundException: '<ejb_name>'; remaining name
    '<ejb_name>'
    at
    weblogic.jndi.toolkit.BasicWLContext.resolveName(BasicWLContext.java:745)
    atweblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:133)
    atweblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:574)
    at
    javax.naming.InitialContext.lookup(InitialContext.java:350)
    at jsp_servlet._index._jspService(_index.java:98)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    Any help of hints greatly appreciated.
    Dhiren

  • WebLogic to Web Sphere Migration problem

    Hi,
    I have a problem on Migrating from Web Logic to Web Sphere in RSA for websphere 7.0 .
    On clicking prepare for deployment there displaying a pop up error "Deploy has encountered a problem". in details
    The error is:
    Deploying hqp-ejb
    Deployment from com.ibm.etools.ejbdeploy.EJBDeployer had errors:
    Error generating findTest(int) query for bean Foo(Abstract schema name=Foo). Error=query cannot be pushed down
    Query='SELECT Object (a) FROM Foo As a WHERE a.id = ?1 AND a.code = 'M''.
    This application is running fine in Web Logic.
    The queries are inside ejb-jar.xml.
    Please help to fix the problem.

    LiveCycle's install bits for WebSphere and WebLogic are different.  You simply shouldn't install the bits for WebLogic and then try deploying to WebSphere.

  • Directory structure of web sphere

    i did not get the directory structure of the web sphere 6.1 to deploy a sample application like webapps->dirname->WEB-INF->classes etc in tomcat server.
    The project is developed under tomcat but it has to be convert to the web sphere.

    please google..
    http://www.exforsys.com/tutorials/websphere/websphere-v5.0-workbench-basics-create-j2ee-projects.html
    http://publib.boulder.ibm.com/infocenter/wpfhelp/v6r1m2/index.jsp?topic=/com.bowstreet.designer.doc/designer/c_devenv_dir_structure.htm

  • Remove Default EJB/JSP Apps.

    Hi,
    I am wondering rather there are steps to remove the Default EJB/JSP Apps deployed in default installation.
    I only need to run servelt and web caches.
    Thanks,
    Stephen

    Weblogic 5.1 uses an architecture that is very unique. Consider it the
    exception, not the rule. You can NOT support a single deployment binary
    with WL 5.1 and other servers.
    The Weblogic 6.0 architecture is much closer to the others, and
    significantly better than the reference implementation's architecture. In
    6.0 you should be able to make a single app (EAR) that deploys to other
    servers as well.
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    +1.617.623.5782
    WebLogic Consulting Available
    "martin" <[email protected]> wrote in message
    news:3a6f070e$[email protected]..
    Hi,
    I have written an application that has EJBs, and JSPs that invoke the
    EJBs. It works on WebLogic 5.1.
    I want to package this application up in such a way that it can be
    deployed on any kind of J2EE application server.
    Using JBoss, I discovered that the JSPs by default do not have access to
    the interfaces supplied in the EJBs. i.e. I have to make copies of the
    EJB's home and remote interfaces, and put them where the JSP files can
    find them.
    This messing about was not neccessary with WebLogic. WebLogic knew to look
    in the EJB JAR files.
    So my question : For compatibility, should I create multiple copies of my
    EJB's interfaces, or is WebLogic's developer-friendly behaviour the
    correct one?
    Thanks, Martin.

  • EJB+JSP versus PHP

    What is the advantage of using EJB+JSP for a web ticket selling application instead of using PHP?
    Can Java support more customer hits compare to PHP?
    Is EJB+JSP better than PHP? Why?

    I know both PHP and Java. PHP is a more rapid development tool than Java. Once you know it, it is just easier to make simple pages out of it vs Java. In some ways PHP is easier to develop in and in some ways it is harder.
    There is no real IDE for PHP. There are some tools for real time syntax checking (Komodo) and debugging, but they are not as mature as the pick of current Java IDE's.
    In reverse, there is never a need to restart a server when updating a php file unlike Java. This is not a problem with JSP's, but when you change servlets the server will unload all classes from memory and reload. This is a major pain if you are working on a production server.
    I have created a game clan site with many functions using PHP and an order processing section of someones web site. It is fine for smaller projects and is very fast to develop in, however PHP does not scale as well as Java. A large enterprise system is better suited to using Java.
    Also, PHP is a loosely typed language. This has many nuances that are different from a strongly typed language like java. OOP is definately not as powerful in PHP, as there is no private, protected and public typing of methods and fields. You can make classes and even extend classes, but it is poorly implimented IMO. I did all my PHP OOP style, but did not use any inheritance. The limitations of OOP principles is probably the most restrictive aspect of PHP that I can see.

  • Web sphere portlets not working

    i have this provider registered in oracle portal as http://localhost:9080/portal/providers
    which are hosted on a web sphere application server but when i click on a link rather then
    going to http://localhost:9080/portal/main.do it is going to http://localhost/portal/main.do
    and is removing the 9080 port number and opening outside the portlet context

    Suzie,
    Most likely you forgot to use the pdk struts tags to render your link.
    Peter

  • Error while importing EJB model in Web dynpro: Unable to fetch the EJBs.

    Hi,
    We are getting the below error while importing ejb model to Web dynpro.
    Error :
    Unable to fetch the EJBs. Check if the selected Enterprise Application contain the EJBs.
    I have created the public part-> It has a reference to EJB client and the enterprise application also has reference to the EJB project.The EJB is also added in dependency list.
    But still we are getting this error. Could anyone please explain what can i do to solve this issue.
    Best Regards,
    Karthika

    Hi Vishweshwara,
    Thanks for your reply.
    Please find the steps i followed while importing EJB model in webdynpro.
    1. The Entity forwarding permission has been enabled.
    2. public part reference has been created and through the reference entity option the ejbDC->Client public part is selected.
    I followed all the steps mentioned in the document. But still i am getting that error. In EJB DC we have list of JPA entities and stateless session beans are exposed as a webservice(top-down manner).The enterprise application has a reference to the EJB DC.
    I could be able to invoke the ejb service beans from ejb explorer and Webservice navigator.
    I am able to insert,delete and modify the records from there.
    Please let me know what could i do to resolve this error?
    Best Regards,
    Karthika
    Edited by: SAKarthika on Apr 29, 2011 1:43 PM

  • EJB 3.0 Web Service

    Hi!
    I tried to create a Web Service (through wizard) from existing EJB 3.0 Session Bean. Basicly, the wizard just added @WebService annotation to my existing code...
    Now, the problem is that simple methods like:
    @WebMethod
    public String helloWorld() {
      return "Hello World!";
    }works fine. Expect that if I use Local Interface for this Session Bean, the WSDL shows two helloWorld methods (and one is with exclamation icon showing some kind of problem with multiple methods with same name - but it is not true, I have one and the other one is just interface).
    But, when I want to expose my real business service methods like:
    @WebMethod
    public List<Employee> getEmployees() {
      return (List<Employee>)q.getResultList();
    }it doesn't work (the Web Service create wizard finishes ok but service doesn't work)! When I try "Test Web Service" (from Session Bean context-menu) or "Show WSDL for Web Service annotations" the error is thrown (Null pointer exception in WSDL).
    Basically, it looks to me that Web Service cannot use EJB Entities as parameters or results. Is this correct? I saw some examples on EJB 3.0 web services and there are entities routinely used as both input and output parameters.
    Can someone, please, explain me what I'm doing wrong here.
    Thanks in advance,
    Pedja
    P.S. In Web Service wizard, only SOAP 1.1 is enabled. How can I choose SOAP 1.2? And what EJB 3.0 bindings are in same context (SOAP 1.2 or EJB 3.0 bindings?)?

    Hi Frank,
    Most of those problems are resolved (NPE was due to Timestamp field, and two methods with the same name in WSDL because of not choosing to generate SEI in wizard, so the generated WSDL had one method from the Session bean and the other from it's Local interface). But, the errors should DEFINITELY be more descriptive.
    Does the wizard work correctly? I noticed plenty of "bug like" details. For example, if I choose to create asynchronous web service, later when I go to Properties the "Asynchronous Web Service" checkbox isn't checked. Also, the @WebMethod annotations are sometimes generated and sometimes not (even if the method is checked to be exposed).
    I am also getting these exceptions when I create a proxy for the asynchronous web service (I selected "Generate asynchronous methods for all operations"), could be I'm doing something wrong:
    WARNING: The parameter/return type "java.util.concurrent.Future" in the method
    "public abstract java.util.concurrent.Future<?>
    view.proxy.MyAsyncWebService1.queryDepartmentFindAllAsync(javax.xml.ws.AsyncHandler<view.proxy.types.QueryDepartmentFindAllResponse>)"
    is not supported. This method will not be exposed.
    WARNING: The parameter/return type "java.util.concurrent.Future" in the method
    "public abstract java.util.concurrent.Future<?>
    view.proxy.MyAsyncWebService1.returnEmployeeAsync(javax.xml.ws.AsyncHandler<view.proxy.types.ReturnEmployeeResponse>)"
    is not supported. This method will not be exposed.
    Exception in thread "main" java.lang.NullPointerException
         at com.sun.xml.bind.v2.runtime.Coordinator.popCoordinator(Coordinator.java:122)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.close(XMLSerializer.java:823)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:310)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:230)
         at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:87)
         at oracle.j2ee.ws.common.databinding.runtime.jaxb20.Jaxb20Serializer.serialize(Jaxb20Serializer.java:218)
         at oracle.j2ee.ws.common.databinding.runtime.SerializerBase.serializeSequenceWrapper(SerializerBase.java:80)
         at oracle.j2ee.ws.client.jaxws.SoapRequestorSerializer.populateSoapMessage(SoapRequestorSerializer.java:89)
         at oracle.j2ee.ws.client.jaxws.WsClientProxyInvocationHandler.invoke(WsClientProxyInvocationHandler.java:184)
         at $Proxy11.returnEmployee(Unknown Source)
         at MyAsyncWebService1SoapHttpPortClient.main(MyAsyncWebService1SoapHttpPortClient.java:22)
    Process exited with exit code 1.Can anyone throw some light on this?
    Thanks,
    Pedja

  • Building a JSP-based Web Report with a Parameter Form

    Hi,
    I tried in building a report as shown in the example in OTN under reports in the url
    http://otn.oracle.com/products/reports/htdocs/getstart/examples/ParameterFormJSP/index.html
    i.e for Building a JSP-based Web Report with a Parameter Form. The directions in this document were not clear and if any one document which is clear with instruction will be useful to me. In this example it is shown with search criteria with sigle text box and if any one had idea & code to place an combo box and population of the record group in the combo box.
    Thank you in advance.

    hi,
    we will be releasing a new example w.r.t creating a parameter form using the reports JSP within the next month.
    as for your request for a combo box. this widget is not available via regular HTML form elements. you can either have a select list or dropdown list.
    for a regular select list you would use the following (only pseudo-code)
    <select ...>
    <rw:foreach>
    <option value="<rw:field .../>">
    </rw:foreach>
    </select>
    to populate a select list.
    regards,
    philipp

  • How to identify version of jsp in web app

    How to identify which version of JSP the web application is developed.
    Is it based on Servlet Version
    Where can i get information for Servlet version XX to ---> JSP Version XX

    Hi ElaKeen62,
    Just follow the instructions posted by Andrej.
    Alternative you can also make a right click on My Computer and choose Properties. In new window you can also see the OS version. ;)

  • Jsp-file="/WEB-INF/index.jsp" cannot load

              Hi,
              I am defining a servlet in the web.xml file using the following syntax.
              <servlet>
              <servlet-name>TestServlet</servlet-name>
              <jsp-file>/WEB-INF/index.jsp</jsp-file>
              </servlet>
              Then when I tried to access this servlet, I get a 404 not found error. The weblogic.log
              file complains with the following message:
              java.io.FileNotFoundException: no resource '/WEB-INF/index.jsp' in servlet context
              root '/home/dev/web/apps/MyApp'
              at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:293)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
              My jsp file in located in /home/dev/web/apps/MyApp/WEB-INF/index.jsp, I know weblogic
              doesn't support jsp under WEB-INF, however, according to Sun's Servlet specification,
              anything under web-inf should be accessible to getResource and getResourceAsStream
              method, and it looks like that's what weblogic implementation is using (from the
              error message). So I am not sure whether this is weblogic issue or I am doing
              something wrong. By the way, the above config in web.xml is supported in Tomcat.
              

              What version of WebLogic will incorporate Servlet spec 2.4 and allow jsp under
              web-inf?
              Chris
              "Narayan Anand" <[email protected]> wrote:
              >Regarding S-12864 - It will not work as stated in the solution in any
              >of
              >the available releases of WLS.
              >Please ignore that. I already informed the concerned person to correct
              >the
              >solution.
              >
              >The story behind this is:
              >Our engineering team is already aware of the fact that the request
              >dispatcher calls (include/forward) for a jsp under the web-inf directory
              >works in other app server - Tomcat.
              >Our engineering team had a discussion with the servlet/jsp spec experts
              >group for clarifying the spec and the tomcat implementation.
              >So the servlet expert group has decided to explicitly state in the spec
              >that
              >RD.forward() and RD.include() should be allowed access to resources in
              >/WEB-INF and it will be included in servlet spec 2.4. For now, WLS works
              >as
              >per the current specification.
              >
              >So far the story is - WLS will implement this in our next major release
              >which will be compliance with servlet spec 2.4.
              >In all the currently available WLS releases, accessed to a jsp under
              >the
              >WEB-INF directory is prohibited.
              >
              >--
              >Best Regards,
              >Narayan Anand
              >Developer Relations Engineer
              >BEA Systems, Inc.
              >
              >
              >
              >
              >
              >
              >"Ming Fan" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >> Thanks for the explanation. So this means weblogic treats such mapped
              >servlet request
              >> as a direct request to the jsp under WEB-INF, instead of forwarding
              >it to
              >some
              >> JspCompiler servlet and let that compiler servlet use some resource
              >loader
              >to
              >> load the jsp and then compile. I believe that latter implementation
              >approach also
              >> conforms the Servlet spec (it's a different way of treating the request,
              >I
              >guess).
              >>
              >> Now here's another question. According to Web logic Customer Support
              >Solution
              >> ID S-12864 (WLS 6.x - Cannot access JSP under the WEB-INF directory),
              >the
              >servlet
              >> should be able to get a request dispatcher, and then forward the request
              >to the
              >> jsp under WEB-INF. I am still using WLS 5.1, so does the above solution
              >apply
              >> to 5.1 also? It doesn't seem to work with 5.1. So is this a 5.1 problem
              >and I
              >> should upgrade to 6.1?
              >>
              >> Thanks.
              >>
              >> "Narayan Anand" <[email protected]> wrote:
              >> >Hi Ming,
              >> >
              >> >It is legal to put files under WEB-INF directory. But as mentioned
              >in
              >> >the
              >> >spec, it will be available only to servlet code and not directly to
              >client
              >> >request.
              >> >Read the last statement of the same paragraph in section9.5.
              >> >"Since requests are matched to resource mappings case-sensitively,
              >client
              >> >requests for '/WEB-INF/foo', '/WEb-iNf/foo', for example, should not
              >> >result
              >> >in contents of the web application located under /WEB-INF being returned,
              >> >nor any form of directory listing thereof.".
              >> >
              >> >So in your case, when you access the servlet which gets mapped to
              >> >/WEB-INF/your-jspfile, under no condition it should result in display
              >> >of jsp
              >> >contents.
              >> >It is working as per the specification.
              >> >
              >> >I hope this helps.
              >> >
              >> >Regards,
              >> >Narayan Anand
              >> >Developer Relations Engineer
              >> >BEA WebLogic Support
              >> >
              >> >
              >> >
              >> >"Ming Fan" <[email protected]> wrote in message
              >> >news:[email protected]...
              >> >>
              >> >> Actaully there are other ways to solve my problem. But what I am
              >> >interested to
              >> >> know is under the Servlet specification 2.3, is it legal to put
              >jsp
              >> >under
              >> >WEB-INF,
              >> >> define it in <jsp-file> xml tag, and should the JSP compiler be
              >able
              >> >to
              >> >see this
              >> >> as a resource. Apparently, Tomcat allows this behavior, so does
              >this
              >> >mean
              >> >Tomcat
              >> >> conforms better to the Servlet spec, or Tomcat is wrong but Weblogic
              >> >conforms
              >> >> better? Can anyone let me know what's the correct interpretation
              >of
              >> >section 9.5
              >> >> in servlet spec 2.3?
              >> >>
              >> >>
              >> >> "Jerrie Pineda" <[email protected]> wrote:
              >> >> >Try moving it to a different dir. You normally don't place jsp
              >file
              >> >> >in the
              >> >> >WEB-INF dir.
              >> >> >
              >> >> >
              >> >> >"Ming Fan" <[email protected]> wrote in message
              >> >> >news:[email protected]...
              >> >> >>
              >> >> >> Hi,
              >> >> >>
              >> >> >> I am defining a servlet in the web.xml file using the following
              >> >syntax.
              >> >> >> <servlet>
              >> >> >> <servlet-name>TestServlet</servlet-name>
              >> >> >> <jsp-file>/WEB-INF/index.jsp</jsp-file>
              >> >> >> </servlet>
              >> >> >>
              >> >> >> Then when I tried to access this servlet, I get a 404 not found
              >> >error.
              >> >> >The
              >> >> >weblogic.log
              >> >> >> file complains with the following message:
              >> >> >> java.io.FileNotFoundException: no resource '/WEB-INF/index.jsp'
              >> >in
              >> >> >servlet
              >> >> >context
              >> >> >> root '/home/dev/web/apps/MyApp'
              >> >> >> at
              >weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:293)
              >> >> >> at
              >> >weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
              >> >> >> at
              >> >>
              >>
              >>>weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:
              >2
              >> >0
              >> >> >0)
              >> >> >> at
              >> >>
              >>
              >>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
              >v
              >> >a
              >> >> >:115)
              >> >> >> at
              >> >>
              >>
              >>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextI
              >m
              >> >p
              >> >> >l.java:922)
              >> >> >> at
              >> >>
              >>
              >>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextI
              >m
              >> >p
              >> >> >l.java:886)
              >> >> >> at
              >> >>
              >>
              >>>weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletConte
              >x
              >> >t
              >> >> >Manager.java:269)
              >> >> >> at
              >> >>
              >>
              >>>weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380
              >)
              >> >> >> at
              >> >> >weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
              >> >> >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
              >> >> >>
              >> >> >> My jsp file in located in
              >/home/dev/web/apps/MyApp/WEB-INF/index.jsp,
              >> >> >I
              >> >> >know weblogic
              >> >> >> doesn't support jsp under WEB-INF, however, according to Sun's
              >Servlet
              >> >> >specification,
              >> >> >> anything under web-inf should be accessible to getResource and
              >> >> >getResourceAsStream
              >> >> >> method, and it looks like that's what weblogic implementation
              >is
              >> >using
              >> >> >(from the
              >> >> >> error message). So I am not sure whether this is weblogic issue
              >> >or
              >> >> >I am
              >> >> >doing
              >> >> >> something wrong. By the way, the above config in web.xml is
              >supported
              >> >> >in
              >> >> >Tomcat.
              >> >> >
              >> >> >
              >> >>
              >> >
              >> >
              >>
              >
              >
              

  • How to map jsp in web.xml

    Hi,
    CAn anybody tell me that how to map .jsp in web.xml
    thanx
    vjoy

    Same as servlets, except that you specify jsp-file in place of servlet-class - see below
      <servlet>
         <servlet-name>MyJspServlet</servlet-name>
         <jsp-file>/jspServlet.jsp</jsp-file>
      </servlet>
      <servlet-mapping>
         <servlet-name>MyJspServlet</servlet-name>
         <url-pattern>/myJspServlet</url-pattern>
      </servlet-mapping>cheers,
    ram.

  • Changing the directory Structure of Jsp and web.xml files

    Hi,
    I am using the JDeveloper 11g preview. Can any one tell me how to change the Jsp and web.xml files ( not in WEB-INF directory of the application) to another directory.
    Thanks in Advance
    Gopal

    Hi Frank,
    Is it possible for me to change the folder structure which JDeveloper is providing for web project?
    By default JDeveloper is giving the following folder structure.
    In the project's root folder there is a public_html and src folder along with .jpr file.
    In public_html folder thre is an WEB-INF folder and a jsp file
    In WEB-INF folder there is an classes folder along with web.xml file.
    I need to have the following folder structure :
    The WEB-INF folder should be in root folder of project not in public_html folder
    src folder must be in WEB-INF folder.
    Thanks in Advance
    Anil Golla

Maybe you are looking for

  • Photoshop CS6 PDF Saves Gray Type

    I am saving a combination of mobile screen shots with type descriptions below each screen. The first line and some last lines of type are appearing in gray instead of the standard black. I rasterized the type layers; however, this method thickens the

  • Solaris 8 installation Help 28/02/02

    Dear All I have download the companion Intel platform Edition, Solaris/Intel 427.65 Mb and unzip it by using the winzip. ( The folder name is s8ccd-7_01-i386)When i double clicked it straight away went to easy cd creator and automatically selecting c

  • How to display an HTML or RTF or PDF in flash

    Hi all, Is there any way to display a simple html document inside an swf? Note that the html will contain text, bullets, tables and bookmarks, but no images or links. Thanks in advance

  • Find all users who have delegated items to me.

    i need a rule / something, by which i can find all the active delegations assigned to me on my end user screens. It may be from my manager , or from any other user. I checked the user object and noticed that only the person who delegates has the info

  • Live type letters are showing all broken up...

    Live type letters are showing all broken up, more so when I export them to FCP Studio