Author | Message |
---|---|
srohani3
Posts: 7
|
Posted 13:25 Apr 07, 2020 |
How can we deploy a new project on CS3 without removing the previous projects/labs which already have web.xml under the WEB-INF folder? |
cysun
Posts: 2935
|
Posted 13:42 Apr 07, 2020 |
You can overwrite the previous web.xml. |
srohani3
Posts: 7
|
Posted 17:58 Apr 07, 2020 |
Thanks sir. But somehow, my projects aren't stable when running on the server. I also get an error in my Homework2 which whos the error is in Lab17 code. they are kind of mixing up. when I overwrite the web.xml and run homework2, it works fine.But when I run my Lab17 code and go back to Homework2 to re-run, homework2 throws an error. I have attached a screenshot of my classes in CS3 and a screenshot of the error I am getting.
|
cysun
Posts: 2935
|
Posted 18:00 Apr 07, 2020 |
My guess is that you used the same application variable name (e.g. "entries") in both HW2 and Lab17. Last edited by cysun at
18:01 Apr 07, 2020.
|
srohani3
Posts: 7
|
Posted 18:02 Apr 07, 2020 |
Oooooooopps yes!!!!!!!! Thanks alot. I will rename my variable in homework2. Cheers |