bowenbridges

October 30, 2010

DB2 list of frequently used commands

Filed under: Uncategorized

1. To establish a database DB2_GCB

CREATE DATABASE DB2_GCB ON G: ALIAS DB2_GCB

USING CODESET GBK TERRITORY CN COLLATE USING SYSTEM DFT_EXTENT_SZ 32

2. Connect to the database

connect to sample1 user db2admin using 8301206

3. To establish an alias

create alias db2admin.tables for sysstat.tables;

CREATE ALIAS DB2ADMIN.VIEWS FOR SYSCAT.VIEWS

create alias db2admin.columns for syscat.columns;

create alias guest.columns for syscat.columns;

4. The establishment of table

create table zjt_tables as

(Select backup bin conf config data eshow_sitemap.html generate.sh log maint sitemap.html svn tmp from tables) definition only;

create table zjt_views as

(Select backup bin conf config data eshow_sitemap.html generate.sh log maint sitemap.html svn tmp from views) definition only;

5. Insert Record

insert into zjt_tables select backup bin conf config data eshow_sitemap.html generate.sh log maint sitemap.html svn tmp from tables;

insert into zjt_views select backup bin conf config data eshow_sitemap.html generate.sh log maint sitemap.html svn tmp from views;

6. To establish the view

create view V_zjt_tables as select tabschema, tabname from zjt_tables;

7. To establish the trigger

CREATE TRIGGER zjt_tables_del

AFTER DELETE ON zjt_tables

REFERENCING OLD AS O

FOR EACH ROW MODE DB2SQL

Insert into zjt_tables1 values (substr (o.tabschema, 1,8), substr (o.tabname, 1,10))

8. To establish uniqueness of the index

CREATE UNIQUE INDEX I_ztables_tabname

[Size = 3] ON zjt_tables (tabname);

9. See Table

select tabname from tables

where tabname = 'ZJT_TABLES';

10. See column

select SUBSTR (COLNAME, 1,20) as column names, TYPENAME as type, LENGTH as the length of

from columns

where tabname = 'ZJT_TABLES';

11. See table structure

db2 describe table user1.department

db2 describe select backup bin conf config data eshow_sitemap.html generate.sh log maint sitemap.html svn tmp from user.tables

12. View the index table

db2 describe indexes for table user1.department

13. View View

select viewname from views

where viewname = 'V_ZJT_TABLES';

14. View Index

select indname from indexes

where indname = 'I_ZTABLES_TABNAME';

15. See store process

SELECT SUBSTR (PROCSCHEMA, 1,15), SUBSTR (PROCNAME, 1,15)

FROM SYSCAT.PROCEDURES;

16. Type conversion (cast)

ip datatype: varchar

select cast (ip as integer) +50 from log_comm_failed

17. To re-connect

connect reset

18. Interrupt the database connection

disconnect db2_gcb

19. View application

LIST APPLICATION;

20. Kill application

FORCE APPLICATION (0);

db2 force applications all (to force all applications disconnect from the database)

21. Lock table

lock table test in exclusive mode

22. Sharing

lock table test in share mode

23. Shows all the tables the current user

list tables

24. List all the system table

list tables for system

25. Display the currently active database

list active databases

26. See command options

list command options

27. The system database directory

LIST DATABASE DIRECTORY

28. Tablespace

list tablespaces

29. Table space containers

LIST TABLESPACE CONTAINERS FOR

Example: LIST TABLESPACE CONTAINERS FOR 1

30. Displays the user access to the database

GET AUTHORIZATIONS

31. Start instance

DB2START

32. Stop instance

db2stop

33. Table or view privileges

grant select, delete, insert, update on tables to user

grant all on tables to user WITH GRANT OPTION

34. Package privileges

GRANT EXECUTE

ON PACKAGE PACKAGE-name

TO PUBLIC

35. Mode privilege

GRANT CREATEIN ON SCHEMA SCHEMA-name TO USER

36. Database Privileges

grant connect, createtab, dbadm on database to user

37. Index privileges

grant control on index index-name to user

38. Information to help (? XXXnnnnn)

Cases:? SQL30081

39. SQL help (note the syntax of SQL statements)

help statement

For example, help SELECT

40. SQLSTATE help (note SQL state and class code)

? Sqlstate or? Class-code

41. Change and the “Management server” password-related

db2admin setid username password

42. Create SAMPLE database

db2sampl

db2sampl F: (specify the installation disk)

43. Use the operating system command

! Dir

44. Convert data types (cast)

SELECT EMPNO, CAST (RESUME AS VARCHAR (370))

FROM EMP_RESUME

WHERE RESUME_FORMAT = 'ascii'

45. UDF

To run DB2 Java stored procedure or UDF, also need to update the DB2 database management server configuration to include the JDK is installed in the path of the machine

db2 update dbm cfg using JDK11_PATH d: sqllibjavajdk

TERMINATE

update dbm cfg using SPM_NAME sample

46. Check the DB2 database manager configuration

db2 get dbm cfg

47. Search all authorization names with privileges

SELECT DISTINCT GRANTEE, GRANTEETYPE, 'DATABASE' FROM SYSCAT.DBAUTH

UNION

SELECT DISTINCT GRANTEE, GRANTEETYPE, 'TABLE' FROM SYSCAT.TABAUTH

UNION

SELECT DISTINCT GRANTEE, GRANTEETYPE, 'PACKAGE' FROM SYSCAT.PACKAGEAUTH

UNION

SELECT DISTINCT GRANTEE, GRANTEETYPE, 'INDEX' FROM SYSCAT.INDEXAUTH

UNION

SELECT DISTINCT GRANTEE, GRANTEETYPE, 'COLUMN' FROM SYSCAT.COLAUTH

UNION

SELECT DISTINCT GRANTEE, GRANTEETYPE, 'SCHEMA' FROM SYSCAT.SCHEMAAUTH

UNION

SELECT DISTINCT GRANTEE, GRANTEETYPE, 'SERVER' FROM SYSCAT.PASSTHRUAUTH

ORDER BY GRANTEE, GRANTEETYPE, 3

create table yhdab

(Id varchar (10),

password varchar (10),

ywlx varchar (10),

kh varchar (10));

create table ywlbb

(Ywlbbh varchar (8),

ywmc varchar (60))

48. Modify table structure

alter table yhdab ALTER kh SET DATA TYPE varchar (13);

alter table yhdab ALTER ID SET DATA TYPE varchar (13);

alter table lst_bsi alter bsi_money set data type int;

insert into yhdab values

('20000300001 ', '123456', 'User01', '20000300001 '),

('20000300002 ', '123456', 'User02', '20000300002 ');

49. Business Type Description

insert into ywlbb values

('User01', 'business applications'),

('User02', 'business Undo'),

('User03', 'cost of query'),

('User04', 'cost of self-pay'),

('User05', 'cost of pre-existing'),

('User06', 'password changes'),

('User07', 'Print invoice'),

('Gl01', 'change the user basic information'),

('Gl02', 'change the payment information'),

('Gl03', 'date statistical functions'),

('Gl04', 'strike a balance function'),

('Gl05', 'reconciliation function'),

('Gl06', 'billing function'),

('Gl07', 'General Statistics')

Recommended links:

The set EAM2008 into Yunnan Lancang Lead

VOB to MOV

View open ports: Let Trojan True Features

How to improve the agency's initiative

Cleverly hide an important part of the worksheet so that no leakage

Introduction News Servers

You before the boss look like a duck in a variety of Lotus

AAC files

faulting Module msvcr80 dll version 8.0 50727.1433

Qualcomm CEO: WiMax 3G will compete in the face of setbacks

VOB Converter

National Social Security card can break the ice in the Yangtze River Delta region

HOT Genealogy

If The Turmoil On Wall Street Later To 30 Years

October 18, 2010

C + + Builder to pass other parameters form

Filed under: Uncategorized

Usually created in the IDE application form, to create a form in this way, the form contains only one parameter has a constructor Owner. Owner refers to a form created by the owner of the pointer (usually the owner of the application object or form object). Owner can be Null. To other parameters passed to the form, create another constructor, and use the new operator to enable the form, the next example shows an additional form class constructor, it contains an extra parameter whichButton . This new constructor form themselves in to join the class.

This is a self-compiled constructor, pass an additional parameter whichButton. This constructor uses whichButton parameter to set the form's Caption property of Label control.

Constructor to create multiple instances of the form, choose the most suitable choice for the constructor. For example, the following form, call the button handler nClick create an instance of the use of additional parameters TResultsForm:

Recommended links:

MP4 To WMP

RM to MPEG4

Town and only “limited earnings”

GUIDE Food And Drink

Best Install And Setup

Ningbo CHIC - Yum CRC show “WEAPON”

Dalian International Maritime Expo 2006 Conference Reports

Hot E-Mail List Management

The first donation to the Sichuan KASPERSKY 1.2 million yuan in cash

QT To WMV

About Distributed IDS

Evaluate OFFICE Suites And Tools

Foxconn You should “jump off the door” ashamed

Isuspm Exe Bad Error Repair These Errors Here

Intel Strikes Started

[Other] Project2000 thematic knowledge (3)

Days Of Thinking And Ultrafiltration: A Pure Space Also People

October 12, 2010

Flash MX Overview 3

Filed under: Uncategorized

(My English is too food, some sentences do not translate out of a laughing stock. But it touches on a very good learning opportunities, please guide me more guidance, thank you. - BlueJack)

Improved user interface

After you first start the Flash MX user interface will notice any major changes. In previous versions of many of the tools is not very intuitive and easy to find. For example, I just started using Flash5, I think that the characteristics of the exchange of symbols to be ignored, until I accidentally found in the instance of the panel icon is a difficult to identify its new incarnation. In Flash MX, there is no instance of the panel, this is a good thing.

Redesigned panel

In Flash, each panel is the time line and edit the scene and prepared an important tool for ActionScript. Set marker panel was canceled or replaced, and a make your own preferences by random decomposition and combination of panels.

At first, I think we have to give up a little bit familiar with the panel unfortunately, but soon I will move again to evaluate the. This new design allows you to combine a number of panels as a whole, so that you can simultaneously open many panels as long as your work area just to open them. We can easily find a panel, click, it will immediately begin a complete show, while other panel automatically hides.

Now you can bank panel and combined with any other panel or library binding each other. In fact, if you open multiple Flash files, by default, they will automatically integrate the library. This allows you to easily identify which library it belongs to an open file.

In the Windows version of Flash MX, you can put anything and the combination of your work area: tools, panels, property inspector, and your files. This creates a complete console.

In order to write more smoothly, Action panel has been completely redesigned. When you write code in expert mode, the floating window will prompt you for following what the play. If you want to know about setRGB () method something more, as long as the text panel, select it and click a button it can get a brief introduction. To open this panel is great, if it was directly combined with the Action panel, will be more useful. Automatic formatting features for your restraint and separation code, so difficult to read and then write the ActionScript that was inexcusable. The panel also highlighted the preference settings, allowing you more freedom of custom code, size, color, layout and font. The panel even included input, output, and print features. However, Action menu, it seems the organization is not perfect. Designers may be more like organizational level classification, the result is a menu add only a simple gotoAndPlay () command.

ActionScript a skilled writers will find the clock hands faster, but novices may be totally confused. For some reason, this simple command, like any other order as the menu is hidden behind the three layers. You can use the menu to edit the “ActionsPanel.xml”, but still have to say, they are not prepared for the novice. ActionScript skilled users will appreciate the revised Action panel, as described above. Novices will be using it to pay more than the efforts of Flash 5.

Recommended links:

XVID to WMV

clean up registry want to learn how TO clean up

MKV To Zune

AVI to DivX

September 24, 2010

[Modeling] Rose2001 new features

Filed under: Uncategorized

Overview of new features
For the entire team to provide visual modeling customers, business analysts, e-commerce designers, and model designers can use the same tools and the same language to communicate.
Powered by Rose Rose can only provide a complex, fully flexible, special, or support for Web solutions.
By building on strengths to accelerate application delivery based on WinDNA, J2EE or embedded technology program, Rose 2001 could have been verified many times the construction of the language to accelerate the implementation of various applications.
A glimpse of new features
1. Language plug-ins
ANSI
Java (Javadoc, EJB, Servlet generated)
Visual Basic
Visual C + +
2. Automatic layout arrangement features
3. Model Integrator
4. Data Modeling Data Modeling
5. Component Testing Component Testing
6. Rational ClearCase Add-in
7. IA64-platform support
Details of the new features and resulting benefits
1. Language plug-ins
a. ANSI C + +
UNIX and Windows platforms to provide the same solution
M plug-way through the menu to display other languages
Complete ANSI C + + language support
Better and more complete supplier database round-trip engineering
The round-trip engineering to improve performance
More simple code generation, through plug-ins to support other languages component-based model
b. Java
UNIX and Windows platforms to provide the same solution
Java add-in enhancements:
EJBs
Support the use of Enterprise Java Beans (EJB) for J2EE application development
Rapid modeling, forward, reverse engineering support for EJB1.1 specification ?
Servlets
Java applications can play in the power of servlets
Can be configured to forward engineering
Support Servlet2.2 specification
Javadoc
Built-in multi-colors of Java editor (multiple files, multi-language support)
Flexible document options (Javadoc or other type)
E-enhanced user experience to support the development of non-modal editor (automatic synchronization option)
Provide support for different versions of JDK, you can choose
c. Visual Basic
Model for more language support added
Enumerate
Class definition Typedefs
Nested class
More custom. H and. Cpp file name support
RTE improved performance and accuracy, use the ANSI C + + parser
d. Visual C + +
More accurate VC + + source code analysis, using the ANSI C + + parser
Model has a better representation of the source code
RTE better integrity
RTE faster performance
RTE required less memory consumption
Fewer VC + + can not track errors in
2. Automatic layout arrangement features
Enhance the function of the main office as follows:
Generated model

Through the new arrangement after the automatic layout

3. Model Integrator
* Improved team development enhanced the combined operation rules, can give better results, with finer granularity
??You can configure what kind of difference will be added to the report
* Can be used to model the change of l pixel filter
* Reduce the number of reported differences
4. Data Modeling Data Modeling
* Stored procedure
Containers stored procedure is mapped to utility class
Stored procedure mapped to the operation
Multiple storage process allows for each container
For forward and reverse engineering
* Field support
Global data types (also can be seen as user-defined type)
In a multi-chart re-use plan
Each domain is a class
Change the properties in one place, you can automatically do all the consequential amendments to the relevant local
Use Rose Framework, always start with standard
* Comparison and synchronization
Visually display the data model and database, or the difference between script files
Have chosen to update the data model or database
Create a script file or update the database directly
Only in the way of a wizard to update the same time
* Plan Chart (schema) migration
The program chart change from one DBMS to another and going
Reverse engineering of a DBMS and directed to another
Transfer data type
Increased length of the rules
Created for the new DBMS copy of the domain package domain package
* Replacement bond migration
The only way of migration outside the key index, instead of the primary key way
Ability to select the column to migrate
Relations work done by the editor
??The definition of candidate key target model
As a potential primary key to assign property
In the data model will be automatically transferred to the primary key candidate key
??New supported database
Sybase Database
DB2 v7
* For more enhancements
Shown in Figure precision and proportion
Can display maps to the physical order of columns
Triggers the increase in UI
In the Object-Relational mapping a number of bug fixes
5. Component Test
This version introduces the “Rational QualityArchitect” to conduct component testing. Component testing can help in the development cycle to reduce risk in advance. The components are independent of each other, or when problems are identified and can be repaired. In the integrated system has such a high predictability is very beneficial.
But unfortunately, the manual component testing will take a long time. In the application development process:
* 50% of development effort spent on creating and maintaining driver and pile module
* Tedious process of strangling the creative genius developers
* Components of credibility has not yet reached
Rational QualityArchitect can quickly and easily test the software components to help you ensure the quality of the application. It is automatically generated from the Rose model, test code, rigorously testing the legality of each component without the need for additional drivers and pile the preparation of test time and cost modules.
Rational QualityArchitect currently supports:
? J2EE EJB
? VB DCOM / COM +
6. Rational ClearCase Add-in
ClearCase plug-in in many places, a significant improvement. Rose can now ClearCase LT and ClearCase4.0 above work:
? Rose menu improvements, support for ClearCase command
* Currently can not perform the command to gray
? Rose can be loaded from the menu ClearCase dialog box
7. IA64-platform support
Rational and Intel through cooperation, have Rational products can be applied to the IA64 platform. When IA64 listing, Rational Rose 2001 will immediately become available to support IA64 systems. The hardware system may be introduced in 2001.

????:

FLV to iPhone

Job 10 kinds of unhealthy attitude towards students

Lightning fast shortcut KEYS used to grasp Thunder 5.9

Beijing Matsushita employee dissatisfaction compensation for loss of containment of the company

Power Nas Campus Network Solution Education

“Nobunaga's Ambition 12 Innovation” 82 Hokkaido Start A Battlefield Report

QT TO WMV

Good Registry Tools

Review Health And Nutrition

Eclipse + JBoss + EJB3 Entity Bean's connection strategy

Pao GS-816FC Fiber Disk Array

Liu Lanjuan for the “Digital Economy and Finance” bottoming

SWF to MOV

Shanda chairman Chen Tianqiao position: can not ignore the profit decline Sina

September 14, 2010

e-cology in the Pan Micro Series 29

Filed under: Uncategorized

Knowledge Map: Let agents, customers and employees to share knowledge

Effective knowledge management must require a strong knowledge map can be generated, or with the knowledge of more and more difficult for users to distinguish between real knowledge of what is rubbish!

Pan Micro knowledge management module for the agents, customers and employees generate a variety of knowledge map, and strengthen the role of the Knowledge Base!

Present form by e-cology has the knowledge map are:

Sales jobs knowledge map;

Technology development status of knowledge maps;

Marketing knowledge map;

Financial management knowledge map;

Project management knowledge map;

Personnel management knowledge map;

Investment industry knowledge map;

Financial industry knowledge map;

Biomedical knowledge map;

IT communications industry knowledge map;

And so on. . . . . .

Generated by e-cology knowledge map to all members of the Pan-Micro provides a strong helper function of daily work, so that new employees into the role as soon as possible!

Recommended links:

Quicktime for iphone 3g

avi PS3

Psp m4v

video FORMAT for ps3

July 30, 2010

Bill Gates fade private enterprises can learn from China

Filed under: Uncategorized

Period of time when the height of Microsoft Chairman Bill Gates suddenly announced on June 15, over the next two years to phase out the current day to day management is committed to charity instead. Gates recalled personal experiences, “dropped out of school, business, development, and success” behind the fact that Microsoft has grown and today's high noon, while the Gates of early retirement is even more brilliant future lay with Microsoft.

A large number of private enterprises in China, as Microsoft looks huge, and indeed every inch a “private enterprise”, Gates's personal charisma, but also reinforced the strong private enterprises of this individual colors. Therefore, Gates and Microsoft, might be able to provide for the restructuring of private enterprises in China can learn from the case.

Some studies show that in the next 10 years, China will launch a large-scale family enterprises peak shift change. In other words, the Chinese private enterprises are in start-up period from the enjoyment of the “two right one” benefits, the need to complete the inter-generational transfer of property rights in transition with a critical moment. In this critical period, why the shift, how the shift in relationship to the future development of private enterprises in China will answer questions.

If you simply copy the so-called modern enterprise management model, it seems that it is not incomprehensible Road will answer, because, according to the model, as long as separation of ownership and implementation, decentralization of the original shareholders appoint professional managers to manage the business, we can all is well. But in fact, the scientific separation of ownership and not a simple “one divides into two,” two of the right architecture is a system process, because the separation of ownership and also has its weaknesses. Statistics show that China's current economic crime management, although the management of private enterprises amount less than the state-owned enterprises in the crime, but crime rates go up to above state-owned enterprises, most of which are implemented separation of ownership and management of private enterprise. Therefore, the Chinese private enterprises to conduct both the separation of ownership and can not, can not be a point over. So the real question is difficult to achieve separation of ownership and unity of the balance.

In the early 20th century, with the complexity of economic activities, promote, support in the financial capital, the U.S. experienced a massive corporate mergers and acquisitions. This case, the original shares are distributed to owners, financial institutions and to promote the hands of the initiators of a business combination is the power of checks and balances in this stock game, the professional managers to stand out. With the development and growth of professional managers is reasonable and internal corporate governance norms, risk control and the establishment of a credit system. Meanwhile, both the original shareholders, new shareholders or among the company into the middle of the “quasi-professional managers,” It is through this balancing force it to find the balance point.

Today, Microsoft's shift change, it is a typical reflection of the outcome of this balance: Gates will be handed over after the departure of current chief technology officer Ray Ozzie and ????????share. At the same time, Microsoft has chosen the following even after the younger generation of their successors. Through such well-arranged, no wonder Bill Gates's decision, the disclosure, and immediately have a professional investment institutions that the Gates departure is good news for Microsoft, which will make a stronger more competitive company.

Gates easily leave confession, in fact, is not the name and fame do not come out, Hermitage Forest, but the system experienced a power game and complete only after the procedural steps. Such procedural steps, the domestic private enterprises, the painful process, but the outcome was certainly happy.

????:

convert avi to wmv free download

Whether iPhone OPhone are NOT just Phone

Anti-tradition! Three-step Fun chat - “Drop (DII)”

Video file formats

Evaluate Office Suites And Tools

E-COLOGY in the Pan Micro Series 67

Control The Availability Of Rules [2]

Fu Chong: The General Trend Of Those Who Know Great Things

Must have the heart by the five interview

16 classic ideas to answer interview questions

avi Converter to mp4

For screen capture program with VC

Convert Avi To Ipod

Site Administration Specialist

July 18, 2010

Learning the basic concept of the nine JSP implicit objects

Filed under: Uncategorized

Learning JSP, need to first understand the concept of JSP. Here are nine implicit objects in JSP.

A learning object JSP's page

JSP page object on behalf of itself, more precisely, it represents the JSP is translated after the Servlet, it can call the methods defined by Servlet class.

Second, learning JSP's config object

config object in Servlet store some initial data structure.

config object to achieve in javax.servlet.ServletConfig interface, it possesses the following four methods:

public String getInitParameter (name) public java.util.Enumeration getInitParameterNames () public ServletContext getServletContext () public Sring getServletName ()

Third, learn JSP in the request object

request object contains all the requested information, such as: the source of the request, headers, cookies, and request relevant parameters and so on.

request object implements the javax.servlet.http.HttpServletRequest interface, provide ways to divide it into four categories:

1. Storage and access to properties methods;

void setAttribute (String name, Object value) Set the value of name attribute value

Enumeration getAttributeNamesInScope (int scope) the scope of the property to obtain all the scope

Object getAttribute (String name) get the value of name attribute

void removeAttribute (String name) remove the name attribute

2. To obtain the request parameters of the method

String getParameter (String name) name of the parameter values obtained

Enumeration getParameterNames () to obtain all the parameter name

String [] getParameterValues (String name) to obtain all the name of the parameter values

Map getParameterMap () made a request parameter Map

3. To get HTTP request method header

String getHeader (String name) to obtain the header name

Enumeration getHeaderNames () to obtain all the header name

Enumeration getHeaders (String name) to obtain all the header name

int getIntHeader (String name) to obtain the header of an integer type name

long getDateHeader (String name) get the date header type name

Cookie [] getCookies () to obtain the cookies with the request

4. Other methods

String getContextPath () to obtain Context path (ie site name)

String getMethod () method to obtain HTTP (GET, POST)

String getProtocol () made use of the protocol (HTTP/1.1, HTTP/1.0)

String getQueryString () to obtain the parameters of the request string, however, HTTP method must be GET

String getRequestedSessionId () to obtain the client's Session ID

String getRequestURI () to obtain the requested URL, but does not include the request parameter string

String getRemoteAddr () to obtain the user's IP address

String getRemoteHost () to obtain the user's host name

int getRemotePort () to obtain the user's host port

String getRemoteUser () to obtain the user's name

void etCharacterEncoding (Stringencoding) set the encoding format used to solve the transfer of Chinese in the form

Fourth, the response object to learn JSP

response mainly to the results JSP processing data back to the client.

Interface javax.servlet.http.HttpServletResponse response object is to achieve. response provided by the method of the object.

1. Set the method header

void addCookie (Cookie cookie) Add cookie

void addDateHeader (String name, long date) Added long type of value to the header name

void addHeader (String name, String value) Add value to the name of type String header

void addIntHeader (String name, int value) int type of value added to the header name

void setDateHeader (String name, long date) to the specified value of type long name header

void setHeader (String name, String value) value of type String to the specified header name

void setIntHeader (String name, int value) int type of value to the specified header name

2. Set the response status code of the method

void sendError (int sc) delivery status codes (status code)

void sendError (int sc, String msg) send a status code and error message

void setStatus (int sc) Set status code

3. For URL rewriting (rewriting) the method of

String encodeRedirectURL (Stringurl) on the use of sendRedirect () method of the URL to be encoded

5, the out object to learn JSP

out the object can output to a web page.

out is mainly used to control the management of the output buffer (buffer) and the output stream (output stream).

void clear () Clear the contents of the output buffer

void clearBuffer () Clear the contents of the output buffer

void close () Close the output stream, remove all the contents of the

int getBufferSize () to obtain the current buffer size (KB)

int getRemaining () get current buffer size after the left (KB)

boolean isAutoFlush () return true that automatically cleared when the buffer is full; false and that it would not automatically eliminate an exception handling

6, to learn JSP's session object

individual user session object that the current session (session) state.

session object to achieve javax.servlet.http.HttpSession interfaces, HttpSession interface, the method provided

long getCreationTime () to obtain session produced the time in milliseconds

String getId () get the ID session

long getLastAccessedTime () to obtain the user last sent a request through the time of this session

long getMaxInactiveInterval () to obtain the maximum session inactive time, if more than this time, session will fail

void invalidate () cancellation of session object, and store the contents of the object completely abandoned

boolean isNew () determine whether the session as a “new”

void setMaxInactiveInterval (intinterval) setting the maximum session inactive time, if more than this time, session will fail

7, to learn JSP in the application object

application objects most commonly used in information access environments.

Because of environmental information is usually stored in the ServletContext, so often used to access the ServletContext object in application information.

application object implements the javax.servlet.ServletContext interface to, ServletContext interface, the method provided by the container

int getMajorVersion () to obtain Container major version of the Servlet API

int getMinorVersion () get the Servlet API minor version of Container

String getServerInfo () to obtain the name and version of the Container

String getMimeType (String file) get the MIME type of the specified file

ServletContext getContext (String uripath) to obtain the designated Local URL of the Application context

String getRealPath (String path) to obtain the absolute path to a local path

void log (String message) will write the log file information

void log (String message, Throwable throwable) will be generated by the exception stack trace information written to log file

8, to learn JSP in the pageContext object

pageContext object can access other hidden objects.

1.pageContext object access implicit object properties other methods, then need to specify the range of parameters.

Object getAttribute (String name, int scope)

Enumeration getAttributeNamesInScope (int scope)

void removeAttribute (String name, int scope)

void setAttribute (String name, Object value, int scope)

Range of parameters there are four, representing the four areas: PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, APPLICATION_SCOPE

2.PageContext object methods to obtain other implicit objects

Exception getException () return the current page of the exception, but this page to the error page,

JspWriter getOut () return the current page output stream, for example: out

Object getPage () return the current page Servlet entity (instance), for example: page

ServletRequest getRequest () Return the request of the current page, for example: request

ServletResponse getResponse () return response to the current page, such as: response

ServletConfig getServletConfig () return the current page of the ServletConfig object, for example: config

ServletContext getServletContext () return the current execution environment of this page (context), such as: application

HttpSession getSession () return and the current session associated web page (session), for example: session

3.PageContext object provides methods to obtain property

Object getAttribute (String name, int scope) return name attribute, the range of the properties of the object scope, return type is Object

Enumeration getAttributeNamesInScope (int scope) Return all the properties range scope attribute name, return type is Enumeration

int getAttributesScope (String name) Return the property name for the name of the attribute range

void removeAttribute (String name) Remove the property name for the name of the attribute object

void removeAttribute (String name, int scope) Remove the property name for the name, range of properties of the object scope

void setAttribute (String name, Object value, int scope) attribute specifies the name of the object name, value is value, the range of scope

Object findAttribute (String name) Find the range of properties in the name of all the properties of the object name

9, to learn JSP's exception object

To use the exception object must be set in the page directive. < % @ Page isErrorPage = "true"%> to use.

exception provided in three ways:

getMessage ()

getLocalizedMessage (),

printStackTrace (new java.io.PrintWriter (out))

Recommended links:

ps3 format

LasVegas PS2 Converter

Youtube Video to ASX Live

AMC Greeting Card Construction Set

.m4v File

Bluesea AVI SWF to 3GP

News about Science Education

Lists Tools And Editors

convert flv to mov

Nine ways to recruit good staff

Explosion PDA Converter

Merry MP3 M4A to ID3 Cloner

Bluesea MP3 AAC Midi TO MPC Maker

download flv to mp3 Converter

Youtube Movie to VHS Store

July 8, 2010

Happiness DVD-Audio WMA CD to M4A Cloner

Filed under: Uncategorized

Happiness DVD-Audio WMA CD to M4A Cloner extracts audio CD tracks to audio formats MP3, WAV, and OGG in seconds. Happiness DVD-Audio WMA CD to M4A Cloner is one of the quickest and easiest to use tools of its kind. Besides his ease of use it has some additional advanced features like using Free CDDB(CD database). Happiness DVD-Audio WMA CD to M4A Cloner - Besides his ease of use it has some additional advanced features like using Free CDDB(CD database). Convert CD digitally and directly into music files , no temporary wav file used, saving your hard disk and make it faster! Full support FreeDB and ID3, you can get the music information from internet easily and edit the music information yourself professionally. Support Multiple CD-ROMs. Convert audio CD to MP3, CD, CDA, CD-R, DVD-Audio, AAC, AC3, ID3, M3U, M4A, M4P, MP3 ID3 Tag, OGG, RA, WAV, WMA, MP2, APE, VQF, MPC, AMR, Midi, WAVE, and RM files.

Recommand Link:

Bliss MP3 M3U WAVE To Sound Recorder

Youtube Video Save + Player Mixer

avi To m4v

.mkv

Helpdesk And Remote PC Guide

Infomation Clocks And Alarms

Easy Flash Tools

Youtube Movie to AVI Help

Convert avi to wav

Joboshare DVD To DivX Converter

WorldCup DVD Editor

LasVegas VOB to AVI

Mpg to wmv converter

July 3, 2010

A-Z Video Converter Profession

Filed under: Uncategorized

A-Z Video Converter Profession Convert the formats of your video as you like. It is a professional and comprehensive video conversion software that makes it easy to convert video files from one format to another. It can convert almost all video format. e.g. avi, divx, xvid, wmv, asf, mov, quicktime, rm, rmvb, vcd, dvd to mpeg, vcd, dvd, rm, rmvb, wmv, asf, avi, Divx, xvid, mov, quicktime, iPod, 3gp, Flash swf, Flash flv, mp3, wma.

Key features :
1. Extreme fast Conversion speed;
2. Very Easy to Use.
3. Support MOV, MPEG, VCD, DVD, WMV, ASF,RM,RMVB,AVI,DIVX;
4. Support converting AVI, Divx, ASF, WMV, WMA, MPEG, MOV, QT, RM, RMVB, file to AVI with all encode format such as DIVX, XVID, Mircosoft MPEG-4 etc.
5. Support converting AVI, Divx, ASF, WMV, WMA, MPEG, MOV, QT, RM, RMVB, file to MPEG with all encode format such as VCD PAL / NTSC, SVCD PAL / NTSC, DVD PAL / NTSC, MPEG-1 standard,MPEG-2 standard etc.?
6. Support converting AVI, Divx, ASF, WMV, WMA, MPEG, MOV, QT, RM, RMVB, file to WMV with all encode format such as Windows media video for LAN / Cable modems /Broaband etc.
7. Support converting AVI, Divx, ASF, WMV, WMA, MPEG, MOV, QT, RM, RMVB, file to MOV with all encode format such as H261 / H262 / H263 / MPEG-4 etc.
8. Support converting AVI, Divx, ASF, WMV, WMA, MPEG, MOV, QT, file to RM file with all encode format such as 150k LAN / 256k DSL or Cable / 16K substream for 28k Dial-up.
9. Convert video from AVI, Divx, Xvid, ASF, WMV, MPEG, MOV, QT, RM, RMVB, QuickTime, MPG, VCD, DVD file to iPod, PSP, MP4.
10. Convert video from AVI, Divx, Xvid, ASF, WMV, MPEG, MOV, QT, RM, RMVB, QuickTime, MPG, VCD, DVD file to Flash FLV, Flash SWF.
11. Convert video from AVI, Divx, Xvid, ASF, WMV, MPEG, MOV, QT, RM, RMVB, QuickTime, MPG, VCD, DVD file to MP3, WMA, WAV Audio.
12. Support batch files conversion.
13.Specifies start and end position while convert
14.No Technical Knowledge Required.

Recommand Link:

Evaluate Dial Up And Connection Tools

How-to YouTube to iPhone

Youtube To Cell Phone Program

Youtube MOVIE to VHS Top Rated

AaleSoft DVD Copy

PREMIER Access Control

Easy Hobby

HD to PSP N1000 software

Youtube FLV To Xbox 360 Deluxe

Youtube Movie to Psion Plus

Windows media center

Merry Video To IPod Converter

Apple DVD M4V BURNER

X-Cloner DVD to M4V

Sound WAV Pack

How do I convert HD to Cowon S9

HD to Cowon O2PMP conversion

June 29, 2010

RER MKV Converter

Filed under: Uncategorized

RER MKV Converter is outstanding MKV conversion software for you to convert MKV to all popular video/audio formats, such as MP4, MOV, 3GP, 3G2, MPEG, MPG, VOB, AVI, WMV, FLV, H.264, MJPEG, TS, with unimaginable fast speed and high quality. with the simplest user-friendly interface, you can do the job with as easy as 1-2-3.

Key Features

1. Convert MKV to all popular video/audio formats.
MP4, MOV, 3GP, 3G2, MPEG, MPG, VOB, AVI, WMV, FLV, H.264, MJPEG, TS, MP3

2. Convert MKV to your portable device.
Preset many parameters for your Sony PSP, Apple iPod nano/video/classic/touch/TV Out, Apple TV, iPhone, Zune, Archos AV 500/700, Archos Gmini402, Creative Zen Vision, iriver PMP-100. You can easily convert MKV to your portable media player and enjoy the MKV video on the go.

3. Convert MKV to video for website.
MKV Converter can help you convert MKV to WMV and FLV file which was much smaller for you to put it on your website and streamed across the internet.

4. Batch conversion with a task list.
Simply click the “+”button, you can add all source files needed to rip and click “Convert”, RER MKV Converter will automatically convert them to the formats you want one by one.

5. Custom output parameters.
Have option to select video size, bit rate, NTSC/PAL, frame rate, audio codec, sample rate etc

6. Easy-to-use user interface.
RER MKV Converter is designed in sense of easy use. The program comes with a step by step wizard-like interface and all the functions can be used by simple mouse clicks.

7. Safe to install, viruses- free
We respect your privacy. So there are no spyware and adware in RER MKV Converter.

Recommand Link:

AllRipper DVD Editor

Hope Flash Google Video QT Conversion

Christmasgift DVD to iPod

Business Catalogs

WondSoft Video to iPhone Converter

X-Cloner MPEG to AVI

Vacations DivX Converter

YASA VIDEO Converter

Graphic reviews

Explosion DVD TO FLV

Bluesea DVD-Audio MP3 AAC To OGG Backup

Lists Graphic

Matroska video

How do I convert DVD to PSP N1000

Vacations MPG to DVD

WorldCup DVD to Xbox






















Get free blog up and running in minutes with Blogsome
Theme designed by Hadley Wickham