Have you edited your web.xml file?
it should include a declaration of your servlet:
 
<web-app>
    ...
    <servlet>
        <servlet-name>HelloWorld</servlet-name>
        <servlet-class>com.package.HelloWorld</servlet-class>
    </servlet>
    ...
</web-app>
 
you could access this servlet from
 
The context root is declared in application.xml
 
Check some example for more clarity.
 
Good luck!
----- Original Message -----
From: Madhu
Sent: Thursday, September 19, 2002 6:04 PM
Subject: [JBoss-user] How to run servlet?

Thanks for u r response
every thing what u told is absoluetly correct, but some times we have to assume certain things..i am creating .war directory means i have certain level of knowledege in JBOSS.
I am using jboss3.0 with tomact, and i am deploying the war directory in the deploy directory only and class files are in WEB-INF.it's absoluetly same what u told.
other than this i have to do anything for this?
i think i am missing something,if any one have idea pl share with us.
thanks ..

Thanks&Regards
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A.Madhu Sudhan 
                          M.Tech,MIGS, (M.S)
Software Engineer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
infoGLYPTIC Software Pvt. Ltd.- Engraving Tommorrow's Solutions
227/70, 'Sigma Arcade'  Floor-1
Airport Road, Marathahalli
Bangalore - 560 037.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Voice :       5234448 / 49 / 50    Ext.331
cell     :       98451 05295
URL   :       www.infoglyptic.com.
Visit me at: www.suryavamshi.com
.............................................................................
..............................................................................

Reply via email to