Products.class in app1.jar having
the header package app1.classes, but my jsp or other class is
calling for import app2.classes.Product, I am still going to
get an error like I am getting right now, won't I?
Thanks,
Rob
Anand B N wrote:
Mazur,
There is a way of using the same classes in two
David,
As regards to where to define your users here what you have to do :-
tomcat-users.xml defines a set of roles and users with passwords.
Here's a snippet:-
tomcat-users
user name=tomcat password=tomcat roles=tomcat /
user name=role1 password=tomcat roles=role1 /
user name=both
Mazur,
There is a way of using the same classes in two different web-apps in tomcat.
Try making individual JARs of the respective classes for app#1 and app#2
and put them in the corresponding WEB-INF/lib
or
put the classes for each of the web-app in the respective WEB-INF/classes.
and
Sukhwinder,
I've faced this problem before. It's got something to do with where your
JAR's are placed in the classpath.
If the class throwing this exception is somewhere inside tomcat's internal
classes (webserver.jar) then move it to a place other than the default /lib
folder and inclde it
If you are not using WARs and using a folder for your web application then
try :-
ServletContext tContext = request.getServletContext();
tContext.getRealPath(/);
Not sure if it works always but it works and I guess most servlet engines
also do function and retunr the
Hi,
I'm still stuck with my Classes problem in tomcat 4.
As I mentioned earlier the whole thing works fine in a IDE environment like
JBuilder but when I make them jars and put them in a standalone Tomcat 4
envrn it doesn't work.
Here's what I am doing:-
I have a JSP that invokes a method in
.
(By the way, you could do the same thing by having your admin servlet use
HttpURLConnection to perform the actual deploy and undeploy operations via
ManagerServlet ...)
Craig
On Mon, 27 Aug 2001, Anand B N wrote:
Date: Mon, 27 Aug 2001 19:18:02 +0530
From: Anand B N [EMAIL PROTECTED
Scott,
I may be wrong but here's what I think with respect to your problems:-
Question 1 : - I really don't know :)
Question 2: - Though u have mentioned auto reload to true try the follwing:-
Make a new Context entry in the Server.xml with your application and set
the reload value to true
Ok here's my problem:-
I have a Singleton class that gets instantiated while the Servlet(a
container servlet) initializes and in my web application I have JSPs with
Javabeans which then use the Singleton class(called TomcatManager) to get
handles on the Wrapper and Deployer objects so that I
Hi,
I'm using experimenting with Tomcat4 and I did the following:-
I wrote a servlet that implements the ContainerServlet[Obviosuly in the
org.apache.catalina.servlets package] . Now I have a set of JSPs which in turn use a
set of Java beans whcih in turn use this Servlet for getting hol of
10 matches
Mail list logo