Page 1 of 2 12 LastLast
Results 1 to 20 of 26
  1. #1
    jithan is offline Member
    Join Date
    Jun 2008
    Posts
    39
    Rep Power
    0

    Default Run servlet in HTTP server

    Hello friends,

    I want to run servlet in HTTP server. Please assist me ...... how to run servlet in HTTP server.

    Thanks in advance.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  3. #3
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    You can run Tomcat as your main HTTP server and it handles servlets, JSP, etc. automatically.

    In the olden days, folks usually ran Apache for static stuff, and had Apache dispatch off to tomcat for JSP/servlets. And for commercial, high volume sites, this is still the standard. But for small sites, just run Tomcat or Resin and be done.

  4. #4
    jithan is offline Member
    Join Date
    Jun 2008
    Posts
    39
    Rep Power
    0

    Default

    Sorry for my poor english......... i couldnt understand wht r u saying..........
    is it possible or not?????

  5. #5
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    Quote Originally Posted by jithan View Post
    Sorry for my poor english......... i couldnt understand wht r u saying..........
    is it possible or not?????
    You should not pretend to be using English and then fail so completely at spelling. Use real words. Spell check your posting.

    Yes it is possible. I told you two ways to do it.

    Do some work on your own.

  6. #6
    jithan is offline Member
    Join Date
    Jun 2008
    Posts
    39
    Rep Power
    0

    Default

    First Thank you for your prompt reply. I want to run servlet in HTTP server. So pleas tell me how to run.

  7. #7
    jack239 is offline Member
    Join Date
    Jul 2008
    Posts
    35
    Rep Power
    0

    Default

    What HTTP server are you using? Apache or IIS? This is not possible to run servlet in any of them either. To run servlet you need tomcat or weblogic or sun app server. I don't if there is any module avaialble or not for apache?
    New to Java/PHP/Javascript development?
    For free help go to- www.techcubetalk.com

  8. #8
    jithan is offline Member
    Join Date
    Jun 2008
    Posts
    39
    Rep Power
    0

    Default

    I know we need tomcat to run servlet...... do you know??? how to run php in tomcat

  9. #9
    jamesbond007 is offline Member
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    0

    Thumbs up Http Server

    hi jitthan :)

    static content like php or perl only can run in apache httpd server .
    by using tomcat server we can have servlets and jsp which is dynamic.

  10. #10
    jack239 is offline Member
    Join Date
    Jul 2008
    Posts
    35
    Rep Power
    0

    Default

    PHP can be executed only with apache or iis. Using Tomcat you can only execute jsp/servlet code only.
    Also jamesbond007 know what? php or perl is not static content and they are also ynamic like jsp.
    New to Java/PHP/Javascript development?
    For free help go to- www.techcubetalk.com

  11. #11
    jamesbond007 is offline Member
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    0

    Default Regarding php

    jack :cool:

    can u tell me how to run a servlet in http server?:confused:

  12. #12
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by jithan View Post
    First Thank you for your prompt reply. I want to run servlet in HTTP server. So pleas tell me how to run.
    Seems you are conflict with some technical terms. HTTP is not a server pal, basically it's a communicating protocol. If you are looking to deal with HTTP, actually you need a HTTP server, a server which follows HTTP. Tomcat and IIS are the most common servers people use. Actually there are lot.

    So, you can run a servlet in Tomcat, a HTTP server.

    Read this page for more information.

  13. #13
    jamesbond007 is offline Member
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    0

    Default Urgent plz help me

    hi Eranga


    thanks ..............
    now am clear with http and http server .......
    actually wat i need is tat i need to run servlet in apache httpd server
    can u explain me how to run servlet ?

  14. #14
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Did you read that link, it explain all what you have to do. Read it and try first yourself. That's the best way, then if you stuck on anything come back to here.

    There are two reasons to say that,

    1) It's not a single step to explain, a series of processes.
    2) You should experiment first.

  15. #15
    Supamagier is offline Senior Member
    Join Date
    Aug 2008
    Posts
    384
    Rep Power
    7

    Default

    HTTP HyperText Transfer Protocol

    And remember, jamesbond007, Google is your friend.
    Last edited by Supamagier; 10-04-2008 at 07:36 PM.
    I die a little on the inside...
    Every time I get shot.

  16. #16
    georgemc is offline Senior Member
    Join Date
    Sep 2008
    Posts
    135
    Rep Power
    0

    Default

    Please see your identical post on the Sun Java forums for more info

  17. #17
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by georgemc View Post
    Please see your identical post on the Sun Java forums for more info
    You mean cross-posted again. :(

  18. #18
    georgemc is offline Senior Member
    Join Date
    Sep 2008
    Posts
    135
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    You mean cross-posted again. :(
    'Fraid so! I see a lot of the same posts between here and Sun, and Javaranch too. More often than not, the effort of posting to that many forums is greater than simply googling your question. Bizarre!

  19. #19
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Exactly, rather spending more time to post the same thing here and there, Google search make sense.

  20. #20
    jamesbond007 is offline Member
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    0

    Default

    thanks ........
    but wat i need is that how to run php in tomcat ?
    do u hav any idea abt database caching ?
    if anyone knows can u plz help me ..........

Page 1 of 2 12 LastLast

Similar Threads

  1. HTTP requests through proxy server
    By manolowar in forum Networking
    Replies: 3
    Last Post: 01-20-2009, 04:52 AM
  2. Does any file in an FTP server ends up in an HTTP server?
    By islamfunny in forum CLDC and MIDP
    Replies: 4
    Last Post: 08-15-2008, 04:30 PM
  3. HTTP Status 404 - Servlet action is not available---Error
    By sireesha in forum Web Frameworks
    Replies: 0
    Last Post: 04-18-2008, 07:25 PM
  4. HTTP Status 404 - Servlet action is not available
    By onceuponatime in forum Java Servlet
    Replies: 1
    Last Post: 12-11-2007, 04:29 PM
  5. Server returned HTTP response code: 500
    By Heather in forum Java Servlet
    Replies: 1
    Last Post: 07-09-2007, 04:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •