If you are not creating servlet mapping,you can always copy servlet classes 
in servlet directory(for the purpose of dev).In that case the link should be
<a href="../servlet/clesson?ID=0">start</a>

sahaya.


>From: "Jason D. Wolfe" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: JRun-Talk <[EMAIL PROTECTED]>
>Subject: RE: pass parameter to a servlet?
>Date: Wed, 25 Apr 2001 00:25:49 -0600
>
>the class file actually goes in the WEB-INF/classes directory of the
>application, not the servlet directory that I assume you created on your
>own.
>
>Jason D. Wolfe
>Application Developer
>iVolution Interactive
>[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>http://www.ivolutionmedia.com <http://www.ivolutionmedia.com>
>970.980.9619
>
>
>-----Original Message-----
>From: ntrgiang [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, April 24, 2001 4:59 PM
>To: JRun-Talk
>Subject: pass parameter to a servlet?
>
>
>from an html file, I have a link:
>.....
><a href="servlets/clesson?ID=0">start</a>
>.....
>
>but in browser, when I click in that link, browser give me an "error: 404
>not found".
>
>I have placed 'clesson.class' in "servlet" directory. But always I receive
>that error.
>
>Please help me solve this error. Thanks
>Regards,
>Giang
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to