- 浏览: 64412 次
- 性别:
- 来自: 杭州
-
最新评论
文章列表
工作快一年了,直到今天才理解下面代码的含义。
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<head>
<base href="<%=basePath%>">
...
jquery easyui 的特点以及好处,我认为是可以结合html标签和js代码来开发页面,符合以前的开发习惯。并且在页面布局上更加清晰。
html代码和easyui结合的方式:
<div class="easyui-layout" style="width:400px;height:200px;">
& ...
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<!--
<constant name="struts.e ...
我使用的struts2的版本为 struts-2.2.1.1。
一直用的是struts1,乘着有时间学习下struts2。先记录下来,等有机会慢慢完善。
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:s ...