当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: web.xml Deployment Descriptor El
 

 

    摘要: 人只要活着总会面对许许多多的抉择。学习、生活、工作、事业、爱情,就连平时走路都要考虑要走哪一条。考大学的时候,要选择哪所学校,大学毕业以后,要选择是去做一名计算机教师,还是要出去闯荡走自己的路。工作以后,要考虑是继续留下来作技术支持,还是去换一家新的公司做程序员。过了三年之痒以后,又要抉择是走是留的问题。到了一家新公司,要考虑是为了事业还是为了金钱还是为了爱情。回头看看走过的路,所有的决定都来源......
 ·只能对数值操作的textbox    »显示摘要«
    摘要:当界面上要用户输入只有数字的字符时,默认的textbox是不能胜任的,网上有很多网友们提供了很多的做法,我总结了一下写了一个在c#下的实现,做到了如下的几点:1:只能输入类似这样的字符:-123456.789;1234.789;2:在输入的字符串中不能存在两个点符:12456.78//正确;12.456.78//不正确;3:如果表示负数可以在字符串的最前面加一个减号“-”,......


部署描述符(web.xml)元素---[EN Ed]

web.xml deployment descriptor elements

  【程序编程相关:JAVA mail应用 - 用JAVA

【推荐阅读:配置shark与mysql的连接

icon element

<small-icon>

【扩展信息:VC 点滴之二 文件与注册表

this following sections describe the deployment descriptor elements defined in the web.xml file. the root element for web.xml is <web-app>. the following elements are defined within the <web-app> element:

<large-icon>

display-name element

description element

distributable element

context-param element

<param-name>

<param-value>

<description>

filter element

<icon>

<filter-name>

<display-name>

<description>

<filter-class>

<init-param>

filter-mapping element

<filter-name>

<url-pattern>

<servlet>

listener element

<listener-class>

servlet element

<icon>

<small-icon>

<large-icon>

<servlet-name>

<display-name>

<description>

<servlet-class>

<jsp-file>

<init-param>

<param-name>

<param-value>

<description>

<load-on-startup>

<security-role- ref>

<description>

<role-name>

<role-link>

servlet-mapping element

<servlet-name>

<url-pattern>

session-config element

<session-timeout>

mime-mapping element

<extension>

<mime-type>

welcome-file-list element

<welcome-file>

error-page element

<error-code>

<exception-type>

<location>

taglib element

<taglib-location>

<taglib-uri>

resource-ref element

<description>

<res-ref-name>

<res-type>

<res-auth>

<res-sharing-scope>

security-constraint element

<web-resource- collection>

<web-resource- name>

<description>

<url-pattern>

<http-method>

<auth-constraint>

<description>

<role-name>

<user-data- constraint>

<description>

<transport- guarantee>

login-config element

<auth-method>

<realm-name>

<form-login- config>

<form-login-page>

<form-error-page>

security-role element

<description>

<role-name>

env-entry element

<description>

<env-entry-name>

<env-entry-value>

<env-entry-type>

ejb-ref element

<description>

<ejb-ref-name>

<ejb-ref-type>

<home>

<remote>

<ejb-link>

<run-as>

 

icon element

the icon element specifies the location within the web application for a small and large image used to represent the web application in a gui tool. (the servlet element also has an element called the icon element, used to supply an icon to represent a servlet in a gui tool.)


...   下一页
 ·横向滚动的图片代码    »显示摘要«
    摘要:<html><head> <title>无标题文档</title></head> <body> <div id=demo style="overflow: hidden; width: 350px; height: 300px"> <table cellspacing=0 cellpad......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE