Hi all,
Have a question. How can my servlet know that path of my servlets
directory, when the servlet executes by the servlet engine. Is there a
way that the servlet engine has can give the path to the servlet before it
executes it?
I wrote a servlet but I also need to have an InputFileStream in it to
get some data. But as the servlet engine executes the servlet, I cannot
give the path as parameter while the servlet is being
executed. I don't
want to hard code the path of the servlet directory in my code.
Is there a
way that the servlet engine has can give the path to the servlet before it
executes it(as parameter etc.)?
Thanks.
Nabil A. Malik
email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
URL:<http://www.jlab.org/~nabil/>
___________________________________________________________________________
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
- Re: [ADMIN] Please Read: Community driven list? Nic Ferrier
- Re: [ADMIN] Please Read: Community driven li... Kevin Mukhar
- Re: [ADMIN] Please Read: Community driven li... Pier P. Fumagalli
- Re: [ADMIN] Please Read: Community driven list? Stephen Casey
- Re: [ADMIN] Please Read: Community driven list? Jay Burgess
- Re: [ADMIN] Please Read: Community driven list? Stephen Casey
- Re: [ADMIN] Please Read: Community driven li... Beas Dev Ralhan
- Re: [ADMIN] Please Read: Community driven list? Nic Ferrier
- Re: [ADMIN] Please Read: Community driven list? Hajara, Tasneem (BIS)
- Re: [ADMIN] Please Read: Community driven list? Nic Ferrier
- No Subject Nabil A. Malik
- No Subject Kevin Jones
- Re: your mail Nabil A. Malik
- Re: [ADMIN] Please Read: Community driven list? Phillips, George H.
- Re: [ADMIN] Please Read: Community driven li... George I Matkovits
- Re: [ADMIN] Please Read: Community driven list? Tim Panton-Westpoint Ltd
- Re: [ADMIN] Please Read: Community driven li... Pier P. Fumagalli
- Re: [ADMIN] Please Read: Community driven list? Pier P. Fumagalli
- Re: [ADMIN] Please Read: Community driven li... Christopher K. St. John
- Re: [ADMIN] Please Read: Community driven list? Nic Ferrier
