Question:
i ve jdk & jboss-4.2.0.GA . Is any other S/W needed to run Servlets ? watz ant ?
anonymous
2007-12-30 05:23:51 UTC
http://www.informit.com/guides/content.aspx?g=java&seqNum=115&rl=1

i tried d example prgm given in d above url but no HelloServlet.class file created as i get compilation err with d javax.Servlet.* ,.... packages . so i dont kno to proceed . i checked other sites it speaks of ant , would i need ant to run my prgms ?????????
Three answers:
binaryFusion
2007-12-30 09:34:30 UTC
Malert is Right. U need the necessary jar files on your classpath. Ant is a build tool from Apache Software Foundation.



After ur Additional detail.

Yes u need that package to compile servelets. U also need Ant since JBoss uses ant to compile and build ur project when u press the compile project button. But Ant should already be bundled with JBoss if u have installed JBoss correctly.
Malert Jones
2007-12-30 13:35:50 UTC
jdk and jboss is good enough to run servlets and jsp programs, the error may be due to the missing of necceary jar files in the classpath. check it once and try again



Malert
Tarun S
2007-12-30 13:30:14 UTC
u need JDK and apace tomcat!


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...