Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¹ØÓÚjsp ÒýÈëºóÒ³ÃæÌøתµÄÎÊÌâ - Java / Java EE

ÎÊÌâÊÇÕâÑùµÄ£º
   

ÎÒÓÐÒ»¸öÎļþnagiv.jsp ÁíÒ»¸öÎļþfailure.jsp°üº¬Ëû£¬Í¬Ê±nagivÎļþÖÐÓÐÒ»¸ö¿ÉÒÔÌøתµ½yy.jspµÄcommandButton£¬µ«ÊÇÎÒ½«failureÖеã»÷nagivÖеÄÄĸöcommandButton£¬Ò²Ãæ²»»áÌøת£¡
´úÂëÈçÏ£º
nagiv£º
<f:view>
<f:subview id="header">
<h:form>
<h:commandButton action="yy"></h:commandButton>
</h:form>
</f:subview>
</f:view></body>
failure£º
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>failure</title>
</head>
<body>

<jsp:include page="nagiv.jsp" />
<h:form>


</h:form></body>
</html>
</f:view>
  ÁíyyÊÇÒ»¸ö¿ÕÎļþ£¡
   

ͬʱface-configÅäÖÃÊÇÕâÑù£º
<navigation-rule>

<from-view-id>/*</from-view-id>
<navigation-case>
<from-outcome>yy</from-outcome>
<to-view-id>/login/yy.jsp</to-view-id>
</navigation-case>
ÄÄλ¸ßÊÖ°ïæ¿´¿´£¬²»Ê¤¸Ðл£¡
jsf£¿ÒÔÇ°Ñо¿¹ý£¬ÏÖÔÚÍüÀ²£¬ºÇºÇ

²»ÊÇ°Ñ£¡£¡ Õâ¸öÊÔÁËÒ»¸öÍíÉ϶¼Ã»Óгɹ¦£¡  



jsf²»»á 
°ï¶¥ÏÂ


Ïà¹ØÎÊ´ð£º

JSP´æÈëÊý¾Ý¿â

ÎÒÊÇÓÃSTRUTS £¬×öÁËÒ»¸öJSPÒ³Ã棬Ìá½»ºóûÓдæÈëÊý¾Ý¿â¡£
JSP´úÂëÈçÏ£º
aa.jsp´úÂë
<%@ page contentType="text/html;charset=gb2312" language="java"%>
<%@ taglib uri=" ......

javaÈÕÆÚ´¦Àí - Java / Java SE

µ±ÖªµÀÒ»¸öÈÕÆÚ£¬ÈçºÎ°ÑÕâ¸öÈÕÆÚËùÔÚÑ®µÄÇ°ºóÁ½¸öÈÕÆÚÈ¡³ö
±ÈÈçÊäÈë20090905£¬¾ÍÊäÈë20090901 20090910
Êä³ö20090901 20090910

È¡µÃÌìÊýºó×÷Ò»ÏÂÅжÏÔÙ°ÑÕâ¸ö·½·¨ÓÃÏÂvoid set(int field, int value)  
......

javaÔõôÁ¬½ÓOracle£¬¼±°¡ - Java / JavaÏà¹Ø

private static final String URL = "jdbc:oracle:thin:@localhost:1521:orcl";
private static final String USERNAME = "sys";
private static final String PASSWORD = "s ......

¹ØÓÚJavaµÄѧϰ - Java / JavaÏà¹Ø

ÎÒÏëÎÒjavaÕâÒ»·½Ãæ·¢Õ¹£¬ÓÐÄÄһλ¸ßÊÖ¿ÉÒÔ¸æËßÎÒ£¬Ïë³ÉΪһÃûJAVA±à³Ì¸ßÊÖ£¬Ëû±ØÐëҪѧϰµÄ֪ʶÂ𣿱ÈÈç˵ÎÒѧÍêÁËJAVAµÄ»ù´¡ÖªÊ¶Ö®ºóÎҸðÑÄ¿¹â·ÅÔÚÄÄÒ»·½Ã棬½ÓÏÂÀ´ÎÒÔÚѧϰÓйØJAVAµÄʲô֪ʶ£¿ÅóÓÑà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ