This is what I did to get it to work.  I'm using SP1 of 3.0.

- form.jsp lives in default-app directory
- Under JMC/Default Server/Java Settings, add the path of the class file
(c:/com/xxx/admin)
- Restart default server
- Run jsp and click on submit.
- HelloWorld.class lives in c:\com\xxx\admin


Here's my simple jsp:
======================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
        <title>Untitled</title>
</head>

<body>

<FORM ACTION="/servlet/HelloWorld">
<INPUT TYPE="submit" VALUE="Submit">
</form> 

</body>
</html>
======================================================================

Steve Penella
Allaire Corp.


-----Original Message-----
From: Aravind Kumar LNS [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 11:30 PM
To: JRun-Talk
Subject: Servlet Mapping-Could not find servlet


I am unable to access my servlets in JRun 3.0.My form action statement
of a jsp refers to a servlet class file which fails to get invoked and
says could not find servlet.
how do i make the following statement work by giving the appropriate
settings in JRun 3.0.What settings need to be added to jrun 3.0(if any)
in JMC.

form name="ImportForm" method="post"
action="/com/xxxx/admin/ImportDataServlet.class"
ENCTYPE=\"multipart/form-data\"
I have ensured that the class  is in classpath mentioned in Javasettings
of my default server.I cannot change the location of the class file for
various reasons.

Kindly help me out from this as this is crucial and highly important for
me to solve.



--
################################################################
Aravind Kumar L.N.S
Systems Engineer,
Wipro Technologies,
################################################################

----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to