| |||||||||||
| |||||||||||
New servlet from old
Check list - how to modify a Servlet and install it under a new name on your Tomcat server. This scheme assumes that you're working at a machine that has Java installed, but doesn't have its own copy of Tomcat and all the extras (why would it - it's your development machine and not the server!)
1. Get hold of the source code you need to modify 2. Get servlet-api.jar 3. export CLASSPATH=.:servlet-api.jar 4. make source code changes 5. Compile the modified source 6. Upload the class file to the webapps/xxxx/WEB-INF/classes directory 7. Add a servlet mapping to the web.xml file in WEB-INF 8. Stop and restart the webapp via the Tomcat manager (written 2005-10-28 10:44:14) Associated topics are indexed under J906 - Java - Servlets in More DetailA507 - Web Application Deployment - Java - Servlets and JSPs A653 - Web Application Deployment - Tomcat - Configuring Web Applications
Some other Articles
Double Dollars in PHPDifferent ways of selling PHP upgrade - traps to watch New look to website New servlet from old Watch what you wear Class, static and unbound variables May I be politically incorrect? Where to stay in and near Melksham Vintage Bus Day 1638 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||