Beginners: Jsp environment Configuration

Part 1 installation in the JAVA environment1. The latest J2SDK version is 1.4.2 _ 01,: http://java.sun.com/j2se/1.4.2/download.htmlDownload NetBeans IDE v 3.5.1 with J2SE v 1.4.2 COBUNDLEUse NetBeans IDE v 3.5.1 that includes J2SE v 1.4.22. Install!

Use js to pass values between parent and child windows

I use js to transfer values between parent and child mainly by calling the parent window method in the Child Window. Parent.htmlHtml code parent.html -->Name: select  Child.htmlHtml code child.html -->Select a name: name 1 name 2 name 3 name 4

Js jump APPLICATION IN THE FRAMEWORK

"Window. location. href" and "location. href" indicate the current page Jump."Parent. location. href" is the previous page Jump"Top. location. href" is the outermost page Jump Example:If A, B, C, and D are all jsp, D is the iframe of C, C is the

Clears a string from the string in js.

# Create ydds# Date 2009-09-20// Remove src targetFunction removeStrWithcomma (srcStr, targetStr ){Var returnStr = '';If (srcStr = null | srcStr = ''| srcStr = undefined ){Return returnStr;}ElseIf (srcStr. indexOf (targetStr) =-1 ){Return

Statistics on the number of people using HttpSessionListener and HttpSessionBindingListener

In the afternoon, I was relatively idle (in fact, today I was very idle). I thought about the implementation of online user statistics and found some knowledge on the Internet. My first thought was to manage sessions, if the session is destroyed, it

Garbled jsp or java

Today, I was hit by a JSP garbled problem. The solution is as follows: 1. The TOMCAT6.0.33 configuration file server. xml does not contain URIEncoding = "UTF-8" The URL has a Chinese string and java is used in the background, String str = request.

JSP implicit object

 Note: 1. Simplified JSP page development,2. The implicit object name is a reserved word of JAVA,3. Implicit objects do not need to be instantiated.The dynamic content of web pages is accessed through implicit objects. JSP implicit objects are a

JSP web page simple counter code snippet sharing

It's so cool to share a simple web page counter code I 've written for a while. These are also some basics, mainly involving I/O operations, code is the best mentor. If someone doesn't understand the code I wrote by my brother, you should hurry and

How to implement Single-point logon in jsp

During the project process, we often encounter such a situation that we need to perform single-point logon, that is, users can log on to a system and other systems at the same time. Here is an example to illustrate how to implement Single-point

JSP upload image (no component) Example + find genuine

It is more convenient to use components to upload images in JSP, but as a beginner, I still want to train my hands first and start from a trivial matter. You can upload images in either of the following ways: Save the image to a directory on the

The margin attribute of jsp in ie6 is invalid.

Today, I wrote a logon page where I used the css of margin: 0 auto to center the div with the username and password. The result is normal in chrome and firefox, And the margin attribute in ie6 is invalid. After viewing the page and css, you cannot

Jsp js MSCOMM32.OCX webpage transmits serial data

1. Install mscommsetup .exe on the local machine to register the MSCOMM32.OCX control locally.   2. After registration Run the following code to test JSP:   When the JS bullet box is 3, it indicates that the control is successfully

Project Stage 2 Summary

As the project progresses, I realized that 80% of the time will be spent on 20% of the features. Improve the product as a developer to lay the foundation for product launch.Let's look at mature products, especially products of large companies, and

JSP syntax _ Shi guoxu's personal summary

JSP template Elements1. the HTML content on the JSP page is called a JSP template element. 2. the JSP template element defines the basic skeleton of a webpage, that is, the structure and appearance of the page.JSP script expression1. JSP script

Jsp explanation for review

JSP introduction JSP is a dynamic technical standard proposed by Sun Microsystems and participated by many companies. In the traditional web page HTML file (*. htm ,*. java program snippets (Scriptlet) and JSP tags are added to html to form JSP web

A simple solution for JSP RePort Printing

1. Create a report style in Word or Excel. The Row Height and column width in Excel cannot be expressed in mm or cm. Computing required. In 1024*768, 1CM is about 38 pixels. Based on this, you can calculate and control the row and column positions

Servlet/JSP Container development NOTE 4-Request Parameter

Source of Request Parameters 1. query string of the request URL, such as/localhost/abc/test? Abc = ddd & bbb = ccc, the string following the question mark2. For a POST request, if Content-Type = "application/x-www-form-urlencoded", the parameter

Js implementation key and value

Method 1 Java code Var hashMap = {}; HashMap ['key1'] = 'value1 '; HashMap ['key2'] = 'value2 '; HashMap ['key3'] = 'value3 '; HashMap ['key4'] = 'value4 '; HashMap ['key5'] = 'value5 '; HashMap ['key6'] = 'value6 '; If ('key2' in hashMap) { Alert

Solve the Problem of repeated jsp submission

After reading this online, there are several methods: 1. Add this code to the HEAD area on your table sheet page: 2 generate a token to be saved in the user session, add a hidden domain in the form to display the value of this token. After the

How does JSP save the last logon time of a user?

The Code is based on the access (favorite of a small website) library, for example, the date object uses java. SQL. date () type, Because java. util. date type is not allowed to be added to the DateTime type field: Author: tao Source: http://www.tot.

Total Pages: 1800 1 .... 1018 1019 1020 1021 1022 .... 1800 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.