I should post a post about Java. Otherwise, people who are not familiar with me will think that I only use. net. This is not to say that I will be more, but to say, "I accept other things except what I like ."
Let's look at the old rules first. The difference is that this time is a bit ugly:
I have been focusing on the technical direction of MS for a long time. This internship also reported ". Net ".ProgramEmployee intern ", but at the company, the first project that the manager asked us to do turned out to be Java Web! Unacceptable. But think about it, the company is "maximizing the benefits", it will take care of what you are a programmer, anyway, you complete the task I gave you, is a good programmer (black cat? White Cat ?).
This project (depressing project, Java, which I was not familiar with) involves a large number of report generation. At first we planned to use the extjs plug-in and we passed the report submitted yesterday. But today, the manager told us that the user wanted the client to see a static HTML table, so that another word document could be saved for editing (customer ......). The previous version of this system uses the servlet loop out. to facilitate this project and future development, I wrote a Java Web-based gridview in the afternoon. The original idea was to imitate ASP. net in the gridview write, but the time is not much, it is written a simple first use.
This simple version uses technologies such as generics and reflection to provide support for some CSS styles.Source codeYou can customize the output content. The data source is a list object of a database table entity, which is easy to integrate with frameworks such as hibernate.
Good neighbors will reply to a post if this item is useful. I will do it well, otherwise I will deal with the project. You are also welcome to make modifications and improvements. Source code (eclipse 3.4 project, rar compressed file ):
Click here to download
Sun Changyu personal technical blog Lone e personal space The first release. For more information, see.