Hi Malini,

Include all the jar files present in the directory ..\jakarta-cactus-13-1.5-beta1\lib 
in your classpath.

Cheers,
Nishit

-----Original Message-----
From: malini rajaji [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 24, 2004 8:45 AM
To: Cactus Users List
Subject: To test Servlet using tomcat/cactus




Hai all,
I am a new cactus user
i am working in Unix and my cactus&tomcat looks like
<home>/tomcat
<home>/cactus
.I am following the steps given in 
http://jakarta.apache.org/cactus/integration/howto_tomcat.html
to test a servlet
i placed both sampleservlet.java and itz class in 
<home>/tomcat/webapps/examples/WEB-INF/classes
Now where to compile the TestSampleServlet.java ??
when i did that in the same dir,it says

TestSampleServlet.java:1: package junit.framework does not exist
import junit.framework.Test;
                       ^
TestSampleServlet.java:2: package junit.framework does not exist
import junit.framework.TestSuite;
                       ^
TestSampleServlet.java:4: package org.apache.cactus does not exist
import org.apache.cactus.ServletTestCase;
                         ^
TestSampleServlet.java:5: package org.apache.cactus does not exist
import org.apache.cactus.WebRequest;
                         ^
TestSampleServlet.java:7: cannot resolve symbol
symbol  : class ServletTestCase
location: class TestSampleServlet
public class TestSampleServlet extends ServletTestCase
..
..

Iam using cactus for the first time. I think i have some missing classpaths with cactus

Can anyone help me from this group
regards
malini                    



Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.

Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to