JSP, ssjs, and NAS
JSP does not replace or threaten ssjs as a web development platform, and they own their own markets. Although JSP is more powerful and flexible than ssjs, you need to write scripts.
Code You must learn Java-at least before a
I. JSP technology Overview
After Sun officially released JSP, this new web application development technology soon attracted people's attention. JSP provides a unique development environment for creating highly dynamic web applications.
1. Software Overview
This article describes how to use IIS + tomcat3.1 to support JSP and Servlet environments. Under normal circumstances, IIS does not support Servlet and JSP environments. By using a plug-in (plugin) that redirects IIS to Tomcat,
Are you often complained about slow response to JSP pages? Have you ever wondered whether your web applications will be able to withstand the increasing traffic volume when the number of customer visits increases dramatically? This article describes
Package coreservlets;
Import java. Io .*;Import javax. servlet .*;Import javax. servlet. http .*;Import java. util .*;
/** Creates a table showing the current value of each* Of the Standard CGI variables.* * Taken from core servlets and
Below is the source of my shopping cart Using JSP and database.
Program :
Note:1. The re-billing part is not ready yet. Please do it yourself!2. the next version uses session.
// Shop_cart.jsp
String product_type;String action;Int
1. Javascript. Set a variable and submit it only once.
2 or Javascript. Set the submit button or image to disable.
Onsubmit = "getelbyid ('submitinput'). Disabled = true; return true;">
3. Use the struts synchronization token
JSP-hitcounter counts sessions.
Copyright (c) 2000 Jesper Schmitz mouridsen.
Visit www. webappcabaret/jsm2/webapps. jsp? Find = jsphcs for more info.
This program is free software; you can redistribute it and/or modify it under the terms of the
11.1 Overview
Assumerver pages (JSP) enables us to separate static html and dynamic parts of the page. HTML can be written using any commonly used web production tool in the same way as the original one.CodePut in the special tag, most of them
Package coreservlets;
Import java. Io .*;Import javax. servlet .*;Import javax. servlet. http .*;
/** Simple servlet that generates HTML.* * Taken from core servlets and assumerver pages* From Prentice Hall and Sun Microsystems press,*
JSP: plugin action enables you to insert the object or EMBED element of a specific browser to specify the plug-in required for the browser to run a Java applet.
Syntax:
[Name = "instancename"][Archive = "uritoarchive,..."][Align =
Many new JSP beginners often ask how to connect to the database. Why are there errors? So I concentrated on writing this article Article For your reference, it may not be a good practice to put all the database logic in JSP, but it is helpful for
String month;
%>
Year = request. getparameter ("year ");
%>
day
Days = new string [42];
For (INT I = 0; I
{
Days = "";
}
%>
Calendar thismonth = calendar. getinstance ();
If (month! = NULL &&(!
I started to learn JSP since September, and I had only one point in the past.
Program After a lot of hardships and finally one day, I was as happy as a dry duck learning to swim, finally, I wrote this pure JSP
Article Publish a program.
I believe
Familiar with JSP servers
This "JSP from simple to deep" series of tutorials is intended for intermediate and advanced users and requires the basics of HTML and Java. You should connect HTML webpages together and use Java for programming. If you do
With the development of Web technology and the arrival of the e-commerce era, people are no longer satisfied with the establishment of various websites for static information publishing. More often, they need to be able to interact with users,
1. You can use:
Response. sendRedirect ("http://www.foo.com/path/error.html ");
2. You can manually modify the Location attribute of the HTTP header as follows:
Response. setStatus (HttpServletResponse. SC _MOVED_PERMANENTLY
I. Preface
Tomcat is a good choice for beginners to execute JSP and Servlet. You can also use Resin. Both products do not cost a penny. Resin supports Xml well.
Ii. Download and install
For the Resin official site: http://www.caucho.com /.
Download
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service