Results 1 to 20 of 26
Thread: Run servlet in HTTP server
- 10-04-2008, 07:19 AM #1
Member
- Join Date
- Jun 2008
- Posts
- 39
- Rep Power
- 0
- 10-04-2008, 07:25 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
What server you use? What you mean HTTP server?
- 10-04-2008, 08:17 AM #3
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.
- 10-04-2008, 08:43 AM #4
Member
- Join Date
- Jun 2008
- Posts
- 39
- Rep Power
- 0
Sorry for my poor english......... i couldnt understand wht r u saying..........
is it possible or not?????
- 10-04-2008, 08:48 AM #5
- 10-04-2008, 08:59 AM #6
Member
- Join Date
- Jun 2008
- Posts
- 39
- Rep Power
- 0
First Thank you for your prompt reply. I want to run servlet in HTTP server. So pleas tell me how to run.
- 10-04-2008, 09:11 AM #7
Member
- Join Date
- Jul 2008
- Posts
- 35
- Rep Power
- 0
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
- 10-04-2008, 09:19 AM #8
Member
- Join Date
- Jun 2008
- Posts
- 39
- Rep Power
- 0
I know we need tomcat to run servlet...... do you know??? how to run php in tomcat
- 10-04-2008, 09:24 AM #9
Member
- Join Date
- Oct 2008
- Posts
- 5
- Rep Power
- 0
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-04-2008, 12:16 PM #10
Member
- Join Date
- Jul 2008
- Posts
- 35
- Rep Power
- 0
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
- 10-04-2008, 12:39 PM #11
Member
- Join Date
- Oct 2008
- Posts
- 5
- Rep Power
- 0
Regarding php
jack :cool:
can u tell me how to run a servlet in http server?:confused:
- 10-04-2008, 02:17 PM #12
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.
- 10-04-2008, 02:46 PM #13
Member
- Join Date
- Oct 2008
- Posts
- 5
- Rep Power
- 0
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 ?
- 10-04-2008, 06:42 PM #14
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.
- 10-04-2008, 07:32 PM #15
Senior Member
- Join Date
- Aug 2008
- Posts
- 384
- Rep Power
- 5
- 10-04-2008, 08:22 PM #16
Senior Member
- Join Date
- Sep 2008
- Posts
- 135
- Rep Power
- 0
Please see your identical post on the Sun Java forums for more info
- 10-05-2008, 04:26 AM #17
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 10-05-2008, 09:16 AM #18
Senior Member
- Join Date
- Sep 2008
- Posts
- 135
- Rep Power
- 0
- 10-05-2008, 11:10 AM #19
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Exactly, rather spending more time to post the same thing here and there, Google search make sense.
- 10-06-2008, 12:35 PM #20
Member
- Join Date
- Oct 2008
- Posts
- 5
- Rep Power
- 0
Similar Threads
-
HTTP requests through proxy server
By manolowar in forum NetworkingReplies: 3Last Post: 01-20-2009, 04:52 AM -
Does any file in an FTP server ends up in an HTTP server?
By islamfunny in forum CLDC and MIDPReplies: 4Last Post: 08-15-2008, 04:30 PM -
HTTP Status 404 - Servlet action is not available---Error
By sireesha in forum Web FrameworksReplies: 0Last Post: 04-18-2008, 07:25 PM -
HTTP Status 404 - Servlet action is not available
By onceuponatime in forum Java ServletReplies: 1Last Post: 12-11-2007, 04:29 PM -
Server returned HTTP response code: 500
By Heather in forum Java ServletReplies: 1Last Post: 07-09-2007, 04:32 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks