Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 75 results for
httpserver
- Page 1
Security exception without security manager?
Programming
Software Development
12 Years Ago
by MoZo1
…" java.lang.Error: java.net.BindException: Permission denied at
httpserver
.
HTTPServer
.main(
HTTPServer
.java:68) Caused by: java.net.BindException: Permission denied… java.net.ServerSocket.<init>(ServerSocket.java:106) at
httpserver
.
HTTPServer
.main(
HTTPServer
.java:38)[/CODE] [B]This actually works on Windows…
Re: Security exception without security manager?
Programming
Software Development
12 Years Ago
by MoZo1
… root initially. [/QUOTE] Also when I use [ICODE]java -jar
httpserver
.jar[/ICODE], I have the same result, [B]but when… I use [ICODE]sudo java -jar
httpserver
.jar[/ICODE], I have all ports free![/B] Now what…
Re: Security exception without security manager?
Programming
Software Development
12 Years Ago
by ~s.o.s~
… prompt. Something like: [code=shell] # runserver.sh sudo java -jar
httpserver
.jar[/code] This way, your users won't be aware…
simple python web server
Programming
Software Development
18 Years Ago
by peaceofmind
…curdir, sep from BaseHTTPServer import BaseHTTPRequestHandler,
HTTPServer
class MyHandler(BaseHTTPRequestHandler): def do_GET(self): …pass def main(): try: server =
HTTPServer
(('', 80), MyHandler) print 'started
httpserver
...' server.serve_forever() except KeyboardInterrupt: print …
BaseHttpHandler custom methods
Programming
Software Development
12 Years Ago
by harrygriet
…curdir, sep from http.server import BaseHTTPRequestHandler,
HTTPServer
#import pri class MyHandler(BaseHTTPRequestHandler): def do_GET…pass def main(): try: server =
HTTPServer
(('', 5080), MyHandler) print ('started
httpserver
...') server.serve_forever() except KeyboardInterrupt: print ('^…
what is a better design?
Programming
Software Development
16 Years Ago
by Agni
… a design where in i have 6 classes called 1)
HttpServer
2)ParserClass 3)InputInterface 4)Cartonization 5)OutputInterface and then… i have a 6)Manager class.
HttpServer
gets the request xml as a string in request body…
Web Server code not working
Programming
Software Development
14 Years Ago
by sciguy77
…have so far: [CODE] Code: from http.server import
HTTPServer
, BaseHTTPRequestHandler class RequestHandler(BaseHTTPRequestHandler): def _writeheaders(self): self.send_response…lt;/HTML>""") serveraddr = ('', 8080) srvr =
HTTPServer
(serveraddr, RequestHandler) srvr.serve_forever()[/CODE] I do not get any…
Re: Web Server code not working
Programming
Software Development
14 Years Ago
by jlm699
…s what I ran: [code=python] from BaseHTTPServer import
HTTPServer
, BaseHTTPRequestHandler class RequestHandler(BaseHTTPRequestHandler): def _writeheaders(self): self.send_response…;/HTML>""") serveraddr = ('', 8080) srvr =
HTTPServer
(serveraddr, RequestHandler) srvr.serve_forever()[/code] Then going to localhost:8080…
Unable to access web server?
Programming
Software Development
14 Years Ago
by sciguy77
…have for the server: [code] from http.server import
HTTPServer
, BaseHTTPRequestHandler class RequestHandler(BaseHTTPRequestHandler): def _writeheaders(self): self.…;/HTML>""") serveraddr = ('', 8080) srvr =
HTTPServer
(serveraddr, RequestHandler) print("Server online and active") srvr…
Re: Unable to access web server?
Programming
Software Development
14 Years Ago
by xav.vijay
… was [CODE]from BaseHTTPServer import BaseHTTPRequestHandler,
HTTPServer
[/CODE] instead of [CODE]from http.server import
HTTPServer
, BaseHTTPRequestHandler[/CODE] Mine is 2.6…
Base http server, collect variable value
Programming
Software Development
14 Years Ago
by totaltmega
…; self.wfile.write(response) class web_interface_server (BaseHTTPServer.
HTTPServer
): def __init__(self, server_address, RequestHandlerClass, missile): BaseHTTPServer.
HTTPServer
.__init__(self, server_address, RequestHandlerClass) self.RequestHandlerClass…
How to attach or combine two python files?
Programming
Software Development
13 Years Ago
by sandeepxd
…}) def test(HandlerClass = SimpleHTTPRequestHandler, ServerClass = BaseHTTPServer.
HTTPServer
): BaseHTTPServer.test(HandlerClass, ServerClass) if __name__ == …return path class ThreadedHTTPServer(SocketServer.ThreadingMixIn, BaseHTTPServer.
HTTPServer
): pass # -- Options def configfile(): appname…
Python Web Server
Programming
Software Development
12 Years Ago
by Xytheron
… then I got to this: [CODE]from BaseHTTPServer import
HTTPServer
, BaseHTTPRequestHandler class RequestHandler(BaseHTTPRequestHandler): def _writeheaders(self): self.send_response…lt;/HTML> """) serveraddr = ('', XXXX) srvr =
HTTPServer
(serveraddr, RequestHandler) print("Server online and active") srvr…
Re: Python Web Server
Programming
Software Development
12 Years Ago
by joehms22
… to it you could do this: [code] from BaseHTTPServer import
HTTPServer
, BaseHTTPRequestHandler sitedir = "." #could set to /var/www if…;Couldn't find file") print e serveraddr = ('', 8080) srvr =
HTTPServer
(serveraddr, RequestHandler) print("Server online and active") srvr…
embedded http server : An existing connection was forcibly closed by the re
Programming
Software Development
9 Years Ago
by kubi081
I'm using a Customizable-Embedded-
HTTPServer
for a project. Simply I'm calling response.SendFile(@"… from ; http://www.codeproject.com/Articles/20445/C-Customizable-Embedded-
HTTPServer
?msg=4370868#xx4370868xx
Multimedia: introducing the webbrowser module
Programming
Software Development
17 Years Ago
by vegaseat
… a temporary http server to handle one request server = bhs.
HTTPServer
(('127.0.0.1', 0), RequestHandler) # calls URL to retrieve…
Newbie CGI programmer question
Programming
Software Development
16 Years Ago
by capri19
… page to another using [code] c = Cookie.SimpleCookie() [/code] Server =
HTTPServer
(srvraddr, CGIHTTPRequestHandler) I use [code] <form action="script…
java project database error
Programming
Software Development
16 Years Ago
by madhusamala
i am doing an acadamic java project by using html, servlets. in html form tag what is the url that i have to give in post attribute. and i am using access as my database. it is giving that
httpserver
error that given table is not found. will u please help me in sorting out this problem
HTTP File Upload Client Server application
Programming
Software Development
14 Years Ago
by Web_Sailor
…) throws Exception { String statusLine = null; String serverdetails = "Server: Java
HTTPServer
"; String contentLengthLine = null; String fileName = null; String contentTypeLine = "…
BaseHTTPServer
Programming
Software Development
14 Years Ago
by Joop!
… content class Server(threading.Thread): def run(self): server = BaseHTTPServer.
HTTPServer
(('',Global.port), WebRequestHandler) server.serve_forever() Server().start() [/CODE]
Django problems...
Programming
Software Development
14 Years Ago
by Tech B
…;, line 10, in <module> from BaseHTTPServer import BaseHTTPRequestHandler,
HTTPServer
File "C:\Python26\Lib\BaseHTTPServer.py", line 82…
Re: Django problems...
Programming
Software Development
13 Years Ago
by tls-005
…;, line 10, in <module> from BaseHTTPServer import BaseHTTPRequestHandler,
HTTPServer
File "C:\Python26\Lib\BaseHTTPServer.py", line 82…
need assistance to this please
Programming
Software Development
13 Years Ago
by kuchi
… did python core code and now got to work on
HTTPServer
. Is this something like web server? Please check for the…
cannot find module 'now'
Programming
Web Development
12 Years Ago
by lsvife
….end(html); }); server.listen(1200); var everyone = require('now').initialize(
httpServer
); everyone.now.distributeMessage = function(message){ everyone.now.receiveMessage(this.now…
Python, httplib2, Unexpected error: socket.error
Programming
Software Development
9 Years Ago
by Amyzz
….send_error(500,'Error processing in do_POST') return class ThreadedHTTPServer(ThreadingMixIn,
HTTPServer
): """Handle requests in a separate thread."…
Embedded Http server jump seconds on videos where located local
Programming
Software Development
9 Years Ago
by kubi081
… here](http://www.codeproject.com/Articles/20445/C-Customizable-Embedded-
HTTPServer
?msg=4370868#xx4370868xx)If there is more advanced one I…
Re: Exporting JCreator Project to JAR Executable
Programming
Software Development
13 Years Ago
by NormR1
…a jar file: [QUOTE]@Rem Create the
HTTPServer
.jar file: SET JarName=%DEV_HOME%\JavaDevelopment\
HTTPServer
\
HTTPServer
.jar %DEV_HOME% cd %DEV_HOME%\JavaDevelopment\ jar…*.class NormsTools\ChoiceOfYesOrNo*.class cd %DEV_HOME%\JavaDevelopment\
HTTPServer
\ jar -ufm %JarName%
HTTPServer
.mnf HTTPServerFmJar.bat *.ini servlet.properties MyChat\*.…
Re: virtual consructors and destructors
Programming
Software Development
9 Years Ago
by serpi90
…/C++_Programming/Code/Design_Patterns/Creational_Patterns#Prototype) you could create an **
HTTPServer
** that allows you to implement (in a subclass) the HTTP… methods ( get(), post(), delete(), options(), ...). In the **
HTTPserver
** you would implement all the socket handling, header from body…
Re: A recipe for simple file transfer between computers?
Programming
Software Development
15 Years Ago
by slate
…'s webserver: [code] python -m SimpleHTTPServer [/code] That starts a
httpserver
on port 8000.
will restoring back httpserver folder restore apache
Hardware and Software
Linux and Unix
14 Years Ago
by darklrd
hello everyone! i was re-compiling the whole apache source code (version-2.0.54) and rebuilding on solaris. And i have messed it up. I have a backup of my apache server root directory. If i replace it with my current installation directory will it restore apache back to its previous state?
1
2
3
Next
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC