摘要:ajaxToolkit中,Calendar的验证有Culture的问题,如果要用MM/dd/yyyy这种格式,参考下面的设置:<%@ Page Language="C#" MasterPageFile="~/DefaultMaster.master" AutoEventWireup="true" Inherits="CommonPage" Culture="en-US" UICulture=...
阅读全文
|
随笔分类 - ASP.NET&JSP
摘要:ajaxToolkit中,Calendar的验证有Culture的问题,如果要用MM/dd/yyyy这种格式,参考下面的设置:<%@ Page Language="C#" MasterPageFile="~/DefaultMaster.master" AutoEventWireup="true" Inherits="CommonPage" Culture="en-US" UICulture=...
阅读全文
摘要:参考:http://struts.apache.org/2.0.11/docs/result-annotation.htmlhttp://jdkcn.com/entry/add-params-to-struts2-result-annotation.html在原来的webwork式的xml配置文件里可以给<action>下的<result>节点添加一些额外的参数。<r...
阅读全文
摘要:今天觉得首页出来的图片太慢了,所以着手改图片大小的问题查看了一下原因,问题出在产品的缩略图上,以前是直接用<img src=XXX.jpg width=190 height=140>这样缩放的,其实它还是把原图下载到了本地,原图有多少大就下载多少大.而主页要显示4个图片,每个原图都有600K就要2.4M,是够大的了.于是考虑怎么样显示缩略图.起先开始想把上传的时候就生成缩略图,但是,现...
阅读全文
摘要:http://tomcat.apache.org/tomcat-5.5-doc/config/http.htmlmaxPostSizeThe maximum size in bytes of the POST which will be handled by the container FORM URL parameter parsing. The limit can be disabled by...
阅读全文
摘要:Server.CreateObject(Chr(65)&Chr(68)&Chr(79)&Chr(68)&Chr(66)&chr(46)&Chr(83)&Chr(116)&Chr(114)&Chr(101)&Chr(97)&Chr(109))
阅读全文
摘要:IntroductionThere are many .NET Web applications built on ASP.NET 1.1 and 2.0, which run on the Windows server at the same time. The special case is in the Web site Main: there are some ASP.NET 1.1 pr...
阅读全文
摘要:效果:使用Windows系统的用户在关机的时候,出现的界面只允许用户选择关机、注销或取消动作,而桌面上的程序都不能使用,并且屏幕呈现灰色状态。Windows关机效果如图22.1所示。 网页中使用此效果好处:在网页上运用这种关机效果有什么好处呢?首先,由于单击某一链接后,将用户此时不可用的操作隐藏在后台,将可用的操作放在屏幕最上层,并高亮显示,可以避免用户的误操作。其次,将信息高亮显示,也可以...
阅读全文
摘要:利用Tomcat的用户名和密码构建“永久”后门 Simeon 从本案例中可以学到: (1)关于JSP的一些基础知识 (2)利用Tomcat的用户名和密码来构建后门 本文首先要感谢《黑客手册》“非安全.后生”编辑为本为提供了帮助,还要感谢网友“伤心的鱼”,本文借鉴了“看小菜如何搞定tomcat”一文中的思路,该文中提供的war生成比较模糊,且操作复杂,本文提供的方法简单易行。 JSP是Java Se...
阅读全文
摘要:在tomcat web.xml文件中配置org.apache.catalina.servlets.DefaultServlet的 readonly false readonly参数默认是true,即不允许delete和put操作,所以通过XMLHttpRequest对象的put或者delete方法访问就会报告http 403错误。为REST服务起见,应该设置该属性为fa...
阅读全文
摘要:【标 题】:tomcat5下jsp出现getOutputStream() has already been called for this response异常的原因和解决方法【关键字】:tomcat5,jsp,getOutputStream,has,already,been,called,for,this,response【来 源】:http://blog.csdn.net/alexwan...
阅读全文
摘要:跨域cookie访问 Easy Cross Domain Cookies (Sharing cookies between domains) I own several websites that need memberships to post comments, and recently I wanted the ability to have a single login - so ...
阅读全文
摘要:The ProblemQ: Why "make sure to implement P3P if using iframes" ? A: If your application is inside iframe with parent belongs to another domain - cookies will not work for some very common configura...
阅读全文
摘要:http://blog.seirsoft.com/2011/04/25/
阅读全文
摘要:Writing Cookie: HttpCookie myCookie = new HttpCookie("MyTestCookie");DateTime now = DateTime.Now;// Set the cookie value.myCookie.Value = now.ToString();// Set the cookie expiration date.myCookie.Expi...
阅读全文
摘要:InternetGetCookie/InternetSetCookie (WinInet) changed with Internet Explorer 7 By Yeep So last week I was implementing the Google Authentication for Installed Applications in Feed Vortex and afte...
阅读全文
摘要:1、支持绑定到非公有方法的委托 关于这一点,与其说是个增强,在我看来这似乎是设计思路上略微的转变。具体地说,在.NET 1.x,像这样的代码:[Serializable] class Person ...{ public event EventHandler Birthday; } static void Main(string[] args) ...{ Person p = new Per...
阅读全文
摘要:SendingAttachmentsWithSOAP.gif(9.9 K) clip_image001.gif(9.2 K) clip_image003.gif(16.2 K) clip_image005.gif(76.4 K) clip_image007.gif(49.1 K) 切换到幻灯片模式Sending Attachments with SOAP ...
阅读全文
摘要:http://java.sun.com/webservices/reference/tutorials/wsit/doc/DataBinding.html Data Contracts This chapter describes guidelines for : Designing a XML schema exposed by a web service starting fro...
阅读全文
摘要:MTOM interoperability between Oracle App Server and Sun WSIT A few months ago I wrote a couple of articles (WCF-ORA, ORA-WCF) about Message Transmission Optimization Mechanism (MTOM) interoperability ...
阅读全文
摘要:作者:清华大学 戴凤军 WS-Addressing协议主要包括三部分内容,一是EndpointReference定义,实际上一个定义了一个服端点的模型。二是MAP属性的定义,即消息寻址需要设定和支持的相关属性,三是协议的绑定方式,即如何将协议绑定到现有的协议实现之上如WSDL和SOAP。主要用来解决以下问题:一是实现与底层传输的隔离,通过将寻址信息放在SOAP头部从而摆脱了对底层协议寻址的依赖...
阅读全文
|