Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Retrieving the context path from a standalone class

Shapira, Yoav

2004-01-07

Replies:


Howdy,

>Will it's inclusion encourage programmers to
>start building bad apps (no, I think.)

FYI, aside from the issue of developer versus deployer, I strongly
disagree with the above: adding anything that encourages bad practices
is a bad idea. It'll be like another ServletRequest#getRealPath call,
which has been a disaster for years now. Thankfully it was deprecated
as soon as possible in version 2.1 of the spec, but still it haunts us
and it has caused many bad implementations.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.