4 Replies Latest reply: Jun 15, 2012 5:30 AM by dr.cheesecake RSS

Deploying a simple webapp by hand

Sergey Tsvetkov Newbie

Hey guys, i've just installed jboss 7.1.1 and am wondering - how would you deploy a simple servlet there?

Let's say i don't need to mess with web.xml due to wonderful annotations inventions.

 

So all i have is servlet.java, servlet.class in it's parent directory like com/domain/servlet.class

 

How do I direct something like localhost:8181/servlet to that servlet? Where do i put the class file and such...

 

Thanks.