Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

trento

Greenhorn
+ Follow
since Apr 22, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by trento

I've discovered the answer to my question.
It is possible to have JSPs with the same name in different directories. The JSP engine uses the directory structure when naming the servlet classes. Classes in /root/DIR1/page.jsp would be in a package named root.DIR1, and /root/DIR2/page.jsp would be in root.DIR2. So internally they would be different.
Trent O.

Originally posted by trento:
Hello. I have a very basic question about JSPs. Let's say that I have 2 JSPs, one in the directory:
/root/DIR1/page.jsp
and another in:
/root/DIR2/page.jsp
Note that the JSP pages have the exact same name, but are in different directories. How will the servlet engine/jvm know to return to the correct JSP if they have the same name and compiled at the same time?
Thanks,
Trent O.



[This message has been edited by trento (edited June 28, 2000).]
21 years ago
Hello. I have a very basic question about JSPs. Let's say that I have 2 JSPs, one in the directory:
/root/DIR1/page.jsp
and another in:
/root/DIR2/page.jsp
Note that the JSP pages have the exact same name, but are in different directories. How will the servlet engine/jvm know to return to the correct JSP if they have the same name and compiled at the same time?
Thanks,
Trent O.
21 years ago
I'm trying to view a JApplet from a Netscape browser, and it keeps telling me "java.lang.NoClassDefFoundError: javax/swing/JApplet". I've even imported the javax.swing.* package. I can run it just fine from the dos command line with the appletviewer, but Netscape and IE are giving me fits. Any ideas?
[This message has been edited by trento (edited April 22, 2000).]
22 years ago