reset password
Author Message
Alyxjames
Posts: 2
Posted 22:30 Jan 24, 2014 |

Hello I finished my HW1 and all but when I deploy the code on cs3 I keep getting 

HTTP Status 404 - /cs320stu45/CourseEntry


type Status report

message /cs320stu45/CourseEntry

description The requested resource is not available.


Apache Tomcat/7.0.42

 

now heres where i put my code 

and 

where courses contains my java class build

and servlet contains my servlet classes builds

 

could it be something wrong with my xml?

just in case it looks like

kaancalstatela
Posts: 52
Posted 22:35 Jan 24, 2014 |

I have the same problem. Hopefully we can get an answer tonight.

redge
Posts: 31
Posted 22:44 Jan 24, 2014 |

Judging by the first screenshot, you didn't update your web.xml after pushing new class files to CS3. Unfortunately that's a necessary step to get Tomcat to reload your compiled code. Try re-upload, touch, or otherwise update the "last modified" timestamp on your web.xml first.

Alyxjames
Posts: 2
Posted 22:47 Jan 24, 2014 |

Oh using the touch command worked. Thanks for your help!

kaancalstatela
Posts: 52
Posted 22:54 Jan 24, 2014 |

Same thing worked for me aswell. Thank you.

nickbionics
Posts: 2
Posted 23:44 Jan 31, 2014 |

I have tried re uploading my code and my xml files and i still get this page

redge
Posts: 31
Posted 23:46 Jan 31, 2014 |
nickbionics wrote:

I have tried re uploading my code and my xml files and i still get this page

Have you left any code from HW1 running on CS3? If the URL mappings overlap, you'll get a 404.

sxiao11
Posts: 13
Posted 15:29 Feb 05, 2014 |

I still have this problem after i trying upload my modified code, any one have any ideas?