From: http://www.cndw.com/tech/net/2006042758457.asp
Recently I have been searching for ways to display RSS Feed on the web page. I chose C # and ASP. NET as tools. I created a simple processing function to process the RSS Feed obtained from a URL.
Write XML:VaR example: xml = eh bee See ;
Write with variables:// Assume two variables exist, username and scoreVaR Username: String = "Darron ";VaR score: Int = 1000;
// Use curly braces around the variable name to use its value when//
1. Set cookie
Cookie = new cookie ("key", "value ");
Cookie. setmaxage (60 );
Set the 60-second lifetime. If it is set to a negative value, it is the browser process cookie (saved in memory). If it is disabled, the browser becomes invalid.
Cookie.
Install jdk1.4 and tomcat5.0.28, and ie5.5 Get Firefox. Enter the subject
[1] Write the index. jsp file
my JSP 'index. jsp 'starting page
Size = "20"
Id = "userid"
Name = "ID"
Onkeyup = "Validate ();">
[2] Write
What Is Ajax?Ajax (Asynchronous JavaScript and XML) is a new term designed to describe the powerful performance of JavaScript. these two performances have been ignored by network developers for many years. Until recently, the birth of Gmail, Google
RSS is a standard XML file. The RSS reader can read this XML file to obtain information about the article, so that users can read the blog through the RSS reader instead of the browser, we only need to dynamically generate this XML file. Rsslibj is
Introduction
In Roy Fielding's paper, he willRestThis is a basic concept of the current Web architecture. He sets the following standards for rest:
1. A set of constraints for modeling modern web architectures.2. The rest principle has been
I am doing a simple example of Ajax asynchronous data return, Ajax + JSP + Struts implementation. when loading the page, I will first call data from the database, when I return the data obtained from the database in the action
Response.
Yesterday afternoon in the United States, Microsoft released IE8 beta2. In the new version of IE8 beta2, Microsoft has decided to extend opensearch to a new recommended data format, represented in XML or JSON. The new format displays real-time
Web Service Interview Questions and answers
What is a Web service? Define people and companies have debated the exact definition of Web Services. at a minimum, however, a Web Service is any piece of software that makes itself available over the
1. The flash feature determines that flash can be integrated. Macromedia Flash is now widely used on the Internet to enhance the content description of web sites. Macromedia selects flash as the interface developed by the web application Program .
XML is a text-format-based meta-markup language that focuses on the description of the data structure and meaning, and achieves the separation of data content and display styles (XML + XSL ), it is not related to the platform.
Because XML focuses
Ajax.html
CopyCode The Code is as follows:
1: Show "OK"; other characters: Show "error"
detect
T. aspCopy codeThe Code is as follows: Response. contenttype = "text/XML"Response. charset = "gb2312"If request. querystring ("T1") = "1"
Recently I have been searching for ways to display RSS feed on the web page. I chose C # and ASP. NET as tools. I created a simple processing function to process the RSS feed obtained from a URL. You can directly use this simple function or convert
I. ajaxsample. aspx
Process business data and generate XML data for jqueryrequest. aspx to call,CodeAs follows:Copy codeThe Code is as follows: protected void page_load (Object sender, eventargs E){String uid = request. querystring ["username"]
RSS. asp format
Below
Code Save as RSS. asp
Copy code The Code is as follows:
Strurl = "http: //" & request. servervariables ("SERVER_NAME ")&_
Left (request. servervariables ("script_name"), Len (request. servervariables ("script_name")-len
CopyCode The Code is as follows: function callbackobject ()
{
This. XMLHTTP = This. gethttpobject ();
}
Callbackobject. Prototype. gethttpobject = function () // Add the gethttpobject common method to the callbackobject prototype dynamically.
{
//
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.