How to Run servlet on Weblogic


Web tier: servlets, JSP, Web frameworks: How to Run servlet on Weblogic

  1. How to Run servlet on Weblogic (2 messages)

    Hi Friends
    I am new to Weblog.
    Before I wes using Jrun.
    can I any one help me to Run servlets on weblogic.
    Like In which directory I should put class file.

    I tried by keeping class file in
    C:\weblogic\myserver\public_html where c is drive letter.



    Threaded Messages (2)

  2. How to Run servlet on Weblogic[ Go to top ]

    Just try putting your servlet class file in myserver directory but make sure you go and add the reference to it in in file (ie) you have to register each and every servlet that you run on weblogic in its properties file.just check for servlet properties in the file and u would find many commented lines pointing to different servlets just uncooment any and point it to your servlet.Try it
  3. How to Run servlet on Weblogic[ Go to top ]

    Be sure you keep the files in weblogic\myserver\classfiles and point your properties file to it. You can declare a package that will keep your compiled files in the said directory. Normally myserver\publlic_html is the directory to store your jsp and html files.

    In any case you will have to edit your file. Play around with it and you will get a hang of it.

    Hope this helps.