Redian新闻
>
Why aren't cookies stored by my servlets accessible to my CGI scripts or ASP pages?(FAQ)
avatar
Why aren't cookies stored by my servlets accessible to my CGI scripts or ASP pages?(FAQ)# Java - 爪哇娇娃
b*g
1
By default, cookies are accessible to every HTTP request for
the current
directory, and any subdirectories. Now on most web servers
and servlet engines,
servlets are located in a special directory. For example,
when using
servletrunner (which ships with the Java Servlet Development
Kit), servlets
must be invoked under the /servlet/ directory.
http://webserver/servlet/servletname
If you want your cookies to be accessible elsewhere, you
must specify the
root path of your webserver, using the
javax
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。