There is no nonsense: starting from 0 to develop its B / S architecture with Java
Serious warning: I don't want to look at two points.
Open white:
I have seen an electronic version of the book. Too many details didn't remember. I only remember the name of the book: no nonsense XML. This name is called me, why? Just because the current computer book is too nonsense.
Write down this title today, and I want to write a non-non-non-non-non-non-non-tetaneous Dongdong. The purpose is just to develop B / S architecture for Java, but I haven't seen the gay of the door to see the door to see the door, so that I can get started Relying on your creation.
Why develop B / S architecture?
Why choose Java?
In order to live up to my title, I don't say that these high-profile issues, but tell you: from all the tools we use now include integrated development environments, servers, compilers, etc. are free. It's okay to Down from the website. What, do you ask me what Down? Don't ask me and ask the dog. Asked the dog, I still don't know, I will give me email, I will give you a good.
First: Tomcat Start
Serious warning: People who know Tomcat should not look down
Opening white: relatively boring, quite tasteless
here we go
what do you need?
JDK and Tomcat
My version: J2SDK1.4.1 and Tomcat-4.1.18
What, don't have these two stuff? Then please don't look down, hurry to go or go to email.
Installation and configuration
Put your JDK, how to put it in your D disk? D: /j2sdk1.4.1
Let's decompress Tomcat, and put it on D. D: / Tomcat-4.1.18
Set your system environment variable, in order to make my fool, please forgive my Luo Wei.
My computer? / Span> Right button - Advanced - Environment Variable - System Variables -
New construction
Variable name: java_home
Variable: d: /j2sdk1.4.1
edit
Variable name: Path
Variable: d: /j2sdk1.4.1/bin /; (at the forefront)
OK, I'm ok.
start up
Locate Startup.bat under your d: /tomcat-4.1.18/bin/, use the mouse to point her two times, let her run it.
Enter: http:// localhost: 8080 /
see:
Congratulations, your configuration work is done.