Learning JSP first day

xiaoxiao2021-03-06  39

Several JSP books have been a long time. I also want to learn for a long time .. I have passed the 911 incident to the Iraq war, and the cattle group is coming back to the junction .....

I learned to think about it. I always think about what I haven't learned in two years. I will only play online. Of course, I don't do it, huh, huh, so, I am determined to learn JSP, the reason is simple, just because I want to learn .NET And IIS is broken, the drip drive on the machine is also broken, and the system is too large, and JDK Tomcata will learn JSP.

Last night (or the beginning of the morning yesterday), JDK1.4.2 and

Tomcat5.5, I don't want to start learning before, JDK is 1.2, Tomcat is also 3.2 (4.0), did not expect ... 嘿 ... After installing, press online drop articles to configure the JDK environment, HelloWorld, no , Reconfigure, then helloworld, still don't work, and find an article, finally

One, reconfiguration, then helloworld, appeared ... Finally appeared in HelloWorld! Because there is such experience when you tried it, so the psychology is prepared, huh, huh ... it is Tomcat, Tomcat5.5, even special to find drops The latest dropped (a habit of taking a habit, no matter what, the latest drop below, the installation is over, found that there is no startup.bat in BIN, only two .exe files .. It seems a lot of ... According to the above article, run, no, then configure and then run, it will not, change it, change it ... it is not showing that cat, don't have IIS drops .. I will be negated immediately .. Haha .. There may be such a low-level error! I really don't know what to do .. Sleep ... (2004.12.30 today installed the JSP environment in the unit machine, or equipped with Tomcata, because the last time failed, so a Tomcat5.5 After installation, I still can't run, go to the download page, I know that the 5.5 version can only be used in J2se5.0 or more ... is JDK1.5, I am 1.4 .. so ..... seem From 5.4, you must use JDK1.5 in JDK1.5 ... Hehe ... compare it ... I still have a tomcat5.0 ... After all, the next tomcat5.0 is more JDK1.5 to be fast. Drops ...

)

Today .. Didn't fold a 4.10 ... Installation ... The path is different. So did not change ... Run Tomcata, http: // localhost: 8080, finally ... so ..

Copy Code ... Compiled the first servlet, but helloWorld, OK ... I have changed it slightly ... no ...

I don't know anything about JSP, so the error is inevitable ... I am still studying ..

But I have encountered the problem. I set up the PATH variables, I have e: / jdk14 / bin, but I should knock Javac is always not the system internal command, and Java is good (help) .2. I put Tomcat I have just built the helloWorld, but still display, refresh is useless, just in the Tomcat's Manager, it is fine. I don't know how much this is a cache DD ... 3. I don't know what to use The tool is good, JBuilder, it's time, but I feel big, I haven't used it, and the interface is not familiar with it. It's better to say .. and say not to give the Emperor's beginners to use ... I wrote ASP habits With editplus, although it is also bright to write Java, it is difficult to compile .. That master tells me .. Let me improve a little bit of JDK Tomcat environment configuration: JSP, J2SDK, Tomcat, Connect SQL ServTomcat Configure Servlet Experience Talk - novice must see (recommended)

Finally changed the path, and the direct Javac can be directly modified under CMD to:

Java_Home:

E: / JDK14 (your J2SDK directory)

PATH:

% Java_home% / bin;

Classpath:

% Java_home% / lib and find a few related articles

1.

What is Java's Path and ClassPath? 2.

How to add all the .jar in a directory to ClassPath? 3.

What is the default value of ClassSpath?

4.

How to find the class that runs the program to run?

5.

How is Path and ClassPath under Linux?

6.

How to modify PATH and CLASSPATH?

转载请注明原文地址:https://www.9cbs.com/read-78066.html

New Post(0)