I think this is more a general Java Qu., bu here goes anyway.
When compiling servlet class A for example, does the compiler include info
from all of the other classes used in the import statements? If I compile the
servlet using a DB connection class, then change the DB connection class and
recompile it, will servlet A take this into account? the reason I ask is:

I've set up a class called Website.class containing all the constants for my
site eg
URL ,
SERVLET_URL,
DB_NAME
WHERE_THE_IMAGES_LIVE
etc...

In my development environment, I have the HOME_URL variable set to
"localhost:8080/index.jsp"
When I loaded it up onto the server, I changed the HOME_URL variable to
myNewSiteName/index.jsp
Now, when I try to access one of the servlets without proper authorisation,
it's supposed to send me back to the first page. But it doesn't ! It tries to
send me back to
"locahost:8080/index.jsp" ! ! !
What's going on? To develop these servlets, I used VAJ2 with servletExec
debugger2.2. Did they lure me into a false sense of security, thinking that
everythin was computed dynamically?

Thanks for your help

Peet

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to