BBS-CS_3b_Tomcat4
java BBS
源代码在线查看: install.jsp
虚拟社区
a { color: #0000FF; text-decoration: none }
a:link { text-decoration: none; color: #0000FF; font-family: 宋体 }
a:visited { text-decoration: none; color: #0000FF; font-family: 宋体 }
a:hover { text-decoration: underline; color: #FF0000 }
a:active { text-decoration: underline; color: #FF0000 }
body { font-size: 9pt }
table { font-size: 9pt }
.bt { font-family: 宋体; font-size: 14px }
-->
String i = request.getParameter("i");
if (i != null && i.length()>0) {
if (InstallBean.careat_adminuser()) {
out.print("创建adminuser表成功!");
}
else {
out.print("创建adminuser失败!");
}
if (InstallBean.creat_bbsconf()) {
out.print("创建bbsconf表成功!");
}
else {
out.print("创建bbsconf失败!");
}
if (InstallBean.creat_board()) {
out.print("创建board表成功!");
}
else {
out.print("创建board失败!");
}
if (InstallBean.creat_boards()) {
out.print("创建boards表成功!");
}
else {
out.print("创建boards失败!");
}
if (InstallBean.creat_dy()) {
out.print("创建dy表成功!");
}
else {
out.print("创建dy失败!");
}
if (InstallBean.creat_elite()) {
out.print("创建elite表成功!");
}
else {
out.print("创建elite失败!");
}
if (InstallBean.creat_forum()) {
out.print("创建forum表成功!");
}
else {
out.print("创建forum失败!");
}
if (InstallBean.creat_friend()) {
out.print("创建friend表成功!");
}
else {
out.print("创建friend失败!");
}
if (InstallBean.creat_grzc()) {
out.print("创建grzc表成功!");
}
else {
out.print("创建grzc失败!");
}
if (InstallBean.creat_guestbook()) {
out.print("创建guestbook表成功!");
}
else {
out.print("创建guestbook失败!");
}
if (InstallBean.creat_guestuser()) {
out.print("创建guestuser表成功!");
}
else {
out.print("创建guestuser失败!");
}
if (InstallBean.creat_mydata()) {
out.print("创建mydata表成功!");
}
else {
out.print("创建mydata失败!");
}
if (InstallBean.creat_photo()) {
out.print("创建photo表成功!");
}
else {
out.print("创建photo失败!");
}
if (InstallBean.creat_shuqian()) {
out.print("创建shuqian表成功!");
}
else {
out.print("创建shuqian失败!");
}
if (InstallBean.creat_sign()) {
out.print("创建sign表成功!");
}
else {
out.print("创建sign失败!");
}
if (InstallBean.creat_unpost()) {
out.print("创建unpost表成功!");
}
else {
out.print("创建unpost失败!");
}
if (InstallBean.creat_user()) {
out.print("创建user表成功!");
}
else {
out.print("创建user失败!");
}
if (InstallBean.creat_userdata()) {
out.print("创建userdata表成功!");
}
else {
out.print("创建userdata失败!");
}
if (InstallBean.adddata()) {
out.print("添加基础数据成功!");
}
else {
out.print("创建失败!");
}
}
%>
进入管理界面