File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Scala and the fly likes Creating a servlet using scala in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Scala
Reply Bookmark "Creating a servlet using scala in eclipse" Watch "Creating a servlet using scala in eclipse" New topic
Author

Creating a servlet using scala in eclipse

Vijayalakshmi Karthikeyan
Greenhorn

Joined: Jul 23, 2010
Posts: 27
Hi,
I am new to scala. just started learning scala. I just wanted to create a Hello world servlet using scala.

I just followed these steps.

1) created a dynamic web project
2) in the .project did the below mentioned changes. After which i got 'S' on the top of the project instead of 'J'
3) Created a scala class with the below code.
4) added the entry in web.xml.
But I am getting HTTP 500 ===> java.lang.ClassNotFoundException: HelloServlet

.project file

scala class

web.xml

index.html

 
 
subject: Creating a servlet using scala in eclipse
 
Threads others viewed
eclipse javadoc?
Help with EJB DI
Eclipse3.0 removes class files automatically
servlet beginner confused
Scala programs not getting auto-compiled in Eclipse
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture