reset password
Author Message
aeshabana
Posts: 6
Posted 17:40 Jan 16, 2012 |

Files Uploaded as Instructed but still receiving an error

 

http://cs3.calstatela.edu:8080/cs320stu21/HelloServlet

Last edited by cysun at 07:30 Jan 18, 2012.
cysun
Posts: 2935
Posted 19:31 Jan 16, 2012 |

You deleted /classes then re-created it, which confused Tomcat. It should be working now.

swu4
Posts: 10
Posted 19:04 Jan 17, 2012 |

I'm having a similiar problem.  What works is: http://cs3.calstatela.edu:8080/cs320stu25/HelloJSTL.jsp, but what doesn't is but http://cs3.calstatela.edu:8080/cs320stu25/HelloServlet.

cysun
Posts: 2935
Posted 20:44 Jan 17, 2012 |
swu4 wrote:

I'm having a similiar problem.  What works is: http://cs3.calstatela.edu:8080/cs320stu25/HelloJSTL.jsp, but what doesn't is but http://cs3.calstatela.edu:8080/cs320stu25/HelloServlet.

Your class is in the wrong folder. Remember the subdirectory should match the package of your class.

Last edited by cysun at 20:44 Jan 17, 2012.
rcram
Posts: 3
Posted 23:02 Jan 17, 2012 |

I seem to be having the same problem. I cannot view either HelloServlet or HelloJSTL.jsp after uploading them.

cysun
Posts: 2935
Posted 07:37 Jan 18, 2012 |
rcram wrote:

I seem to be having the same problem. I cannot view either HelloServlet or HelloJSTL.jsp after uploading them.

I don't know what happened to your application, but restarting Tomcat seems to fix the problem.