f*y
2 楼
【 以下文字转载自 Programming 讨论区 】
发信人: flyingbeauty (qualcommgirl), 信区: Programming
标 题: 问一个HTML的傻问题。。。。
发信站: BBS 未名空间站 (Wed Dec 10 23:10:59 2008)
在HTML的form里需要给action指定绝对路径。
比方说在index.html里:
发信人: flyingbeauty (qualcommgirl), 信区: Programming
标 题: 问一个HTML的傻问题。。。。
发信站: BBS 未名空间站 (Wed Dec 10 23:10:59 2008)
在HTML的form里需要给action指定绝对路径。
比方说在index.html里:
R*d
5 楼
老美现在是不是挖空心思要赚老中的钱了
j*h
6 楼
假设index.html在 www.localhost.com/tmp/index.html:
callme.jsp在 www.localhost.com/test/callme.jsp
you should do
action="/tmp/index.html"
if you have / in the front, it means going to the root directory, then from
there, just write out the path to the file.
callme.jsp在 www.localhost.com/test/callme.jsp
you should do
action="/tmp/index.html"
if you have / in the front, it means going to the root directory, then from
there, just write out the path to the file.
j*h
8 楼
my bad, should be
/test/callme.jsp instead
/test/callme.jsp instead
相关阅读