??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品九九,三级电影一区,国产精品av一区二区三区http://www.aygfsteel.com/hive13/category/7157.html学java,用java,qjavazh-cnSat, 24 Jul 2010 05:26:15 GMTSat, 24 Jul 2010 05:26:15 GMT60评h一个框架好坏与否的标准http://www.aygfsteel.com/hive13/articles/326490.html一H疯的Java屋一H疯的Java屋Mon, 19 Jul 2010 01:56:00 GMThttp://www.aygfsteel.com/hive13/articles/326490.htmlhttp://www.aygfsteel.com/hive13/comments/326490.htmlhttp://www.aygfsteel.com/hive13/articles/326490.html#Feedback0http://www.aygfsteel.com/hive13/comments/commentRss/326490.htmlhttp://www.aygfsteel.com/hive13/services/trackbacks/326490.htmlMatt提出了评价一个框架好坏与否的标准Q?br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /> ◆Ajax支持
是不是内|了Q是否便于用?
◆书{能?/em>
用户能否某个页面收藏v来ƈ且可以方便地q回到该面Q?br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /> 验证
使用是否单?是否支持客户端(JavaScriptQ验证?
◆可试?/em>
q容器试控制器,是否_单?
◆提交和重定?br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /> 框架如何处理重复提交问题Q?br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /> ◆国际化
如何支持国际化?控制器利用国际化信息Q是否容易?
◆页面修?/em>
框架支持哪种cd的页面修?l成机制Q?br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /> ◆社区和技术支?/em>
提出问题Q能否被快速地、恭敬地回答Q?br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /> ◆开发工?/em>
是否有支持这个框架的好的工具Q尤其是IDEQ?br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /> ◆市场需?br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /> 学习了这个框Ӟ它能否帮你找C工作Q?br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /> ◆岗位数?/em>
在dice.com和indeed.com上,对这个框架技能的需求如何?

]]>
问题集锦QServlets/JSP开发技术问{?/title><link>http://www.aygfsteel.com/hive13/articles/35420.html</link><dc:creator>一H疯的Java屋</dc:creator><author>一H疯的Java屋</author><pubDate>Wed, 15 Mar 2006 07:36:00 GMT</pubDate><guid>http://www.aygfsteel.com/hive13/articles/35420.html</guid><wfw:comment>http://www.aygfsteel.com/hive13/comments/35420.html</wfw:comment><comments>http://www.aygfsteel.com/hive13/articles/35420.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hive13/comments/commentRss/35420.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hive13/services/trackbacks/35420.html</trackback:ping><description><![CDATA[<TABLE cellSpacing=0 cellPadding=0 width="98%" align=center border=0> <TBODY> <TR align=middle> <TD vAlign=bottom height=48> <P align=left><B></B> </P></TD></TR> <TR align=middle> <TD></TD></TR> <TR> <TD align=right height=36></TD></TR> <TR> <TD vAlign=top><STRONG>Z么GenericServlet在init(ServletConfig config)基础上增加了一个init()ҎQ?/STRONG> <BR> <BR>  init()Ҏ被GenericServlet.init(ServletConfig config)Ҏ调用。  <BR>  init()Ҏ方便了开发h员定制Servlet的初始化Q而无dl护ServletConfig对象的存储工作。  <BR>  重写GenericServlet.init(ServletConfig config)必须要显C的调用super.init(config)Ҏ?BR>  <BR>  <B>ServletContext.getContect(java.lang.String uripath)的作用是什么?</B> <BR> <BR>  q回同一Server中指定的path对应的ServletContext对象,通过该对象可以实CServer中的其他Context打交道。uripath必须是以"/"开始(该\径的含义是相对于整个Servlet文档的根路径Q而不是当前ServletContext的根路径Q?BR>  <BR>  <B>Servlet生命周期是什么?</B><BR>  <BR>  一般的Servlet(GenericServlet,即与协议无关的Servlet)的生命周期:init() --> GenericServlet.service(ServletRequest req, ServletResponse res) --> destroy.  <BR>  HttpServlet的生命周? init() --> GenericServlet.service(ServletRequest req, ServletResponse res)---> service(HttpServletRequest req, HttpServletResponse resp) --> doXXXX()-->destroy.<BR>  <BR>  <B>有没有必要重写GenericServlet.service()ҎQ?/B>  <BR><BR>  对于HttpServlet来说没有必要。只需要重写它的doXXXX()Ҏ可以了。HttpServlet中service()Ҏ会自动的Ҏ用户hcd把请求{发给相应的doXXXX()ҎQ例如doGet()ҎQ?BR>  <BR>  <B>ServletRequest.getReader()和ServletRequest.getInputStream()如何使用Q?/B>  <BR><BR>  注意两个Ҏ不能同时使用。  <BR>  ServletRequest.getRealPath(String path)Ҏ已经不推荐用。  <BR>  请用ServletContext.getRealPath(String path)Ҏ?BR>  <BR>  <B>ServletResponse~省的字W集(charset)是什?<BR></B><BR>  ServletResponse~省的字W集(charset)是ISO-8859-1,可以通过setContentType(java.lang.String)Ҏ改变新的字符集。  <BR>  例如QsetContentType("text/html; charset=Shift_JIS").  <BR>  关于字符集信息,可以览RFC 2045<BR>  <BR>  <B>HttpServletRequest.getRequestURI()和HttpServletRequest.getRequestURL()区别是什?</B> <BR> <BR>  request.getRequestURI() q回值类|/xuejava/requestdemo.jsp  <BR>  request.getRequestURL() q回值类|http://localhost:8080/xuejava/requestdemo.jsp<BR>  <BR>  <B>HttpServletRequest.encodeURL()和HttpServletRequest.encodeRedirectURL(()区别是什?Z么要有两个不同的Ҏ呢?</B> <BR> <BR>  当用URL-rewriting方式来管理Session的时候,需要用C上的两个Ҏ。  <BR>  两个Ҏ的不同点是:两个Ҏ定是否需要包含session ID的逻辑不同。  <BR>  在调用HttpServletResponse.sendRedirect前,应该先调用encodeRedirectURL()ҎQ否则可能会丢失Sesssion信息?...<BR>  <BR>  <B>如何使你的Servlet或者JSP实现Single Thread Model?</B> <BR> <BR>  对于Servlet实现javax.single.SingleThreadModel接口。  <BR>  对于JSP,在Page Directive中写如下的语?lt;%@ page isThreadSafe="false" %>  <BR>  JSP Tag ?JSP XML-based Tag <BR>  ...  <BR>  <B>如何把某一个JSP Page定义成ؓError Page?Z么要q样做?</B> <BR> <BR>  实现ҎQ?<%@ page isErrorPage="true" %>  <BR>  Z么? 因ؓ需要获取Exception 对象Q缺省情况下Q在JSP Page中是不能直接使用“隐含对象?exception的)?BR>  <BR>  <B>JSP Page的执行顺序是如何的?<BR></B>  <BR>  JSP Page的执行顺序如下:  <BR>  JSP Page Translation. JSP Page --> Servlet source code.<BR>  JSP Page Compilation. Servlet source code --> Servlet class.<BR>  Load Class(First time or the server restarted)  <BR>  Create instance(可能会很多次Q如果JSP Page中声明了<%@ page isThreadSafe="false" %>)  <BR>  Call jspInit methodQ一般的JSP Page都没有重写这个方法,重写需要在声明语句D中Q。  <BR>  Call _jspService methodQ类g一般HttpServlet的doGet和doPostҎQ但是可以同时用来处理Post和GetqhQ。  <BR>  Call jspDestroy methodQServer在卸载Servet的时候,例如当Servlet很久没有使用的情况)?BR>  <BR>  <B>JSP Page中有哪些隐含对象(Implicity Object)?各自的类型和作用是什么?</B> <BR> <BR>  request --<BR>  reponse --<BR>  session --<BR>  application --<BR>  out --<BR>  page --<BR>  pagecontext --<BR>  exception -- 只有在当前JSP Page为Error Page的时候才有效?BR>  config --<BR>  <BR>  <B><jsp:include page="/foo/foo.jsp" %> ?<@ include file="/foo/foo.jsp" %>的区别是什么?</B> <BR> <BR>  <jsp:include ... -- request time.<BR>  <@ include ... -- Page translation time.<BR>  <BR>  <B>Servlets/JSP Container(Engine)有几U运行方式?</B>  <BR><BR>  Standalone<BR>  Tomcat standalone mode<BR>  In-process<BR>  Tomcat running inside Apache Web Server.<BR>  Out-of-process<BR>  Apache + mod_jk + Tomcat<BR>  <BR><STRONG>  Servlet,Servlet开发h员,Servlet API, Servlet Container的关pL什么?</STRONG> <BR> <BR>  Servlet,Servlet开发h?--->Servlet API --> Servlet Container<BR><BR><STRONG>  The parts of an HTTP message  <BR><BR></STRONG>  Message part Description<BR>  The initial lineQ?Specifies the purpose of the request or response message<BR>  例子QGET /reports/sales/index.html HTTP/1.0<BR>  The header section:Specifies the meta-information, such as size, type, and encoding,<BR>  about the content of the message<BR>  A blank line:<BR>  An optional message body: The main content of the request or response message  <BR>  下面是一个Response的例子:  <BR>  HTTP/1.0 200 OK<BR>  Date: Tue, 01 Dec 2001 23:59:59 GMT<BR>  Content-Type: text/html<BR>  Content-Length: 52<BR>  <BR>  <html><BR>  <body><BR>  <h1>Hello, John!</h1><BR>  </body><BR>  </html><BR>  <BR>  <B>HTTP规范中定义了哪些ҎQ各自有什么用途?</B><BR>  <BR>  GET<BR>  HEAD<BR>  POST<BR>  ?Http 1.1规范开始,增加了以下的Ҏ:<BR>  <BR>  PUT<BR>  OPTIONS<BR>  TRACE<BR>  DELETE<BR>  CONNECT<BR>  <BR><STRONG>  ServetRequest中ؓ什么要定义:getContentType(),getContentLength()Ҏ?BR></STRONG>  <BR>  ҎHTTP协议规范QRequest ?Response一样也有这些必不可的内容Q  <BR>  所以需要首先了?HTTP Message的概念和其内容的格式Q这些东西对于Request和Reponse是一L。  <BR>  对于GET方式发送的hQ其内容cd为:null  <BR>  对于POST方式发送的hQ其内容cd为:application/x-www-form-urlencoded  <BR>  POST方式发送请求的内容cM于:username=xuejava.  <BR><BR><STRONG>  RequestDispatcher.forward()和HttpServletResponse.sendRedirect()的区别是什么?<BR>  <BR></STRONG>  RequestDispatcher.forward()是在服务器端q行QHttpServletResponse.sendRedirect()是通过向客h览器发送命令来完成。  <BR>  所以RequestDispatcher.forward()对于览器来说是“透明的”;而HttpServletResponse.sendRedirect()则不是。  <BR>  另外Q还要注意RequestDispatcher.forward()在调用的时候Response不能已经Commit了(Response.isCommitted()Q?BR>  <BR><STRONG>  ServletContext.getRequestDispatcher(String url)和ServletRequest.getRequestDispatcher(String url)的区别是什么?Z么?<BR></STRONG>  <BR>  ServletContext.getRequestDispatcher(String url)中的url只能使用l对路径Q而ServletRequest.getRequestDispatcher(String url)中的url可以使用相对路径。  <BR>  因ؓServletRequesth相对路径的概念;而ServletContext对象无次概念?BR>  <BR>  <B>如何把请求{Ud另外一个Web App中的某个地址Q?/B><BR>  <BR>  ServletContext.getRequestDispatcher(String url)和ServletRequest.getRequestDispatcher(String url)只能把请求{Ud同一个Web App中的地址。  <BR>  如果需要把h转移到另外一个Web App中的某个地址Q可以按下面的做法:  <BR>  1. 获得另外一个Web App的ServletConext对象(currentServletContext.getContext(uripath)).  <BR>  2. 调用ServletContext.getRequestDispatcher(String url)Ҏ?BR></TD></TR></TBODY></TABLE>来源Q?A >http://www.matrix.org.cn</A> 作者:jdbc d日期Q?006-3-5 18:30:00 <img src ="http://www.aygfsteel.com/hive13/aggbug/35420.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hive13/" target="_blank">一H疯的Java屋</a> 2006-03-15 15:36 <a href="http://www.aygfsteel.com/hive13/articles/35420.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>几个比较好的Java代码查询|站(zz)http://www.aygfsteel.com/hive13/articles/28804.html一H疯的Java屋一H疯的Java屋Fri, 20 Jan 2006 08:38:00 GMThttp://www.aygfsteel.com/hive13/articles/28804.htmlhttp://www.aygfsteel.com/hive13/comments/28804.htmlhttp://www.aygfsteel.com/hive13/articles/28804.html#Feedback0http://www.aygfsteel.com/hive13/comments/commentRss/28804.htmlhttp://www.aygfsteel.com/hive13/services/trackbacks/28804.htmlFrom: http://www.aygfsteel.com/gump/articles/28771.html

 q些是我l常使用的一些Java代码查询|站Q希望在q里能v到抛砖引玉的效果Q大家群{群力,一起分享Java快乐?BR> 
  1. java2s  http://www.java2s.com/
   q个|站非常好,分成三大c,分别是Example、Products?ArticlesQ每个大cM又分别设许多类Q还有搜索功能,q样查找h非常方便。。比如,如果要学习SWT/JFaceQ只要把Example下的SWT JFace Eclipse 研究一下也可以了。另外,q个|站q有JavaScript DHTML?C# / C Sharp?C / ANSI-C?SQL / MySQL{类。MQ非常好?/DIV>

  2. codeZoo http://www.codezoo.com/
   q是O'Reily旗下的,除了Java之外Q还有Ruby、Python?BR> 
  3. Java学习源代码检索系l?nbsp; http://www.chinaitlab.com/www/school/codesearch/index.html
   隑־看见国的,好歹也要支持一下,分类也算清楚?BR> 
  4. Koders  http://www.koders.com/
   是个l合查询的网站,不过它好像是从代码中查找关键词,包含的语a挺多的?BR> 
  5. Resources for Java server-side developers  http://www.java201.com/
   切的说Q它是一个资源收集的|站Q代码查询ƈ不多。不q它分类相当l,如Articles、Books、Examples、Extensions、Frameworks{类Q你可以输入Spring或Hibernate作ؓ关键词搜索一下看看?BR> 
   存货不多Q以后有了再补充?/P>



]]>
վ֩ģ壺 | ƾ| ˮ| | | °Ͷ| Ű| Ҫ| | | ȫ| | կ| | | | Ϫ| | گ| | | | | | ʳ| | ƺ| Ͷ| | ɽ| | | ΢ɽ| Ѷ | | Ժ| | | ׺| ˹| Ϫ|