Re: Tomcat/JSP



I got that to work, but I want it to run automatically when the tomcat
service is started. I read that if you put it in the ROOT dir and the
ROOT web.xml file it would work with the load-on-start parm. This is
saying call not found.



riccardonews@xxxxxxxxx wrote:
This is the right floder list

/tomcatdir/webapps/myproject/index.jsp

/tomcatdir/webapps/myproject/WEB-INF/web.xml

/tomcatdir/webapps/myproject/WEB-INF/classes/myclass.class

/tomcatdir/webapps/myproject/WEB-INF/lib/mylib.jar

call index.jsp into your browser by
http://localhost:8080/myproject/index.jsp

bye bye!
Riccardo

Jon.Trav@xxxxxxxxx ha scritto:

I'm trying to call a jsp page when tomcat is started. I tried putting
it into the web.xml file in the conf folder. it says it can't find the
class. The jsp page is in the ROOT folder.

.



Relevant Pages

  • Re: Tomcat/JSP
    ... Jon.Trav@xxxxxxxxx ha scritto: ... ROOT web.xml file it would work with the load-on-start parm. ... it into the web.xml file in the conf folder. ... The jsp page is in the ROOT folder. ...
    (comp.lang.java.programmer)
  • tomcat authentication question
    ... I'm fairly new to configuring server.xml and web.xml files in tomcat 4. ... I am trying to require password authentication for access to a ... located directly in ROOT to be available without a password. ... trouble determing the correct path to use for the in the ...
    (comp.lang.java)
  • RE: Is Java/Tomcat on FBSD practical?
    ... I ran Tomcat as root ... Monitor Cache Dump: ...
    (freebsd-questions)
  • Re: Deploying Servlets in virtual host / virtual filesystem environment
    ... where war files are copied to ... >with the system's manager servlet. ... You can also include an xml file that goes into the webapps root ... What version of Tomcat? ...
    (comp.lang.java.programmer)
  • Re: Hox to match Linux PID to tomcat thread
    ... You therefore need to run your browser from root, ... But even then it might be necessary to run the StackTrace tool from the same user-id as the tomcat process (in order to have the permission for dumping the process). ...
    (comp.lang.java.programmer)