Javatpoint Logo

Class file opening in webinf directory

By: vickey*** On: Sun Apr 16 17:10:54 IST 2017     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
I have three classes under one package when i run classes by right clicking it's working fine with the below url
http://localhost:8082/Servlet/SimpleServletpath
after that i have created new class file like same i created previous, but when i try to run it's showing error 404 like below url throwing in browser
http://localhost:8082/Servlet/WEB-INF/classes/org/koushik/javabrain/test.java
404 is coming because its searching the class file in different path.

Kindly give solution.
Up0Down