Results 1 to 3 of 3

Thread: servlet

  1. #1
    IsaacDura is offline Member
    Join Date
    Jul 2008
    Posts
    2
    Rep Power
    0

    Default servlet

    Good, I get the following error:

    - Working with Tomcat and jsp taking on the path:

    C: omcat java-6.0.16-preconfiguredapache-tomcat-6.0.16webappsROOTjsp

    file caller when you press a button this, call. class which lies on the path:

    C: omcat java-6.0.16-preconfiguredapache-tomcat-6.0.16webappsWEB-INFProcess.class

    I get the following error: page not found,

    taking in the address bar:

    //localhost/../../WEB-INF/classes/Process.class?Historia=Historia

    I have tried in every way and nothing.

    Greetings and thanks.

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    7

    Default cannot put WEB-INF or META-INF in address bar

    Quote Originally Posted by IsaacDura View Post
    (... snip ...)taking in the address bar:

    Java Code:
    //localhost/../../WEB-INF/classes/Process.class?Historia=Historia
    I have tried in every way and nothing.
    Standard practices will not let web-inf or meta-inf be in any displayed path. Put the compiled class or jar as instructed. Change url to be
    Java Code:
    //localhost/Process.class?Historia=Historia
    and try that or in some manner approach the matter as letting Tomcat find the files in web-inf and meta-inf by it's own efforts.

    That, or some variation of the approach, is how this is solved.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  3. #3
    wolve634's Avatar
    wolve634 is offline Member
    Join Date
    Oct 2008
    Posts
    13
    Rep Power
    0

Similar Threads

  1. servlet
    By kondalrao.p in forum Java Servlet
    Replies: 1
    Last Post: 09-06-2008, 01:10 PM
  2. help in servlet
    By thamizhisai in forum Advanced Java
    Replies: 4
    Last Post: 05-20-2008, 06:10 AM
  3. Servlet
    By banie in forum New To Java
    Replies: 6
    Last Post: 04-11-2008, 05:18 PM
  4. How to mix servlet & JSP
    By Swamipsn in forum Java Servlet
    Replies: 1
    Last Post: 08-08-2007, 12:57 AM
  5. Replies: 1
    Last Post: 08-07-2007, 03:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •