当前位置:首页 » 操作系统 » jsp系统源码下载

jsp系统源码下载

发布时间: 2024-09-20 22:22:22

① 跪求JSP的小区物业管理系统源代码,用JSP+TOMCAT+sql server 2000写的有的大神们,谢谢你们了。

对于小区物业管理来说,其工作流程的繁杂性、多样化、管理复杂、收缴费用与设备维护繁琐。计算机已完全能够胜任物业管理工作,而且更加准确、方便、快捷、高效、清晰、透明,它完全可以克服以上所述的不足之处。这将给项目查询和管理带来很大的方便,从而给物业管理工作带来更高的效率,这也是物业管理正规化、现代化的重要标志。
因此,开发一套高效率、无差错的小区物业管理系统软件十分必要。本信息系统在开发方法的选择上,选择了生命周期法与原型法相结合的方法,遵循系统调查研究、系统分析、系统设计和系统实施四个主要阶段进行设计,具体实现楼盘管理、设备管理、维修管理等功能。开发过程采用了Struts2+Hibernate+Spring框架,JSP语言,工具用Myeclipse和数据库SQL SERVER进行设计,此系统应用简洁,界面美观,功能完善本,基本满足客户的需求。

② 网上下载的JSP网上选课系统(源代码)怎么在自己的电脑运行

下载tomcat并打开tomcat/bin/starup.bat 把代码放进tomcat/webapps。 用浏览器输入 这样的地址 http://127.0.0.1:8080/book/teacher.jsp 我的代码在 tomcat/webapps/book/teacher.jsp,可以在webapps 里面建文件夹

③ 下载好的jsp网站源码怎么运行

jsp的运行需要有容器支持。同时看这个项目是否需要某些资源文件,类似数据库连接等。
如果是则需要配置才可以正常运行,如果不是则可以直接拷贝connect-web文件夹到tomcat的webapps目录下,启动tomcat,控制台没有异常就算部署成功了。同时要想正确访问该应用,查看web.xml中配置的访问首页,否则会因找不到页面报404错误。

④ 怎样利用网上下载的JSP源码组成一个系统网站

现在很少有人用纯jsp写网站了这个跟php还是很不一样的
如果是用来做毕业设计的话推荐直接学会spring,jsp仅仅用标签库当模板渲染数据即可,打好基础不要点乱技能树

⑤ 求jsp登录源码 急急急急急急急急急急急

登陆页面 index.jsp源码:

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>login</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>

<body>
<form action="LoginServlet" method="post">

用户名:<input type="text" name="username" ><br>
密码:<input type="password" name="userpass"><br>
<input type="submit" value="登陆"> <input type="reset" value="取消">

</form>

</body>
</html>
-------------
LoginServlet.java 源码:
package servlet;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class LoginServlet extends HttpServlet {

/**
* Constructor of the object.
*/
public LoginServlet() {
super();
}

/**
* Destruction of the servlet. <br>
*/
public void destroy() {
super.destroy(); // Just puts "destroy" string in log
// Put your code here
}

/**
* The doGet method of the servlet. <br>
*
* This method is called when a form has its tag value method equals to get.
*
* @param request the request send by the client to the server
* @param response the response send by the server to the client
* @throws ServletException if an error occurred
* @throws IOException if an error occurred
*/
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
//获得jsp页面传输的参数
String username=request.getParameter("username");
String userpass=request.getParameter("userpass");
//判断
if(username.equals("user")&&userpass.equals("1234")){
response.sendRedirect("1.jsp");

}else if(username.equals("admin")&&userpass.equals("4321")){
response.sendRedirect("2.jsp");
}else{
response.sendRedirect("index.jsp");
}
}

/**
* The doPost method of the servlet. <br>
*
* This method is called when a form has its tag value method equals to post.
*
* @param request the request send by the client to the server
* @param response the response send by the server to the client
* @throws ServletException if an error occurred
* @throws IOException if an error occurred
*/
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {

this.doGet(request, response);
}

/**
* Initialization of the servlet. <br>
*
* @throws ServletException if an error occurs
*/
public void init() throws ServletException {
// Put your code here
}

}
-------------
1.jsp:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP '1.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->

</head>

<body>
This is 1.jsp <br>
</body>
</html>
-------------
2.jsp
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP '1.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->

</head>

<body>
This is 2.jsp <br>
</body>
</html>

热点内容
优酷缓存视频导出 发布:2024-09-21 00:31:37 浏览:873
有线电视的二级密码是多少 发布:2024-09-21 00:31:28 浏览:778
安卓i管家在哪里 发布:2024-09-21 00:29:05 浏览:691
服务器推荐我的世界手机版中国版 发布:2024-09-21 00:26:00 浏览:270
java是如何借助jvm编译的 发布:2024-09-21 00:18:09 浏览:957
php日期大小 发布:2024-09-21 00:00:51 浏览:359
js编程技术 发布:2024-09-20 23:57:57 浏览:487
挖槽的编程 发布:2024-09-20 23:52:53 浏览:251
linux命令行安装 发布:2024-09-20 23:42:38 浏览:282
魅族云相册加密 发布:2024-09-20 23:42:36 浏览:80