reset password
Author Message
serpent
Posts: 43
Posted 14:45 Feb 01, 2012 |

I'm having problems getting the server to load the latest version of my servlet. How do I fix this? Where does the web.xml file go if that fixes it? It spawns in my <project>/webcontent/web-inf/web.xml folder where do I put it in on the server?

Last edited by serpent at 14:46 Feb 01, 2012.
stridhiryu030363
Posts: 37
Posted 14:57 Feb 01, 2012 |

You leave it in there. Just add page breaks or spaces at the end of the file to modify it without really modiftying it to update the server.

serpent
Posts: 43
Posted 18:40 Feb 01, 2012 |

How do you get a updated version to work on the cs3 server when you upload a new .class (compiled servlet code) to replace the old one? Where do u put the web.xml on the cs3 server that was just where it spawns on my local host.

Last edited by serpent at 18:45 Feb 01, 2012.
stridhiryu030363
Posts: 37
Posted 18:53 Feb 01, 2012 |

Reclarifying. You leave "web.xml" where it is. To update the server, you have to modify "web.xml" without modifying it's contents by adding page breaks or spaces at the end of it and saving. Edit by double clicking on it if you're using winscp.

edit: You don't mess around with it at all. The one you should only be focusing on should already be in cs320stuXX/WEB-INF in your cs3 folder. That's the one you should edit to update.

Last edited by stridhiryu030363 at 19:05 Feb 01, 2012.