kensenjohn / java-mvc-framework Goto Github PK
View Code? Open in Web Editor NEWA MVC framework using Java I have used in a number of projects.
A MVC framework using Java I have used in a number of projects.
This is a simple MVC framework which can be used to build web application in a quick manner. This has been tested with tomcat 5.5 and tomcat 6 only. Changes to web.xml (placed in WEB-INF) 1) Add the StartupServlet.java as servlet. 2) Add a Filter which will only intercepts form requests with the actions which ends with ".go" Make change in web.xml to allow or add other extensions. control.xml This xml holds information for every action. It will specify every InitProcessor, Service, Dispatcher. Based on the result status, it will also provide information to the jsps where the response to be redirected to. StartupServlet.java This is loaded on startup. It converts all nodes in control.xml into a hashmap and stores it as a hashmap in the ServletContext for quick access. If a request to a jsp is made, the Filter will not intercept it. If the action is changed to ".go" the Filter will redirect it to the ControlServlet. ControlServlet.java This will use the action name in the request to identify a node in the control.xml from the SErvletContext. It uses this information to invoke the init processor, service, and dispatcher. See comments in the java files to understand the functioning better. Call to jsps direclty are not processed by the Controller.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.