XML code:
<Tag>log4j.appender.A2.File
<Value>${LOG_DIR}/app.log</Value>
</Tag>
ÆäÖÐLOG_DIRΪϵͳ±äÁ¿¡£
ÆÕͨµÄXMLÊÇ·ñÖ§³Ö${LOG_DIR} È¡Öµ £¬Ò²¾ÍÊÇ${LOG_DIR}ÄÜ·ñÄõ½LOG_DIR ÖеÄÖµ£¿
ÒýÓÃ
ÆÕͨµÄXMLÎļþÓ¦¸Ã²»Ö§³Ö°É
¸÷¸ö¿ò¼ÜµÄÅäÖÃÎļþÖ§³Ö ......
<script>
function set(operation) {
alert(operation);
if(operation=='zhuye')
{
with (document.forms[0]) {
method.value = operation;
}
}
else
{
with (document.forms ......
ÄÜÖ¸µãÏÂÂð?ÎÒ²»ÓÃSSH¿ò¼Ü,ÓÃjsp+servlet+jdbc×öµÄ
½è×éµÚ3·½×é¼þ£¬fileUpload
Ò»°ãµÚÈý·½ÓõÚÈý·½¿Ø¼þ£¬ÀýÈçsmartupload
struts×Ô´øµÄÒ²ÓÐ
²»¹ýÉÏ´«ÎļþµÄʱºò×¢ÒâÒ»ÏÂÂÒÂë¡¢ÄÚ´æй¶ÎÊÌ⣡
×£Äã³É¹¦
ÒýÓÃ
Ò»°ãµÚÈý·½ÓõÚÈý·½¿Ø¼þ£¬ÀýÈçsmartupload
struts×Ô´øµÄÒ²ÓÐ
²»¹ýÉÏ´«ÎļþµÄʱºò×¢ÒâÒ»ÏÂÂÒÂë¡¢ÄÚ´æй ......
¸÷λ¸ßÊÖÎÒÏëÎÊһϣ¬´¿´âµÄJSPÉÏ´«¶¼ÔËÓÃÄÄЩÀà°¡
Èç¹ûÓÐÔ´´úÂëµÄ»°£¬ÎÒÏë½è¼øÒÔÏ°¡£¡O(¡É_¡É)Oлл
ÔõôûÈ˻ش𰡣¡ÎÒ¶¥
»¹Ã»ÈË°¡£¬ÎÒÔÙ¶¥
ÔÚ¹¤³ÌÖмÓÈëjspsmartupload.jar,Äãµ½°Ù¶ÈÉÏËÑË÷jspsmartÉÏ´«Îļþ»áÓÐÏàÓ¦µÄÁÐ×Ó£¬¸ÕºÃÊʺÏjspÖеÄÉÏ´«Îļþ£¬ÕâÊÇÎÒдµÄ¼òµ¥µÄÒ³Ã棬ÏêÇéÄã¿ÉÒÔµ½°Ù¶ÈÉÏËÑ£¬Ï£ÍûÄãÄÜѧµ½ ......
ÕâÊÇjavaBean
package comm;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.Statement;
public class BookSearch {
private ResultSet rs;
private ResultSetMetaData rsmd;
private ......
ÀýÈça.jsp
<html>
<body>
<script type="text/javascript">
function test()
{
String str="success";
}
</script>
<%
jsp´úÂëÈçºÎ»ñÈ¡strµÄÖµÄØ£¿
%>
</body>
</html>
ºÃÏñÈ¡²»µ½µÄ£¬ÎÒÒÔÇ°Ò²Óöµ½¹ý¡£ÄãÏëÒªµÄЧ¹û¿ÉÒÔÓÃÆäË ......