The requested resource (/mytest/test.jsp) is not available.

JSP and Java are NEW for me.
I have prepared Linux server with Tomcat and Apache servers, connect it to using mod_jk.
Apache and Tomcat are work fine following LINK.
http://localhost/examples/jsp/
But , when I access JSP from my folder which I made it same folder "examples" is not working.
http://localhost/mytest/test.jsp (This is my folder which i want to call all my JSP file.)
It display following error message:
Apache Tomcat/4.0.4 - HTTP Status 404 - /mytest/test.jsp
type Status report
message /mytest/test.jsp
description The requested resource (/mytest/test.jsp) is not available.
What can i do, HELP ME.

I STILL have some problem with JSP.
I have prepared Linux server with Tomcat and Apache servers, connect it to using mod_jk.
Apache and Tomcat are work fine following LINK.
http://localhost/examples/jsp/
But , when I access JSP from my folder which I made it same folder "examples" is not working.
http://localhost/mytest/test.jsp
(This is my folder which i want to call all my JSP file.)
It display following error message:
Apache Tomcat/4.0.4 - HTTP Status 404 - /mytest/test.jsp
type Status report
message /mytest/test.jsp
description The requested resource (/mytest/test.jsp) is not available.
What can i do, HELP ME ???

Similar Messages

  • The requested resource (/DBTest/SearchInventory.jsp) is not available.

    Hi,
    I have a search screen (jsp page) which has four fields to base the search on. Once the "Search" button is clicked, i am going to a servlet which does a select based on the search criteria, and stores the result in a ResultSet object. I then use the setAttribute method to store the result set in a bean. Here is the code for what i've just described:
    rs=stmt.executeQuery(QueryStr); //get result set
    HttpSession session=req.getSession(true);//create session var
    session.setAttribute("s_resbean",rs);//set bean attribute
    After this is set, i want to forward/redirect (whatever works...nothin does right now...the reason for this post.) back to the search screen(jsp page), and display the query ResultSet in the bottom half of the screen. I use the following code to do this:
    String url="/DBTest/SearchInventory.jsp";
    RequestDispatcher dispatcher=getServletContext().getRequestDispatcher(url);
    dispatcher.forward(req,res);
    Unfortunately, this gives me the following error:
    The requested resource (/DBTest/SearchInventory.jsp) is not available.
    Why would this be happening?? Is there another way of doing this? I'm just trying to follow the example in chp.15 of the free coreservlets pdf...
    Thanks in advance,
    Aditya.
    P.S. Here is the code for my bean...don't know if it's needed...
    public class SearchBean extends HttpServlet{
         private int searchFlag=0;
         private ResultSet searchRS;
         public SearchBean(){
         public int getSearchFlag(){
              return searchFlag;
         public ResultSet getSearchRS(){
              return searchRS;
         public void setSearchRS(ResultSet rs){
              this.searchRS=rs;
         public void setSearchFlag(){
              this.searchFlag=1;
    }

    I assume DBTest is the context root for your webapp.
    ServletRequest.getRequestDispatcher(String url) is looking for a url relative to the context root. Therefore if my assumption is correct you want to use the url /SearchInventory.jsp, removing the DBTest.
    HTH.

  • TS1424 I have downloaded a series of prison break but 3 episodes are saying "you do not have permission to access the requested resource" and "this episode can not be downloaded at this time" any idea how to fix this please??

    I have downloaded a series of prison break but 3 episodes are saying "you do not have permission to access the requested resource" and "this episode can not be downloaded at this time" any idea how to fix this please??

    I got this error with my iPad 3, my wife's iPhone 4, but not with my iPhone 4s.

  • The requested URL /OA_HTML/AppsLocalLogin.jsp was not found

    Dear,
    i was just upgrade the OracleAS 10g Release 3 (10.1.3.0) Patch Set 4 (10.1.3.4.0) and Java 6.0 JDK on this system (ebs r12.0.6) OUL5x64
    and run adautoconfig with no error.
    Before the upgrade the system was fine.
    but when i connect to the URL got this error.
    NOT FOUND the request URL "The requested URL /OA_HTML/AppsLocalLogin.jsp was not found on this server."
    looked into the apache error log and it complained , could not find the file, but i compared with a good system there were no file and DIR OA_HTML/AppsLogin.
    /u01/oracle/CRPXX/inst/apps/CRPXX_xxx/portal/OA_HTML/AppsLogin.
    from Apache error log:
    File does not exist: /u01/oracle/CRPXX/inst/apps/CRPXX_xxx/portal/OA_HTML/AppsLogin.
    Please advise.
    Regards,

    Hi,
    Have a look at this thread.
    Login Page not getting Displayed after 10.1.3 Home Upgrade in R12
    Login Page not getting Displayed after 10.1.3 Home Upgrade in R12
    Regards,
    Hussein

  • The requested resource does not exist - EAR - Jsp

    Hy!
    Following a tutorial I'm trying to create a small application in the Developer Studio.
    I created a Table, an EJB-Project with an Entity Bean and a Stateless Session Bean, a Web-Project with a JSP-File and an EAR which I deployed. Now the JSP form should be available at http://[server-name]:50000/employee/view.
    But I get:
    404   Not Found - SAP J2EE Engine/6.40
    The requested resource does not exist.
    Details:     Go to main page of this application!
    "main page" is a link which refers to http://localhost:50000/index.html which is the SAP Engine Start Page.
    This is my first experience with sap netweaver. So I don't know where I should start to search for the problem or how to solve it.
    In the web.xml of the WebProject there is the following code for the servlet mapping:
    <servlet>
         <servlet-name>NewEmployee.jsp</servlet-name>
         <jsp-file>/NewEmployee.jsp</jsp-file>
    </servlet>
    <servlet-mapping>
         <servlet-name>NewEmployee.jsp</servlet-name>
         <url-pattern>/view</url-pattern>
    </servlet-mapping>
    This is the code in the application.xml of the ear which should make it possible to access the webproject under .../employee.
    <module>
         <web>
              <web-uri>EmployeeWeb.war</web-uri>
              <context-root>employee</context-root>
         </web>
    </module>
    Best Regards,
    Carina

    Hy!
    I tried several changes and found out, I just had to remove the ' / ' bevor NewEmployee.jsp in the jsp-file - tag.
    <servlet>
         <servlet-name>NewEmployee.jsp</servlet-name>
         <jsp-file>NewEmployee.jsp</jsp-file>
    </servlet>
    Now it works and I'm able to test the jsp. There's a form and after a submit a jndi-lookup is performed.
    Object ref=jndiContext.lookup("java:comp/ev/ejb/EmployeeService");
    It seems the EJB reference in the web.xml:
             <ejb-ref>
              <ejb-ref-name>ejb/EmployeeService</ejb-ref-name>
              <ejb-ref-type>Session</ejb-ref-type>
              <home>com.sap.bsp.EmployeeServicesHome</home>
              <remote>com.sap.bsp.EmployeeServices</remote>
              <ejb-link>EmployeeEjb.jar#EmployeeServicesBean</ejb-link>
         </ejb-ref>
    doesn't work, because I get:
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/ev/ejb/EmployeeService.
    Looking forward to a hint
    Best regards,
    Carina

  • The requested resource (/test/) is not available. Tomcat. Myfaces.

    Hi, i use Myfaces and Tomcat. Sometimes there is error : The requested resource (/test/) is not available. This is regarding war file. How can i check where there is the error? Sometimes the files are allmost same, i think. But in one time it works, in other no. I use Eclipse to edit and create files. Is it possible to check the errors before creating of war file? Thanks in advance!!!!!!!!!!

    Hi, i use Myfaces and Tomcat. Sometimes there is error : The requested resource (/test/) is not available. This is regarding war file. How can i check where there is the error? Sometimes the files are allmost same, i think. But in one time it works, in other no. I use Eclipse to edit and create files. Is it possible to check the errors before creating of war file? Thanks in advance!!!!!!!!!!

  • The requested resource (/ShowParameters) is not available.

    hi
    hope someone can help me cause i'm looking for hours and cannot find my error :(
    I use a from.jsp with the following action:
    <form action="/ShowParameters" method="post">as soon as i click on the submit button i do get the following error message:
    The requested resource (/ShowParameters) is not available.I structured my tomcat webapp as followed:
    webapp called test:
    webapp\test\form.jsp
    webapp\test\WEB-INF\web.xml
    webapp\test\WEB-INF\classes\coreservlets\ShowParamaters.class
    my web.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"  version="2.4">
         <servlet>
              <servlet-name>ShowParameters</servlet-name>
              <servlet-class>coreservlets.ShowParameters</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>ShowParameters</servlet-name>
              <url-pattern>/ShowParameters</url-pattern>
         </servlet-mapping>
    </web-app>and finally my ShowParameters.java
    package coreservlets;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    public class ShowParameters extends HttpServlet {
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
          throws ServletException, IOException {
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        String title = "Reading All Request Parameters";
        out.println(ServletUtilities.headWithTitle(title) +
                    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
                    "<H1 ALIGN=CENTER>" + title + "</H1>\n" +
                    "<TABLE BORDER=1 ALIGN=CENTER>\n" +
                    "<TR BGCOLOR=\"#FFAD00\">\n" +
                    "<TH>Parameter Name<TH>Parameter Value(s)");
        Enumeration paramNames = request.getParameterNames();
        while(paramNames.hasMoreElements()) {
          String paramName = (String)paramNames.nextElement();
          out.print("<TR><TD>" + paramName + "\n<TD>");
          String[] paramValues =
            request.getParameterValues(paramName);
          if (paramValues.length == 1) {
            String paramValue = paramValues[0];
            if (paramValue.length() == 0)
              out.println("<I>No Value</I>");
            else
              out.println(paramValue);
          } else {
            out.println("<UL>");
            for(int i=0; i<paramValues.length; i++) {
              out.println("<LI>" + paramValues);
    out.println("</UL>");
    out.println("</TABLE>\n</BODY></HTML>");
    public void doPost(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    doGet(request, response);
    so that's my simple webapp but still i cannot find the error :(
    another questions: in general, would you suggest to use a controller.jsp instead of the servlet?

    hi
    1) i compiled the .java by using eclipse and did not get any error message
    2) my directory structure:
    webapp\test\form.jsp
    webapp\test\WEB-INF\web.xml
    webapp\test\WEB-INF\classes\coreservlets\ShowParamaters.class
    webapp\test\WEB-INF\classes\coreservlets\ServletUtitlities.class
    do i have to add the ServletUtilities.class also in the web.xml?
    thanks for helping cannot find any error :(

  • Web.xml deployment - The requested resource is not available

    I am trying to deploy part of my project and cannot get it to work.
    If I put this in:
    <url-pattern>/traveltimes.do</url-pattern>and go to http://localhost/testLINK/traveltimes.do it works fine.
    However when I put
    <url-pattern>/milwaukee/traveltimes.do</url-pattern>and go to
    http://localhost/testLINK/milwaukee/traveltimes.do
    I get this error:
    The requested resource (/milwaukee/milwaukee/traveltimes.jsp) is not available.I can't figure out why it is putting in that extra /milwaukee. Any ideas?
    John

    Well here is something really weird. If I change it to:
            <servlet-name>Milwaukee Travel Times</servlet-name>
            <url-pattern>/test/traveltimes.do</url-pattern>and go to http://localhost/testLINK/test/traveltimes.do
    I get
    /test/milwaukee/traveltimes.jspis not available. I have no idea where it is pulling that milwaukee from, and why it does so only when I have the extra level in the path.
    Any ideas on where I can go from here?
    John

  • ITunes Get Artwork:  "Artwork for [album name] cannot be found.  You do not have permission to access the requested resource."

    I just installed iTunes 10.5 (latest version as of 11 Jan 2012), onto a computer running Windows 7 Ultimate x64.  I loaded my music library into it, it compiled the list and separated them by album.  But even though I'd assigned most of the albums artwork through my Zune management software (a Microsoft product), almost none of them populated into iTunes.  So I went through and started asking the software to try to find album artwork where possible.
    I did this a few times album by album, then I decided to select multiple albums and see what happened.  No problems.  Then I selected all of the albums I had--about 600 in all--and asked it to get artwork.  It seemed to process for a bit, then came back with the error, "Artwork for [album name] could not be located.  You do not have permission to access the requested resource."  I tried this on several individual albums, only to receive that same error.
    The very first time I did it, I was told I needed an account with the iTunes store to make it work, so I signed in using an old Apple ID (the account had been inactive for so long it had been locked for security, I unlocked it and that seemed to be that).  Then I did what I described above.
    The weird thing--to me--is that I can still add artwork to the albums manually if I want to, from imagery stored locally on my own computer.  The only thing it seems to have a problem with is when I ask it to go find artwork from the iTunes store.
    Do I need to uninstall iTunes and then reinstall it?  Did something go wrong with the process of authorizing the computer to work with the iTunes store?  Do I need to de-authorize and then re-authorize the computer?  Could this be something related to Windows permissions on the iTunes library?

    Right on about how to reset the warnings, it was exactly that.
    I went through the steps to let iTunes through Windows Firewall, but still get the same problem when I access the iTunes store (and even though I followed the steps in the help file to the letter, I notice it still says iTunes is NOT enabled for it).  And now, thanks to the re-enabled warnings, when I try to get it to download artwork for single albums, this is what I get:
    "Artwork for [album name] could not be found.  An unknown error occurred (-50)."
    New results from the diagnostics too:
      Microsoft Windows 7 x64 Ultimate Edition Service Pack 1 (Build 7601)
    Acer Aspire 8930
    iTunes 10.5.2.11
    QuickTime 7.7.1
    FairPlay 1.13.37
    Apple Application Support 2.1.6
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 4.0.0.97
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0034AA84038F17E0
    Current user is an administrator.
    The current local date and time is 2012-01-13 09:21:52.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    NVIDIA, NVIDIA GeForce 9700M GT
    **** External Plug-ins Information ****
    No external plug-ins installed.
    The drive Q: SEMC CD-ROM Rev 0001 is a USB 1 device.
    iPodService 10.5.2.11 (x64) is currently running.
    iTunesHelper 10.5.2.11 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name: {403AFC2C-1FCE-43B2-B9E8-D414B29FF5D1}
    Description: Intel(R) WiFi Link 5100 AGN
    IP Address: 10.100.3.244
    Subnet Mask: 255.255.248.0
    Default Gateway: 10.100.0.1
    DHCP Enabled: Yes
    DHCP Server: 10.100.0.1
    Lease Obtained: Fri Jan 13 09:00:56 2012
    Lease Expires: Sat Jan 14 09:00:56 2012
    DNS Servers: 202.174.158.10
    8.8.8.8
    Adapter Name: {B50EA825-FB09-459D-8855-77E5A43E18B1}
    Description: Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller
    IP Address: 0.0.0.0
    Subnet Mask: 0.0.0.0
    Default Gateway: 0.0.0.0
    DHCP Enabled: Yes
    DHCP Server:
    Lease Obtained: Thu Jan 01 04:30:00 1970
    Lease Expires: Thu Jan 01 04:30:00 1970
    DNS Servers:
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    SSL 3.0 Support: Enabled
    TLS 1.0 Support: Enabled
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Basic connection to the store failed.
    An unknown error occurred (-50).
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2012-01-12 07:09:14.

  • Error :-The requested resource does not exist while opening the adobe form

    hello Experts,
    We are in Portal implementation face with ECC6 EHP4 and Portal EHP1
    We have developed adobe  form using HCM forms and processes and done the required configuration in SPRO
    When we are trying to open the form from ESS we are getting below error
    404 not found
    The requested resource does not exist.
    Please look into this issue and let us know any thing we are missing
    Sincerely
    Paresh

    is ADS working correctly?
    1.  Use transaction SA38 to execute the program FP_TEST_00.
           Detailed information about this test program and about how you
           should then proceed is given in the Adobe Document Services
           Configuration Guide in the Help Portal under:
           http://help.sap.com/saphelp_nw2004s/helpdata/en/37/504b8cbc2848a4
           94facfdc09a359b1/frameset.htm -> Adobe Document Services
           Configuration Guide -> Configuring the Web Service -> Securing
           Access to the Web Service ->Configuration Check -> Configuration
           Check for PDF-Based Forms in ABAP
           -  If the FP_TEST_00 form is displayed in the print preview, the
              ADS configuration is correct.
              -> If you use scenarios with an interactive PDF, proceed with
              point 5. Otherwise, proceed with the test under point 6.
           -  If the system displays an error message instead of a form, the
              configuration of ADS is incorrect.
              -> Carry out the additional tests from point 2 onwards.
    2.  Use transaction SA38 to execute the program FP_PDF_TEST_00.
        This enables you to check the RFC connection to ADS  (see the
        reference to the documentation given above).
           -  If the system displays the version number of ADS, the
              configuration of the RFC connection is correct.
    read the note 944221
    Please paste the whole error? Is any dump in ST22

  • Web Dynpro image not found: The requested resource does not exist

    Hi everybody,
    I'm experiencing a strange Poltergeist, so I would like to cry out the issue and hope any kind sould could help me
    In my WebDynpro application, I show a JPG picture which is located in the own project, that means in "src/mimes/Components/metromadrid.net.formacion.Cursos". The image appears correctly in my Development environment, but when the activity is moved to the Consolidation System (I'm using JDI), the image doesn't appear. If I try to access it directly, via URL, the messagen shown is "404 Not found: The requested resource does not exist.." (the URL accessed is http://hostname:port/webdynpro/resources/metromadrid.es/formacionapp/Components/metromadrid.net.formacion.Cursos/foto_vacia.jpg)
    The point is that in the same Consolidation environment I have already some applications with images, which are found and loaded without any problem.
    I have checked if the image appears in the corresponding active repository and everything seems alright (I mean I can see the file there).
    Any idea? It would be really appreciated, since my time to solve the problem expires in few days...
    Thank you very much in advance!!
    Isidro Lopez

    Hi Isidro,
    your mime files were most probably not added to your NWDI activities when developing your Web Dynpro DC. This means when adding these mime files to the src/mimes/<comp package>.<Comp name> folder the Web Dynpro Tools have most probably not detected the new mime files. When testing your application on in your local development environment all images appear as they exist on your local file system. As missing mimes do not cause a CBS build failure you won't encounter a designtime error.
    Please check whether the corresponding mimes are listed as   'local only' (house symbol) in your DTR perspective. In case they are listed as 'local only' you must explicitly add them to an activity.
    I have also encountered this missing mime problem before but I have not started any investigation to really determine the reason for it.
    Best regards, Bertram

  • 404 Not Found,   Error: The requested resource does not exist.

    Hi all,
    When I try to access VC with the http://localhost:50400/vc where 04 is the CE1 instance, it returns the following error:
    404 Not Found
      Error: The requested resource does not exist.
    Any clues. Just to add that the CE1 servers are running green and nwa is accessible on same url.
    Regards.

    Hi
    Try with following link (VC should be in Caps) -
    http://localhost:50400/VC/default.jsp
    Also check whether you have proper admin roles assigned to your user id.
    Regards
    Sandeep
    Edited by: Sandeep Patki on Sep 16, 2009 8:47 AM

  • Http-XI-File:  "The requested resource does not exist"

    i have a http-XI-File scenario, where i m sending a request from the HTTpClient application(i obtained that HTTPClientApplication from SDN itself), when i send the request, i receive a response in the internet explorer as
    "The requested resource does not exist"...
    help me

    Hi,
    Have You Entered Correct Input Parameters in the Client Test Tool ???
    Please Mention the Correct Server Port
    Regards
    Khanna

  • "404 Error - The requested resource does not exist" found in portal for Collaboration room

    Hi Experts,
    I am trying to resolve this issue since a week but not able to solve it, so i need your help.
    The Problem is when i assign a collaboration room to a user, the room is assigned but when the user clicks on the room link it gives the "404 Error - The requested resource doesn't exist". But if a new room is created and give access to the user, the user is able to open the new room through the link and view the documents.
    The Unique thing about the error is, it doesn't occur for every user it happens with few users, since I am the super_admin I am able to view all the rooms without getting such "404 error" even for once.
    I have tried by setting up all the permissions to the room and also assigning Everyone role to the rooms, still the problem persists.
    I am unable to find a solution for this, so need your help.
    Eagerly waiting for your helpful replies.
    Thanks in advance.
    Thanks & Regards,
    Shumana.

    Hi
    Try with following link (VC should be in Caps) -
    http://localhost:50400/VC/default.jsp
    Also check whether you have proper admin roles assigned to your user id.
    Regards
    Sandeep
    Edited by: Sandeep Patki on Sep 16, 2009 8:47 AM

  • Error:  The requested resource does not exist. (Servlet)

    Hello,
    I created a simple JSP(submit form), that calls a servlet. When I run the JSP, I see the form. On submit, I get error screen:
    404   Not Found
    Error: The requested resource does not exist.
      Troubleshooting Guide https://sdn.sap.com/irj/sdn/wiki?path=/display/jsts/home
    Details: Go to main page of this application!
    The URL shows the path to the servlet (fully qualified name of the servlet class)
    http://<host>:50000/WebClient/<path>.ClientServlet
    Logs don't show anything...
    What am I missing here..,

    The servlet mapping was wrong in web.xml(missed the package.name)

Maybe you are looking for

  • Full revision list of the Zen Micro's firmware?

    / I've been digging up various firmwares, and I'll be honest and say that because I use an AC Adaptor that 2.2.02 and ..0 are not in my best interests. While I have no tested whether .02.05 retains charge over time I will probably do so tomorrow. I'd

  • Lost Album Cover Art

    When you download music from iTunes, you also download the album cover. I ended up wiping my hard drive a few months ago due to a virus, and had backed up all my music, but lost the album cover art. I would like to back them up, but I don't know wher

  • Security Update 2009-004 Mac OS 10.4 Intel & Keychain permission (Mail etc)

    After upgrade above, constantly got KeyChain permission request and no matter how many times you granted it, it kept asking, someone else found the cure this is a synopsis of the answer: (Answer extracted from http://unsanity.org/archives/2007_01.php

  • Iphone got stuck in between the update

    I need help please ! i got a software update in my iphone5 and i installed it. but in between installation my iphone got stucked. the only thing i can see is itunes logo and plug in wire . I thought maybe we have to connect iphone to the itunes so th

  • Quit unexpectedly while using the QuartzCore plug-in.

    Pages '09, Numbers '09, Keynote '09, and iMovie '09 all crash on launch, saying that they "quit unexpectedly while using the QuartzCore plug-in". My Share button in iMovie '13 is also not working; I click on it and nothing happens. When I go to File