Hi,
The question is where the MX4J jar IS, and where is it EXPECTED to be by
this com.jario library. If the two are different, that's why you're
getting the error. Specifically, it looks like com.jario is looking for
MX4J in the context classloader. In Tomcat, MX4J is on the bootstrap
Did you try setting the classpath for the JAR file. You need to give
the entire path till the JAR file.
-Sharad
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It is pretty easy, you just have to do 2 things:
First in the server.xml file, if you want to use another directory,
like myDirectory (at root of C or under linux /myDirectory), you have
to add this line at the end of the document logger .../ and /host:
Context path=/unitellie
From: JAY BHAGATWALA [EMAIL PROTECTED]
i have developed one servlet program, if i put the
program into the
webapps\servlets-example\web-inf\classes then it works
fine,
but if i put the program in another directory like
webapps\demo\web-inf\classes then it gives error that
requested resource
You can't do that directly. Set up an html file or a jsp file with a
redirect to the servlet you want. I believe this will be possible in
Servlet-2.4 (Tomcat 5), but not in Servlet-2.3 (Tomcat 4.x.x).
Jake
At 02:21 PM 12/23/2002 +0600, you wrote:
Hi all
Hi new to this group., but i want
You need to edit your classpath. You need to specify the drive name when
the servlet.jar is located. See tomcat\common\lib\servlet.jar;
snip
CLASSPATH=.;C:\ServletDevel;tomcat\common\lib\servlet.jar;C:
\javamail-1.2\ma
il.jar;C:\jaf-1.0.1\activation.jar
/snip
RS
Mike Neder [EMAIL
Thank you very much. :^) i can't believe I didn't see that
regards,
Michael
You need to edit your classpath. You need to specify the drive name when
the servlet.jar is located. See tomcat\common\lib\servlet.jar;
snip
CLASSPATH=.;C:\ServletDevel;tomcat\common\lib\servlet.jar;C:
Hi,
try
CLASSPATH=.;C:\ServletDevel;C:\tomcat\common\lib\servlet.jar;C:\javamail-1.2
\mail.jar;C:\jaf-1.0.1\activation.jar
instead.
Your CLASSPATH must include C:\ where you point to servlet.jar
This should help.
cu Stefan
- Original Message -
From: Mike Neder [EMAIL PROTECTED]
To:
that example may be protected with
a
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee !-- or
INTEGRAL --
/user-data-constraint
check WEB-INF/web.xml
Tim Julien
HP Middleware
-Original Message-From: Wang, Yuhui
[mailto:[EMAIL PROTECTED]]Sent: Friday, April
: Friday,
April 27, 2001 11:54 AMTo:
'[EMAIL PROTECTED]'Subject: RE: servlet problem
that example may be protected with
a
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee !-- or
INTEGRAL --
/user-data-constraint
check WEB-INF/web.xml
Tim Julien
11:54 AMTo:
'[EMAIL PROTECTED]'Subject: RE: servlet problem
that example may be protected with
a
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee !-- or
INTEGRAL --
/user-data-constraint
check WEB-INF/web.xml
Tim Julien
HP Middleware
---
, Yuhui [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 11:25 AM
To: '[EMAIL PROTECTED]'
Subject: RE: servlet problem
Also, if I try to open a file in my servlet code, like
File myfile = new File(myservlet.conf);
where should I put the file?
Yuhui Wang
-Original Message-
From: JULIEN
1. How can I know that Tomcat is working ?
You can browse the tomcat page that comes with your tomcat installation and
try the examples if they work, that's done...
(http://your_site:8080)
2. How can I install a servlet in it ?
Edit the server.xml, web.xml files, study them
I'm sorry that I can't answer your question right now. I'm a newbie and I
can't get my own JSP to compile. Since you have made if further than me,
could you be so kind and take a look at the posting with the title,
"Newbiee, JSP Example ?"
--Original Message--
From: [EMAIL PROTECTED]
To:
ot; [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 23, 2001 3:15 PM
Subject: RE: Servlet problem
I'm sorry that I can't answer your question right now. I'm a newbie and I
can't get my own JSP to compile. Since you have made if further than me,
could you be so kind and t
Here is the diferent code, could somebody tell if something is wrong
Directori
/webapps/
/serv/uploadtest.html
/servlet/UploadTest.java
web.xml, where does the UploadTest.java supose to be??
servlet
servlet-name
UploadTest
You're editing the wrong web.xml file first of all. The one you're changing
is used to configure your webapps.
You need to edit the %=your drive letter%:\%=your tomcat
folder%\webapps\ROOT\WEB-INF\web.xml file.
Your code:
servlet-class
UploadTest.java // ".java" is BAD
/servlet-class
the .java should not be in web-apps
compile it into a .class file and put it into webapps/serv/WEB-INF/classes/
Tomcat classloader will search this directory for classes
Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net
- Original
Thanks for the tip, but another question what's has to go in the /servlet/
folder
-Mensaje original-
De: Michael Wentzel [mailto:[EMAIL PROTECTED]]
Enviado el: Viernes, 23 de Febrero de 2001 03:24 p.m.
Para: '[EMAIL PROTECTED]'
Asunto: RE: Servlet problem
Here is the diferent code
The "UploadTest.class" file.
-Original Message-
From: Carlos Lpez M. [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 5:08 PM
To: [EMAIL PROTECTED]
Subject: RE: Servlet problem
Thanks for the tip, but another question what's has to go in the /servlet/
folder
--
nothing! :)
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net
- Original Message -
From: "Carlos Lpez M." [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 23, 2001 2:08 PM
Subject: RE: Servlet problem
Thanks for the tip, but another question what's has to go in
the /servlet/
folder
The servlet folder shouldn't actually exist at all. If you take a look
at the TOMCAT_HOME/conf/web.xml file you will see that the invoker
servlet(which handles "calling" the servlet requested) maps to the
The "UploadTest.class" file.
-Original Message-
From: Carlos Lpez M. [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 5:08 PM
To: [EMAIL PROTECTED]
Subject: RE: Servlet problem
Thanks for the tip, but another question what's has to go in
the /servlet/
Hey tanks you all, everithing work just fine. And I manage to upload the
file.
-Mensaje original-
De: Kyle Burke [mailto:[EMAIL PROTECTED]]
Enviado el: Viernes, 23 de Febrero de 2001 04:03 p.m.
Para: [EMAIL PROTECTED]
Asunto: RE: Servlet problem
You're editing the wrong web.xml file
I stand corrected. Thanks Michael.
-Original Message-
From: Michael Wentzel [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 4:54 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Servlet problem
The "UploadTest.class" file.
-Original Message-
From: Carlos Lpez
25 matches
Mail list logo