Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do i create servlet program without EE pluing in Eclipse

 
kaviyazhagan kajendiran
Greenhorn
Posts: 4
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am new guy of J2ee and i have to develop servlet application in eclipse IDE without EE plugin on ubuntu...plase let me kow if know

Thanks
Kavik
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With a text editor?
 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's how I've been doing it. You just need to make sure that you add the servlet.jar file to your class path when you compile the servlets.
 
kaviyazhagan kajendiran
Greenhorn
Posts: 4
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After compiling my servlet application. The server throws exception as mentioned below

HTTP Status 404 - /sample/

type Status report

message /sample/

description The requested resource (/sample/) is not available.

please can you guide me on that

Thanks in advance
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you properly set up the servlet and its mapping in the deployment descriptor?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic