reset password
Author Message
303496263
Posts: 68
Posted 21:22 Apr 25, 2015 |

I am apparently having some issues with the cs3 server. I have been trying to get my servlet to execute on the cs3 server for 5 hours already but still no success. I have uploaded my Register.class and User.class files to a folder called "homework1" under the "classes" folder and re-uploaded the web.xml file. It seems like re-uploading the web.xml file does not force the server to restart.

It all works perfectly on my local machine but won't work on the server.

Please let me know what you think I could possibly do to resolve this issue.

Thanks

wevanw
Posts: 25
Posted 21:26 Apr 25, 2015 |
Try deleting web.xml and then reupload it.
bseemscs
Posts: 26
Posted 21:29 Apr 25, 2015 |

I had the same trouble until I moved the web.xml file into the WEB-INF directory like it is in the eclipse directory structure. It was originally located one directory up.

303496263
Posts: 68
Posted 21:29 Apr 25, 2015 |
wevanw wrote:
Try deleting web.xml and then reupload it.

I've actually tried that, but that won't work either.

303496263
Posts: 68
Posted 21:37 Apr 25, 2015 |
bseemscs wrote:

I had the same trouble until I moved the web.xml file into the WEB-INF directory like it is in the eclipse directory structure. It was originally located one directory up.

I indeed do have my web.xml in the WEB-INF folder.

wevanw
Posts: 25
Posted 21:37 Apr 25, 2015 |

Which version of JDK are u using?

303496263
Posts: 68
Posted 21:40 Apr 25, 2015 |
wevanw wrote:

Which version of JDK are u using?

I got Version 7, update 75

dkrystall
Posts: 1
Posted 23:38 Apr 25, 2015 |

Does your folder structure match the package name? Also make sure there aren't any other WEB-INF folders or web.xml files anywhere 

303496263
Posts: 68
Posted 00:11 Apr 26, 2015 |
dkrystall wrote:

Does your folder structure match the package name? Also make sure there aren't any other WEB-INF folders or web.xml files anywhere 

It does match. And no, there are no such files anywhere else.

I actually figured out what the problem was. I had two files in different folder in the "classes" folder, so I'm assuming that caused some conflict.

Anyway, thanks for the replies.