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

ÈçºÎÒ»¸öjspÒ³Ãæ´¦Àí¶à¸öform±íµ¥

Ê×ÏÈÊÇÌá½»Ò³Ã棺Èý¸ö±íµ¥(form1,form2,form3)
         <form name="form1" method="post" action="checklogin.jsp" class="niceform">
            <input name="qx" type="hidden" value="3">
            <label for="textinput">ÕʺÅ:</label>
            <input type="text" id="textinput" name="uid" size="12" />
            <br />
            <label for="passwordinput">ÃÜÂë:</label>
            <input type="password" id="passwordinput" name="pwd" size="12" />
            <br />
            <input name="" type="submit" value="Ìá½»">
            <input type="reset" name="Submit2" value="ÖØÖÃ" />
          </form>
        </div>
        <div class=tagContent id=tagContent1>»¶Ó­Ê¹Óñ¾ÏµÍ³£¬ÇëÏÈ¡¾µÇ½¡¿»ò¡¾×¢²á¡¿¡£
          <form name="form2" method="post" action="checklogin.jsp" class="niceform">
            <input name="qx" type="hidden" value="2">
            <label for="textinput">ÕʺÅ:</label>
            <input type="text"


Ïà¹ØÎĵµ£º

jspµ¼³öword ¼°mht תÂëÎÊÌâ

×î½ü×öÁËÒ»¸ö×ʷѲéѯģ¿é£¬ÀïÃæÉæ¼°½«×Ê·ÑÐÅÏ¢µ¼³öWordÎĵµºÍExcelÎĵµ£¬
ÏÈ˵˵µ¼³öWordÎĵµ£º
Æäʵ¾ÍÊÇ°ÑÏìÓ¦µÄÀàÐÍÉèΪapplication/msword,È»ºó°ÑÄÚÈÝÊä³öµ½Õâ¸öÎļþ¾ÍÐÐÁË
µÚÒ»²½£º
ÏÈÔÚ×ÀÃæÉÏн¨Ò»¸öwordÎĵµ,Ë«»÷´ò¿ª£¬È»ºóÁí´æΪ.htmÎļþ£¬»á²úÉúÒ»¸öÒÔ.htm½áβµÄÎļþ
µÚ¶þ²½£º
°Ñ.htmÎļþÀ©Õ¹Ãû¸ÄΪ.jspÎļ ......

JSP¡¢Struts±ÜÃâFormÖظ´Ìá½»µÄ¼¸ÖÖ·½°¸

1 javascript £¬ÉèÖÃÒ»¸ö±äÁ¿£¬Ö»ÔÊÐíÌá½»Ò»´Î¡£



2 »¹ÊÇjavascript£¬½«Ìá½»°´Å¥»òÕßimageÖÃΪdisable

onsubmit="getElById('submitInput').disabled = true; return true;">


3 ÀûÓÃstrutsµÄͬ²½ÁîÅÆ»úÖÆ
......

ÎÒµÄJSPѧϰ±Ê¼Ç JSPÒ³ÃæÖеÄÈýÀà»ù±¾ÔªËØ

JSPÒ³ÃæµÄÈýÀà»ù±¾ÔªËØ
 
1.ÉùÃ÷
 
ÐÎÈç
<%!
      int a;
      int add(int a,int b)
      {
           return a+b;
       ......

JSPÊý¾Ý¿âÁ¬½Ó´óÈ«

JSPÊý¾Ý¿âÁ¬½Ó´óÈ«
2008-07-22 11:47
Ò»¡¢jspÁ¬½ÓOracle8/8i/9iÊý¾Ý¿â£¨ÓÃthinģʽ£©
testoracle.jspÈçÏ£º
< %@ page contentType="text/html;charset=gb2312"% >
< %@ page import="java.sql.*"% >
< html >
< body >
< %Class.forName("oracle.jdbc.driver.OracleDriver").new ......

jspµ÷ÓÃjavabeanʵÀý

goodsbean.java
package sale;
public class goodsbean{
    String Product;
    double Price;
    public goodsbean (){
    this.Product = "box";
    this.Price = 5.0;
    }
public void setProduct (String ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ