My thinking is a bit confusing now. First of all, there is a problem with that title. I think
Develop a website using JSP? Or develop a JSP website?
I have always wanted to develop JSP websites.
When Google map is used, JavaScript is used, so we need to study JavaScript.
In fact, these things have been learned for many years and won't be used, but they all know,
Environment: Windows 7 + eclipse Java ee ide for Web developers + Tomcat 7.02
Tomcins: atatpluginv321.zip 1. Configure the Tomcat plug-in
Create a myplugins folder to store the plug-ins. myplugins are located in the D:/program files/J2EE directory. Eclipse installation path: D:/program files/J2EE/
After reading the eclipse published by dawave, lomboz and tomcat debug the JSP file
You can do it in order, but it's a great success. Here is a little bit of experience.In eclipse, when debugging JSP, set the output path of the JSP fileSet in Tomcat server. xml.Example:
Wo
Eclipse sets the JSP template, default encoding
Window --> preferences --> Web --> JSP file --> editor --> template --> select create JSP file (HTML) in the left-side window and click Edit on the right side:
Charset = GBK"Pageencoding = "GBK"%>Charset = GBK">$ {Cursor}
The encoding method is set in bold. GBK support
Custom Structuredtexteditor automatic Prompts
The previous introduction focuses on two points: the Structuredtexteditor framework and the WTP data model, in this section you can customize one of our most common WTP structuredtexteditor features, which is automatic prompting.
"WTP Structuredtexteditor prompt function Implementation Analysis"
For a brief knowledge of the Eclipse Text Editor framework, JFace Text framework, and WTP Structuredtextedito
Introduction: Eclipse As a Java application IDE, very convenient to use, but for JSP development support is not enough, here to recommend an eclipse of the plugins to help JSP development. This name is called Lomboz, not only support JSP syntax highlighting, but also the cod
In my articleUse eclipse to display the Crystal Report on JSP (3) use SQL statements to filter dataIn. net, you can easily use SQL statements to filter report data. However, this function is not set in cr4e, but can be completed by coding. "In fact, it can also be done in eclipse, but I did not know it.
After tests over the past few days, I found that the SQL com
Out.println (Df.format (new Date ())); New Date () to get the current system time
Note that if there is a red fork indicating the need to introduce the corresponding package file, when the mouse cursor over the code will automatically pop up the prompt box, click InPort to import the corresponding package:The complete doget code is as follows:[Java]View Plaincopy
Public void Doget (HttpServletRequest request, httpservletresponse response)
throws Servletexception, IOException
How to set the default JSP file header encoding in eclipseWhen creating a new JSP page in Eclipse, the general default encoding is not utf-8, and our general project is unified using UTF-8 encoding, if you want to change a lot of trouble?So we can only be so troublesome?It's common to think that if you change the default settings.I have set this up before:Windows
JS Development environment:
Java:j2sdk-1_4_2_06-windows-i586-p.exe
Tomcat:jakarta-tomcat-5.0.28.exe
Eclipse:eclipse-sdk-3.1-win32.zip
Myeclipse:enterpriseworkbenchinstaller_4.0ga_e3.1.exe
Lomboz:lomboz-3.1rc2.zip
1. First install Java J2SDK and tomcat to the specified location and test success
2. Install eclipse to your specified directory (recommended to create a Java directory in C disk to install Java and Tomcat and
Download Eclipse EE Note is the Eclipse EE versionDownload apache-tomcat-8.0.15Download only two of the aboveFrom Runtime Environment, Server-Preferences, window, and then ADD-Select your Tomcat version, Next, Browse, choose your Tomcat path, installed JREs, select your JDK--Finish.You can then find the Server servers-so from Show View, window, and you can see the tomcat you just set upIf other programs occ
Recently in the JSP development learning, in the configuration still encountered a lot of problems.After the database is connected, the first JSP test page is written, and the result is an error message when running Toamcat in Eclipse: Server Tomcat v7.0 server at localhost failed to start.Run Java//normal in CMDRun Javac in cmd//NormalStartup under the bin file
After eclipse opens JSP, there should be a "design" view in the following part of the file. You can click to see it.If no, right-click the JSP file and select "open with" select "webpage editor". Then, the "design" and "preview" design views should be shown below, if it is convenient, we recommend that you set this method to the default value.
After
One months before the Spring Festival, you intend to use eclipse to develop a JSP web site.
What type has not yet been thought out, try to use new technology as much as possible.
I had this plan before, but I was busy doing other work, and I put it down.
In these two days, there is a general understanding of the process of the eclipse development
I downloaded the jsp (preferred for SUN Enterprise Applications) smartupload class, and then compiled the download program, as shown below:MySmartUpload. downloadFile ("d: \ 111.txt ";%>After the script is run, the content in my txt file is directly displayed on the page. The zip file is the same, but garbled. What can I do without displaying it, just like downloading?
js| process
When you do not know, feel that everything is normal. Until one day I learned (but I forgot where I knew it, or who told me?) , Eclipse can debug the JSP, and at that moment it was like a prison prisoner who was freed, so he went online, looking for useful information from every page.
Briefly speaking, our development environment is jsp+servlet+tomcat
We usually use Eclipse to develop JSP page Smart hints effect is not ideal, today took two hours to discover eclipse can also be like Visual Studio 2008, the full intelligent hint Html/js/css code, using the eclipse comes with the plug-in, There is no need to install additional plugins, the following steps1. Open
We usually use Eclipse to develop JSP page Smart hints effect is not ideal, today took two hours to discover eclipse can also be like Visual Studio 2008, the full intelligent hint Html/js/css code, using the eclipse comes with the plug-in, There is no need to install additional plugins, the following steps1. Open
We usually use Eclipse to develop JSP page Smart hints effect is not ideal, today took two hours to discover eclipse can also be like Visual Studio 2008, the full intelligent hint Html/js/css code, using the eclipse comes with the plug-in, There is no need to install additional plugins, the following steps1. Open
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.