- 浏览: 46558 次
- 性别:
- 来自: 北京
文章分类
最新评论
ai = application/postscript aif = audio/x-aiff aifc = audio/x-aiff aiff = audio/x-aiff apk = application/vnd.android.package-archive asc = text/plain asf = video/x.ms.asf asx = video/x.ms.asx au = audio/basic avi = video/x-msvideo bcpio = application/x-bcpio bin = application/octet-stream cab = application/x-cabinet cdf = application/x-netcdf class = application/java-vm cpio = application/x-cpio cpt = application/mac-compactpro crt = application/x-x509-ca-cert csh = application/x-csh css = text/css csv = text/comma-separated-values dcr = application/x-director dir = application/x-director dll = application/x-msdownload dms = application/octet-stream doc = application/msword dtd = application/xml-dtd dvi = application/x-dvi dxr = application/x-director eps = application/postscript etx = text/x-setext exe = application/octet-stream ez = application/andrew-inset gif = image/gif gtar = application/x-gtar gz = application/gzip gzip = application/gzip hdf = application/x-hdf hqx = application/mac-binhex40 htc = text/x-component html = text/html htm = text/html ice = x-conference/x-cooltalk ico = image/x-icon ief = image/ief iges = model/iges igs = model/iges jar = application/java-archive java = text/plain jnlp = application/x-java-jnlp-file jpeg = image/jpeg jpe = image/jpeg jpg = image/jpeg js = application/x-javascript jsp = text/plain kar = audio/midi latex = application/x-latex lha = application/octet-stream lzh = application/octet-stream man = application/x-troff-man mathml = application/mathml+xml me = application/x-troff-me mesh = model/mesh mid = audio/midi midi = audio/midi mif = application/vnd.mif mol = chemical/x-mdl-molfile movie = video/x-sgi-movie mov = video/quicktime mp2 = audio/mpeg mp3 = audio/mpeg mpeg = video/mpeg mpe = video/mpeg mpga = audio/mpeg mpg = video/mpeg ms = application/x-troff-ms msh = model/mesh msi = application/octet-stream nc = application/x-netcdf oda = application/oda odb = application/vnd.oasis.opendocument.database odc = application/vnd.oasis.opendocument.chart odf = application/vnd.oasis.opendocument.formula odg = application/vnd.oasis.opendocument.graphics odi = application/vnd.oasis.opendocument.image odm = application/vnd.oasis.opendocument.text-master odp = application/vnd.oasis.opendocument.presentation ods = application/vnd.oasis.opendocument.spreadsheet odt = application/vnd.oasis.opendocument.text ogg = application/ogg otc = application/vnd.oasis.opendocument.chart-template otf = application/vnd.oasis.opendocument.formula-template otg = application/vnd.oasis.opendocument.graphics-template oth = application/vnd.oasis.opendocument.text-web oti = application/vnd.oasis.opendocument.image-template otp = application/vnd.oasis.opendocument.presentation-template ots = application/vnd.oasis.opendocument.spreadsheet-template ott = application/vnd.oasis.opendocument.text-template pbm = image/x-portable-bitmap pdb = chemical/x-pdb pdf = application/pdf pgm = image/x-portable-graymap pgn = application/x-chess-pgn png = image/png pnm = image/x-portable-anymap ppm = image/x-portable-pixmap pps = application/vnd.ms-powerpoint ppt = application/vnd.ms-powerpoint ps = application/postscript qt = video/quicktime ra = audio/x-pn-realaudio ra = audio/x-realaudio ram = audio/x-pn-realaudio ras = image/x-cmu-raster rdf = application/rdf+xml rgb = image/x-rgb rm = audio/x-pn-realaudio roff = application/x-troff rpm = application/x-rpm rpm = audio/x-pn-realaudio rtf = application/rtf rtx = text/richtext ser = application/java-serialized-object sgml = text/sgml sgm = text/sgml sh = application/x-sh shar = application/x-shar silo = model/mesh sit = application/x-stuffit skd = application/x-koan skm = application/x-koan skp = application/x-koan skt = application/x-koan smi = application/smil smil = application/smil snd = audio/basic spl = application/x-futuresplash src = application/x-wais-source sv4cpio = application/x-sv4cpio sv4crc = application/x-sv4crc svg = image/svg+xml swf = application/x-shockwave-flash t = application/x-troff tar = application/x-tar tar.gz = application/x-gtar tcl = application/x-tcl tex = application/x-tex texi = application/x-texinfo texinfo = application/x-texinfo tgz = application/x-gtar tiff = image/tiff tif = image/tiff tr = application/x-troff tsv = text/tab-separated-values txt = text/plain ustar = application/x-ustar vcd = application/x-cdlink vrml = model/vrml vxml = application/voicexml+xml wav = audio/x-wav wbmp = image/vnd.wap.wbmp wmlc = application/vnd.wap.wmlc wmlsc = application/vnd.wap.wmlscriptc wmls = text/vnd.wap.wmlscript wml = text/vnd.wap.wml wrl = model/vrml wtls-ca-certificate = application/vnd.wap.wtls-ca-certificate xbm = image/x-xbitmap xht = application/xhtml+xml xhtml = application/xhtml+xml xls = application/vnd.ms-excel xml = application/xml xpm = image/x-xpixmap xpm = image/x-xpixmap xsl = application/xml xslt = application/xslt+xml xul = application/vnd.mozilla.xul+xml xwd = image/x-xwindowdump xyz = chemical/x-xyz z = application/compress zip = application/zip
发表评论
-
脏读、幻影读、不可重复读
2013-10-18 17:51 38891. 脏读 :脏读就是指 ... -
Java 算法
2013-10-17 01:48 829排序法 最差时间分析 平均时间复杂度 稳 ... -
【转】Java自定义Exception设计
2011-05-05 18:11 1087http://blog.csdn.net/jasph77/ar ... -
【原】URL正则验证
2011-04-25 17:12 932public static boolean isUrlVali ... -
Servlet 验证码
2011-04-14 14:48 631import java.awt.Color; impo ... -
Java面试32题
2011-04-14 14:02 605第一,谈谈final, finally, finalize ... -
在0-100内取20个随机数,偶数排序
2011-04-14 13:59 1224import java.util.ArrayList; ... -
mime.xml
2011-04-14 13:52 1014<mime-mapping> <e ... -
Tomcat 表单乱码解决办法
2011-04-14 13:45 736Filter web.xml 的配置 & ... -
EPR和SAP的一些名词解释
2008-07-25 11:07 771一、相关概念 1.企业 ...
相关推荐
Weblogic中MIME的默认配置文件 文件名称:domain/config/mimemappings.properties 格式如下: js=text/javascript 个人觉得设置完后,Weblogic可能要重启一下。
- **struts.multipart.parser**:该属性指定处理`multipart/form-data` MIME类型的请求(主要用于文件上传)所使用的框架。默认值为`jakarta`,即使用`commons-fileupload`库。其他选项包括`cos`和`pell`,但使用...
### Struts2中struts.properties配置详解 #### 概述 在Struts2框架中,除了大家熟知的`struts.xml`配置文件之外,还有一个重要的配置文件——`struts.properties`。该文件主要用来存储一些Struts2的核心配置属性,...
包括400多个文件类型. 几乎包含了所有已知的各种文件类型,我是用它来过滤上网内容的.
Properties props = new Properties(); Session session = Session.getDefaultInstance(props); // 创建Message实例 MimeMessage message = new MimeMessage(session); message.setFrom(new InternetAddress(...
3. `commons-codec-1.9.jar`:Apache Commons Codec 库,包含了各种编码解码算法,如 MIME 编码、URL 编码等。 4. `commons-logging-1.2.jar`:Apache Commons Logging,一个日志抽象层,使得在不同日志实现之间切换...
Properties props = mailSender.getJavaMailProperties(); props.put("mail.transport.protocol", "smtp"); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.starttls.enable", "true"); props.put...
SIP 协议 会话初始协议 很有帮助 Contents 1 Introduction 9 2 Overview of SIP Functionality 10 3 Terminology 11 4 Overview of Operation 11 5 Structure of the Protocol 16 6 Definitions ...
修改conf\workers.properties.minimal,增加一行tomcat的位置。 。。。。。 选择到你的站点。单击右键。选择“属性(Properties)” “HTTP头(HTTPHeaders)”选项卡 -> “MIME类型(MIMETypes)” “新建(NEW)", ...
3. **邮件存储**:James如何存储和管理邮件,如使用MIME格式,以及支持多种存储后端(如文件系统、数据库等)。 4. **过滤和规则引擎**:允许用户设置过滤规则,例如自动转发、垃圾邮件过滤等。 5. **安全机制**:如...
- **struts.multipart.parser**:指定处理multipart/form-data MIME类型的框架,支持 `cos`、`pell` 和 `jakarta` 等属性值,默认为 `jakarta`。 - **struts.multipart.saveDir**:指定上传文件的临时保存路径,...
在配置前端Apache服务器和后端Tomcat服务器通信时需要用到的配置文件。需要搭配mod_proxy一块使用。在Apache中更改workers.properties、uriworkermap.properties的配置。Add Type MIME属性。
而 activation.jar 则是JavaBeans Activation Framework(JAF)的一部分,主要用于处理和识别不同类型的MIME类型的数据,比如附件。在发送邮件时,JAF可以解析和创建复杂的MIME结构,使得Java程序能够处理各种类型的...
spring.mail.properties.mail.smtp.starttls.enable=true ``` 这样,Spring Boot会自动配置一个`JavaMailSender`实例供我们使用。 最后,`JavaMailSender`接口和相关的邮件服务支持使得Spring成为开发中实现邮件...
struts.multipart.parser 属性指定处理 multipart/form-data 的 MIME 类型(文件上传)请求的框架,该属性支持 cos、pell 和 jakarta 等属性值,即分别对应使用 cos 的文件上传框架、pell 上传及 common-fileupload ...
2. **MIME类型识别**:Java Sound API能够识别多种音频格式(如MP3、WAV、AIFF等)的MIME类型,从而确保播放器能够正确处理各种音频文件。 3. **文件读取与解码**:为了播放音频文件,播放器需要能够读取文件内容并...
Properties props = new Properties(); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.starttls.enable", "true"); props.put("mail.smtp.host", "smtp.gmail.com"); props.put("mail.smtp.port...
- 接着,在`web.xml`中添加DisplayTag的相关配置,包括Servlet映射和MIME类型映射,以便支持CSS和其他资源的加载。比如,你可以添加一个DisplaySourceServlet来查看源代码,以及错误页面的配置。 3. **分页配置**...
spring.mail.properties.mail.smtp.starttls.enable=true ``` 这里的配置适用于使用Gmail SMTP服务器,你需要替换为实际的邮箱地址和密码,并根据所使用的邮件服务提供商调整相应属性。 然后,在Spring的配置类中...