aspose file tools*
The moose likes Servlets and the fly likes How do i create servlet program without EE pluing in  Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How do i create servlet program without EE pluing in  Eclipse" Watch "How do i create servlet program without EE pluing in  Eclipse" New topic
Author

How do i create servlet program without EE pluing in Eclipse

kaviyazhagan kajendiran
Greenhorn

Joined: Apr 24, 2011
Posts: 4

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

Joined: Jan 10, 2002
Posts: 61198
    
  66

With a text editor?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19693
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
kaviyazhagan kajendiran
Greenhorn

Joined: Apr 24, 2011
Posts: 4

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

Joined: Jan 10, 2002
Posts: 61198
    
  66

Have you properly set up the servlet and its mapping in the deployment descriptor?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i create servlet program without EE pluing in Eclipse