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

´«ÖDz¥¿ÍJAVAÅàѵstruts2ѧϰ±Ê¼Ç

´«ÖDz¥¿ÍJAVAÅàѵstruts2ѧϰ±Ê¼Ç Ç°Á½ÌìÎÒÏÝÈëÁËstruts2Ô­ÀíµÄÄàÌ·Öв»¿É×Ô°ÇÁË£¬ÕâÖָоõÏ൱²»´í£¬µ«ÊÇÎÒ¸öÈË»¹ÊǸоõ»ù´¡Èç¹û²»ÊǺܺõĻ°£¬Ç§Íò²»ÒªÏÝÈ룬ÒòΪÕâÑùµÄ»°£¬ºÜÓпÉÄÜÈÃÒ»¸öÈ˱äµÃûÓÐÐÅÐÄ£¬»¹ºÃÎÒÊÇÒ»¸öÐÄÀí»¹´í²»´íµÄÈË£¬ËùÒԺܿì¾Í×ßÁ˳öÀ´¡£ËùÒÔ£¬ÎҵĸöÈ˸оõ»¹ÊÇ£¬ÏÈÕÆÎÕ»ù´¡£¬È»ºóÔÚÈ¥Àí½âÔ­Àí°É£¬Ò»µ©Éæ¼°µ½Ô­´úÂ룬ÕâÉÏǧÐеĴúÂë»á°ÑÄã¸ãµÃÔÎͷתÏò£¬ÒòΪ¶ÔÓÚ³õѧÕßÀ´Ëµ£¬Èç¹ûÄãûÓÐÕÆÎÕÆäÖеÄÁ÷³ÌÄã¾Í²»¿ÉÄÜÓеķÅʧµÄȥѧϰ¶«Î÷¡£Èç¹û²úÉúÁ˸ºÃæµÄÇéÐ÷£¬Ç§ÍòÒªºÃºÃµÄµ÷Õû×Ô¼º£¬ÃâµÃºÍÎÒ֮ǰ×öEMSÏîÄ¿Ò»Ñù£¬µ«ÊÇ£¬Ëùν¹¦·ò²»¸ºÓÐÐÄÈ˺ǣ¬×îÖÕÎÒ»¹ÊÇͦ¹ýÁËÕâ¸öÄѹأ¬Í¨¹ýÁ¬ÐøN¶àÌìµÄ°¾Ò¹¼Ó°à¼Óµã,ÖÕÓÚ¸úÉÏÁËÀÏʦµÄ½ø³Ì.ͬ־ÃÇ,¼ÓÓÍ!Ƚƽµ±È»Ò²Òª¼ÓÓÍ,ÎÒͬÉÏ°àÈ¥ÁËÓ´,¹¤×ÊËäÈ»²»¸ß,4K,µ«¶ÔÓÚÎÒÏÖÔڵĽ׶ÎÀ´Ëµ,Èç¹ûÊÇÎÒ,ÎÒ¾ÍÂú×ãÁË! ·ÃÎÊrequest/session/applicationÊôÐÔ 1.½«Öµ´æÈ벻ͬµÄ×÷ÓÃÓòÖУº ActionContext ac = ActionContext.getContext(); ac.getSession().put("testSession","testSession1" ); ac.getApplication().put("testApplication","testApplication1"); ac.put("testRequest", "testRequest1"); ÔÚÒ³ÃæÖзÃÎÊ: ${testRequest } ${testApplication } ${testSession }
${applicationScope.testApplication } ${request.testRequest } ${session.testSession } ͨ¹ýÒÔÉϵÄÁ½ÖÖ·½Ê½¶¼¿ÉÒÔ·ÃÎʵ½Êý¾Ý¡£ 2.ÎļþÉÏ´«£º£¨ÏîÄ¿Öп϶¨»á¾­³£Óõ½£© 1.ËùÓðü:commons-fileupload-1.2.1.jar commons-io-1.3.2.jar 2.ÉèÖÃform±íµ¥µÄenctypeÊôÐԿ⣺“mutipart/form-data” 3. ×¢Òâµã£ºÕâ¶ùÒ²ÊÇÎÒ×îÀ§»óµÄµØ·½£¬¾ÓÈ»Ôڵõ½ÎļþÃûµÄʱºò£¬Ö»ÊDzÉÓÃÈçϸñʽ£º private File image; //Óë±íµ¥µÄÃû×ÖÒ»Ñù private String imageFileName;//Õâ¶ùÖ»ÒªÒÔÊôÐÔµÄÃû×Ö¿ªÍ·¾Í¿ÉÒԵõ½£¬ÔÎ public void setImageFileName(String imageFileName) { this.imageFileName = imageFileName; } public void setImage(File image) { this.image = image; } /WEB-INF/pages/index.jsp


Ïà¹ØÎĵµ£º

JavaÓëActionScriptµÄSocket(1)

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package cn.vicky.socket;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.Socket;
import java.util.Vector;
/**
*
* @author Vicky
* ¹ã²¥Àà
*/
public class BMana ......

ʹÓÃcommÔÚjava³ÌÐòÖйÜÀí±¾µØ¶Ë¿Ú

ÔÚjava³ÌÐòÖÐ,ΪÁËʵÏÖͬ±¾µØϵͳµÄÓ²¼þ¶Ë¿Ú(RS-232±ê×¼´®¿Ú/IEEE1284±ê×¼²¢¿Ú)ͨѶ,Ä¿Ç°ÓÐÁ½¸ö·½·¨,µÚÒ»¸ö¾ÍÊÇÒÔǰ˵¹ýµÄ,ʹÓÃJNI¼¼Êõ×Ô¼ºÐ´Ò»¸öÓëjava³ÌÐòÏà¹ØµÄdll/soÎļþ,Õâ¸öÎļþ¿ÉÒÔÖ±½ÓºÍ±¾µØϵͳͨÐÅ,´Ó¶ø¹ÜÀí±¾µØ»úÆ÷µÄ¶Ë¿Ú,²»¹ýʹÓÃjava³ÌÐò¶À×ÔʵÏÖÒ»¸ö±È½ÏÍêÉƵĶ˿ڹÜÀí½â¾ö·½°¸¶Ô¸öÈ˶øÑÔÊÇÒ»¸ö»¨·Ñ¾Þ´óÇÒ²»Ê ......

¶¯Ì¬Éú³ÉjavaÎļþµÄ·½·¨

package com.hongsoft.test;
import java.io.*;
//¶¨ÖƵÄÀà×°ÈëÆ÷
public class TestCompile extends ClassLoader
{
String _compiler;
String _classpath;
public static void main(String[] args)
{
new TestCompile();
}
public TestCompile()
{
super(ClassLoader.getSystemClassLoader());
//ĬÈϱàÒëÆ ......

JAVA»­³öwavÒôƵ²¨ÐÎͼ


×ֺţº´ó ÖРС
import java.awt.Graphics;
import java.io.File;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.DataLine;
import javax.sound.sampled.SourceDataLine;
public class M ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ