Products: WebLogic Server
Technology:
Keywords: Java, jsp, Servlet, Tomcat, reports, Web development Summary: Related issues related to Web application development, such as front-end representation, back-end application server, Servlet, jsp, etc.
Table of contents:
1 Java Basics 2
1.1 axman tests your Java basics 2
1.2 How to obtain the client’s MAC address? 6
1.3 Axman’s in-depth study of equal 7
1.4 Why should you always use PreparedStatement instead of Statement? 12
1.5 An example of self-interested thread scheduling? 14
1.6 Problems with GBK and GB2312 character sets 15
1.7 How to create ear and war files? 15
1.8 Garbled code problem 16
2Servlet&JSP 19
2.1 After loading and starting a servlet, are one or multiple instances created for a servlet? 19
2.2 A class in WebLogic has been modified. Do I need to restart WebLogic? 19
2.3 Tomcat’s BUG 20 about UTF-8JSP files
2.4 Use the FileUpload component to upload files? twenty two
2.5 Problems with storing database connection in session 24
2.6 How to prevent JSP page refresh25
2.7 Some problems with JSP in I/O 25
2.8 Why is the code in finally not executed when the file is downloaded? 26
2.9 How does the web server read the configuration file parameters into the memory when the web application starts27
2.10 How to set and access environment variables? 28
2.11 How to write Chinese URL 29
3 Front-end presentation layer 31
3.1 Use JFreeReport to generate PDF reports 31
3.2 Introduction to POI 38
3.3 Use POI to create Excel format data 41
4 Application server special issues 43
4.1 Migrating Web applications in Tomcat to Weblogic 8.1 43
4.2 How to implement scheduled execution program in weblogic7.0? 43
4.3 Develop the habit of configuring reference resources in web.xml 44
4.4 Regarding the reference issue of JSP under web-inf 45
4.5 A BUG 45 about JSP compilation in WebLogic7
4.6 How to make a file with an extension prompt to download instead of opening when downloading 46
4.7 How to retain the .java file generated by system compilation of jsp files when debugging under weblogic6.1? 46
5 Other information47
Expand