*
The moose likes Scala and the fly likes Creating a servlet using scala in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Scala
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating a servlet using scala in eclipse
 
Similar Threads
Eclipse3.0 removes class files automatically
servlet beginner confused
Help with EJB DI
Scala programs not getting auto-compiled in Eclipse
eclipse javadoc?