jsp div css - Web ¿ª·¢ / ·Ç¼¼ÊõÇø
jsp Ò³ÃæÓÃdiv ¼Ó css£¨µ¼ÈëµÄ£© ËùÓеÄdiv Ñùʽ¶¼²»ºÃʹÊÇÔõô»ØÊ£¿
ÏàͬµÄÑùʽ·Åµ½<td>ÉϾͺÃʹ£¡
1.css
.menud {
height: 29px;
width: 960px;
top: 10px;
color: #FFFFFF;
word-spacing: 6pt;
}
jsp:
<div class="menud">
<table width="960" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
²âÊÔ
</td>
</tr>
</table>
</div>
ûÈËÀíÎÒ£¡
Ïà¹ØÎÊ´ð£º
ÎÒJSPµÄÒ³ÃæÊÇ£º
<%@ page language="java" contentType="text/html; charset=gb2312"
%>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......
±ÈÈç˵DB.classÊÇÔÚ°ücom/zhl/jdbcϵÄ
ÄÇôDB.class·ÅÔÚʲôµØ·½ Èç¹ûÓÃ<jsp:useBean id="d" class=""/>À´ÒýÈëbean ÄÇôclassÊôÐÔÓ¦¸ÃÔõôд
Ðè²»ÐèÒªÏñservletÄÇÑù»¹ÒªÅäÖÃweb.xmlµÄ& ......
ÎÊÌâ: ÏÖÔÚÌá½»Ö®ºó¾Í²»ÄÜÌøµ½ajax.jsÖÐÖ¸¶¨µÄservlet
¶øÊÇÓÖÖØÐ½øÈëµ½ÁËpub_hotel_t.jspÒ³Ãæ. Ò²¾ÍÊÇûÓÐÖ´Ðе½ajaxÀïÃæÈ¥ ´ó¼Ò°ïæ¿´¿´ÊÇʲôÔÒò°É.
ÊDz»ÊǺÍÌá½»µÄ°´Å¦ÓйØÄ ......
1¡¢ÎÒÓÃservletÉú³ÉµÄËæ»úÑéÖ¤Â룬·ÅÈësession
2¡¢ÔÚ·þÎñÆ÷¶ËÑéÖ¤Óû§ÊäÈëµÄÑéÖ¤ÂëÊÇ·ñÕýȷûÓÐÎÊÌâ
3¡¢¿ÉÊÇservlet´«µ½jspµÄÑéÖ¤ÂëºÍÎÒÔÚjsp´ÓsessionÖÐÈ¡µÃµÄÑéÖ¤Âë²»Ò»Ö£¬Ò³ÃæÏÔʾµÄ±ÈÎÒ´ÓsessionÖÐÈ¡µ½µÄÒª¿ì ......