• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can not run servlet in Eclipse Europa

 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I can not run a servlet in Eclipse Europa.Please help me out.

package structure in Ecpise:
ServletTest(Project name)
src
RunBuddy(Servlet name)
WebContent
WEB-INF
web.xml

RunBuddy.java


web.xml



When I am running in jboss with the URL below it is giving HTTP Status 404

http://localhost:8080/ServletTest/RunBuddy

Please help.
[ August 06, 2008: Message edited by: Kousik Majumder ]
 
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you check if your build path points to the WebContent/WEB-INF/classes directory?

Can you also verify if there are errors in the console during JBoss startup?

HTH.
 
Kousik Majumder
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My package structure in Ecpise:
ServletTest(Project name)
--src
----RunBuddy.java(Servlet name)
--build
----classes
------RunBuddy.class
--WebContent
----WEB-INF
------web.xml

In build path the source path is added already(ServletTest/src)
and default output folder is:-
ServletTest/build/classes
Note: There is no error in start up of JBoss.

Thanks
Kousik
reply
    Bookmark Topic Watch Topic
  • New Topic