Madhu wrote:
> Hi,
> How to run servelts in JBoss.I am finding some difficulty in running the 
> servlets? can any one help me out to solve this difficulty?How to run a 
> servlet? i am creating a directory with .war name and inside i am 
> creating the WEB-INF folder with xml file and servlet classes, but it's 
> not able to find the servlet class when calling from the rowser.
> Thanks in advance for ur response..
> 
> Thanks&Regards
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> A.Madhu Sudhan 

--

1) Always tell us (the list) what version os/jdk/jboss you're using.
2) If you are indeed creating a ".war directory", make sure it's in 
jboss' server/xxx/deploy directory and send us a fully-recursive 
directory listing.  On lin/unix, it would be:
        find mywebapp.war -type f | sort > xxx.txt
3) If you are creating a war file and dropping it into 
server/xxx/deploy, send us a full listing of the war contents, via the 
command:
        jar tvf mywebapp.war > xxx.txt
4) Send us a snippet of the web.xml file where you define your servlet 
and the associated servlet-mapping.
5) Tell us what URL your are typing in your browser to access the servlet.

Once we have that information, we are better enabled to help you.  My 
initial guesses would be:
1) Your classes are not in /WEB-INF/classes/ (or in a jar file in 
/WEB-INF/lib/) - *not* in the top-level /WEB-INF/.
2) Your web.xml file has a typo where you define servlet-class.

David



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to