Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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
Posts: 65545
110
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
Posts: 20822
68
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
Posts: 65545
110
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?
 
permaculture is giving a gift to your future self. After reading this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!