You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Teh Noranis Mohd Aris <te...@yahoo.com> on 2007/01/15 03:25:22 UTC

Problem with Applet-to-Servlet Programs

Hi,
  I'm doing applet-to-servlet programs. I've put the applet in directory c:\jakarta-tomcat-4.1.31\webapps\ROOT\application\LoginApplet. I've put the servlet in directory c:\jakarta-tomcat-4.1.31\webapps\application\WEB-INF\classes\AppletLogin. When I run it in the web browser using http://localhost:8080/application/servlet/AppletLogin, I got the following error:
   
  HTTP Status 404 - application/AppletLogin
  type Status report
  message /application/AppletLogin
  description The requested resource (/application/AppletLogin) is not available.
   
  Where did it go wrong? How can I solve the problem? I've attached the applet and servlet programs. Please help me! Thank you.
   
  Yours Sincerely,
  TEH NORANIS      

 
---------------------------------
Never Miss an Email
Stay connected with Yahoo! Mail on your mobile. Get started!

Re: Problem with Applet-to-Servlet Programs

Posted by Andre Prasetya <an...@gmail.com>.
Have you map the AppletLogin to the servlet path at web.xml ?

if you haven't dont forget in doing so ^^


On 1/15/07, Teh Noranis Mohd Aris <te...@yahoo.com> wrote:
>
> Hi,
> I'm doing applet-to-servlet programs. I've put the applet in directory
> c:\jakarta-tomcat-4.1.31\webapps\ROOT\application\LoginApplet. I've put
> the servlet in directory c:\jakarta-
> tomcat-4.1.31\webapps\application\WEB-INF\classes\AppletLogin. When I run
> it in the web browser using
> http://localhost:8080/application/servlet/AppletLogin, I got the following
> error:
>
> HTTP Status 404 - application/AppletLogin
> type Status report
> message /application/AppletLogin
> description The requested resource (/application/AppletLogin) is not
> available.
>
> Where did it go wrong? How can I solve the problem? I've attached the
> applet and servlet programs. Please help me! Thank you.
>
> Yours Sincerely,
> TEH NORANIS
>
> ------------------------------
> Never Miss an Email
> Stay connected with Yahoo! Mail on your mobile. Get started!<http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/services?promote=mail>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
-Andre-

People see things the way they are and say "why ?" I see things that never
were and say "Why not ?"