tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Teh Noranis Mohd Aris <>
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
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,

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message