注册 登录
编程论坛 J2EE论坛

JSP语法求助

nzb704 发布于 2006-03-28 22:16, 651 次点击
if(go.equals("写信"))response.sendRedirect("../letters/new.cgi");
if(go.equals("回答问题"))response.sendRedirect("../question/answer.cgi");

<form name="forma" action="login.cgi" method="post" >
<td height="20"><div align="center"><a href="modify.cgi?id=<%=db.getAttributeStr("college.id",i)%>">修改</a></div></td>

<td height="20"><div align="center"><a href="deletecollege.cgi?id=<%=db.getAttributeStr("college.id",i)%>">删除</a></div></td>
<td height="20" colspan="4"><div align="center"><a href="newcollege.jsp"><strong>添加新学院</strong></a></div></td>

像这些后缀名为.CGI和.JSP的写法有怎么区别啊,.CGI是怎么意思啊?我的系统就因为这个出现莫名其妙""??""的错误了啊,高手指点一下啊!!
1 回复
#2
〃雙掱ぴ搋兜づ2006-03-30 14:29

貌似.cgi和.jsp没有什么联系吧

[此贴子已经被作者于2006-3-30 16:30:36编辑过]

1