During the summer primary school period, we contacted a new software MyEclipse 6.5, on the basis of the use of the same as eclipse, on the basis of which added a lot of plugins, more convenient to use.
We started off with a simple Web page first.
The code is as follows:
<%@ page language= "java" import= "java.util.*" pageencoding= "Iso-8859-1"%>
<%
String path = Request.getcontextpath ();
String basepath = request.getscheme () + "://" +request.getservername () + ":" +request.getserverport () +path+ "/";
%>
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" >
<base href= "<%=basePath%>" >
<title>my JSP ' index.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" >
-
<body>
<p align= "center" ><b><font color= "Red" size= "5" >this is my JSP page.</font></b> < Br>
</p>
</body>
P represents paragraph, align means alignment, center indicates center
Then we formally entered the Java program we need to do for the small semester.
We set up several packages separately.
Com.crm.action
Com.crm.bean
Com.crm.dao
Com.crm.impl
Com.crm.service
Com.crm.service.impl
When I was doing the custsave.jsp,
And then just change the iso-8859-1 to Utf-8.
MyEclipse (i)