943,097 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 1010
  • JSP RSS
You are currently viewing page 1 of this multi-page discussion thread
Feb 8th, 2010
0

404 error

Expand Post »
hi,
i'm trying to run a servlet code, but i get "HTTP Status 404 - Servlet Update2 is not available" error.
i checked code, its perfect, web.xml is correct.
but i did not find any .class files in my web-inf/classes directory.
how could i get servlet .class files in web-inf/classes dir?

waiting 4 answer,
BeanBoy
Similar Threads
Reputation Points: 10
Solved Threads: 1
Light Poster
beanboy is offline Offline
44 posts
since Aug 2009
Feb 8th, 2010
0
Re: 404 error
What did you use for compiling Java files? IDE or command line?
And what did you do in order to compile them?
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,649 posts
since Dec 2004
Feb 8th, 2010
0
Re: 404 error
i used eclipse IDE. i just saved them and run the files. do i need to compile?. i'll try once,...and thanks 4 the reply
Reputation Points: 10
Solved Threads: 1
Light Poster
beanboy is offline Offline
44 posts
since Aug 2009
Feb 8th, 2010
0
Re: 404 error
I hope you created a proper web project through Eclipse. Using web project will take care of basic needs compile/run/deploy.
Last edited by peter_budo; Feb 8th, 2010 at 9:03 am.
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,649 posts
since Dec 2004
Feb 8th, 2010
0
Re: 404 error
no peter, its not power web proj. everything worked fine for previous projs,.... but i donno whis this happed this time.

what do u think might be the prblem?
thanQ
Reputation Points: 10
Solved Threads: 1
Light Poster
beanboy is offline Offline
44 posts
since Aug 2009
Feb 8th, 2010
0
Re: 404 error
Without seeing project structure and relevant coding it is difficult to make a statement. If you want attach your project in zip/rar to next reply and someone will have look at it, of course if it is not confidential.
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,649 posts
since Dec 2004
Feb 9th, 2010
0
Re: 404 error
i'm sorry i couldn't attach the proj, but thanks for the help
Reputation Points: 10
Solved Threads: 1
Light Poster
beanboy is offline Offline
44 posts
since Aug 2009
Feb 9th, 2010
0
Re: 404 error
Otherwise u do one thing....compile ur servlets .java files and place the .class files manually in the WEB-INF/classes folder then it shld work...and one more thing...did u make ur servlet public?....
Reputation Points: -1
Solved Threads: 1
Light Poster
fardoonmuhafiz is offline Offline
27 posts
since Jan 2010
Feb 9th, 2010
0
Re: 404 error
okay,..i wil do what u said,...and yes my servlet is public ...thanQ
Reputation Points: 10
Solved Threads: 1
Light Poster
beanboy is offline Offline
44 posts
since Aug 2009
Feb 9th, 2010
0
Re: 404 error
do i need a Java Studio Creator to compile my servlets,.... i'll check it anyway
Reputation Points: 10
Solved Threads: 1
Light Poster
beanboy is offline Offline
44 posts
since Aug 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: jsp table and drop down menu
Next Thread in JSP Forum Timeline: dividing the report into multiple pages, like emails,previous ,next. in jsp





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC