The Servlet and JSP technology has bee around for a number of years now. The development process has became more complex which is a constant challenge for developers. That is why Struts comes out, it can simplify the process even if the development requirements grow continually more complex.
In MyEclipse, you can set breakpoint to any segment of code, include the third party jar libraries. But you have to get the source code that match the binary jar files. I recommend to download the library's source code first and then build it and copy the generated jar to your WEB-INF/lib. With the Maven build tool, its very .
Maven is a build tool developed by Apache Software Foundation. I think the most wonderful feature of Maven is that it can resolve dependencies automatically. Unlike Ant, you have to find all the dependencies all by yourself and it always very painful.
Download Maven here:
Session is an identifier that represent the login status of a visitor. Session usually implemented by cookie, for example, in PHP, a special cookie named as "PHPSESSION_XXXX" was sent to browser and back to server every time user visit a page, thus the server can track the user between different pages.
jStyleParser is a Java library that can parse the css rule of the web page and assign to respond DOM element. With this tool , we can extract part of a HTML page and maintain it's looks and style.
In this post , I will illustrate how to do this.
Ant is a build tool for Java project. In this post I will introduce a very simple ant build file.
For a classic Java project, there are java source files and jar libraries. Usually the java source file reside in src directory, libraries reside in lib directory.
In this example, the code list all the files in a directory and zoom the images into fixed width.
You need these jars: