Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 23, 2012, 10:46:42 PM

Pages: [1]   Go Down
  Print  
Author Topic: web.xml/packages in Resin?  (Read 788 times)
razvanr
Space Explorer
***
Offline Offline

Posts: 7


WWW
« on: September 03, 2002, 04:17:00 PM »

cannot use packages under WEB-INF\classes?!?
server (or web.xml?) didn't find my servlets, if placed within WEB-INF\classes subfolders (e.g. test\HelloWorld.java); servlet works fine if placed in the root (WEB-INF\classes). am i missing something?
thanks,
razvan
Logged
jblashil
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23


WWW
« Reply #1 on: September 04, 2002, 12:36:00 AM »

hello,

packages should definitely work.. though if you had a class "test/HelloWorld.class" then you would have to reference the class as test.HelloWorld in the web.xml.. and the HelloWorld class itself would have to have the line:

package test;

at the beginning of this..

have you done all this and it still didn't recognize it?
Logged
razvanr
Space Explorer
***
Offline Offline

Posts: 7


WWW
« Reply #2 on: September 04, 2002, 03:20:00 AM »

done it and it works; my problem was in not realizing that it takes up to 15 minutes for the server to see my changes.
thanks
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: