The Artima Developer Community
Sponsored Link

Java Answers Forum
Executing Servlet on J2EE Server

1 reply on 1 page. Most recent reply: Jun 13, 2002 1:34 PM by gopi

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Aravinthan

Posts: 1
Nickname: rishi
Registered: Jun, 2002

Executing Servlet on J2EE Server Posted: Jun 11, 2002 11:33 PM
Reply to this message Reply
Advertisement
Hi,
I need to know how can we run Servlets on J2EE Sever.
Where i havt to put my Servlet ?
Thanks
Aravinthan


gopi

Posts: 5
Nickname: gopi
Registered: Jun, 2002

Re: Executing Servlet on J2EE Server Posted: Jun 13, 2002 1:34 PM
Reply to this message Reply
i dont know which server you are using.But most of the server will have the same architecture which is having WebApplication/WEB_INF/classes

put all the java and class files here.configure WEB.XML
as following

<servlet>
<servlet-name>ServletName</servlet-name>
<display-name>ServletName</display-name>
<servlet-class>servl et class name with complete package</servlet-class>
<init-param>
<param-name>any intialization parameters name</param-name>
<param-value>value</param-value>
</init- param>
</servlet>

Flat View: This topic has 1 reply on 1 page
Topic: getting mouse click on an image inside a jlabel.. Previous Topic   Next Topic Topic: Garbage collection

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use