tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Teh Noranis Mohd Aris <teh_nora...@yahoo.com>
Subject Why applets cannot link to next page in a servlet?
Date Fri, 19 Jan 2007 11:29:43 GMT
Dear All,

I put my applet and servlet in a directory (using
package statement in the java file) which I defined.
When I called the servlet in a web browser, the first
page of the applet was displayed. But when I login a
valid user name and password, the applet cannot link
to the next page which is defined in a servlet. 

Then, without defining the applet and servlet using
package, I tried to put the applet in:
C:\jakarta-tomcat-4.1.31\webapps\ROOT\ and the servlet
in:
C:\jakarta-tomcat-4.1.31\webapps\examples\WEB-INF\classes
and it works fine!

Can anyone please tell me why the applet CANNOT link
to the next page if I'm using package but it CAN link
to the next page without using package? How can I fix
this problem because I really want to organize my
files using package. Please help me! Thank you.

Yours Sincerely,
TEH NORANIS   


 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

---------------------------------------------------------------------
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


Mime
View raw message