web

Resolving a relative url path to it's absolute path

Is there a library in python that works like this? >>> resolvePath("http://www.asite.com/folder/currentpage.html", "anotherpage.html") 'http://www.asite.com/folder/anotherpage.html' >>> resolvePath("http://www.asite.com/folder/currentpage.html", "folder2/anotherpage.html") 'http://www.asite.com/folder/folder2/anotherpage.html' >>> resol...

Best web book for programmer?

I'm looking for the best books about web pages, but for the point of view of a programmer. I'm not looking for examples of good page navigation. I'm more interested into the technical information. For example HTML v3 vs v4 vs v5 (or even v4 vs v4.01). What are the most common meta tags and what do they do in each browsers. Common pitfall...

How do I stop Windows server 2008 from going to sleep?

I have just upgraded my server 2003 to serrver 2008. As I write this, my site is available externally. If I were to try again in the morning,the site won't come up. However, if I log back onto the server or access the website from another computer on the network, it works just fine...again! ...

Are there any web frameworks for compiled languages like C++?

On our embedded device, we currently use PHP for its web interface, and unfortunately it's quite slow. We've been experimenting with Python, but is seems (at least on FPU-less ARM architecture) to be as slow as PHP. Therefore we're thinking about implementing web interface in some compiled language like C++, but so far the only thing we...

Can anyone recommend a VPS or dedicated server hoster in the UK?

I am looking for recommendations for a VPS or dedicated server hoster in the UK. It's to host a Java/Tomcat web app, MySQL backend, on Linux, pref Redhat. Do not need tremendously high spec, but am concerned with uptime, response times to enquiries and bandwidth - not the cap but actual throughput. Thanks for the suggestions, Richard....

How can one make a web-site accessible only when someone has a dongle?

Suppose you want to add an extra layer of credentials on top of a SSL-encrypted login/password, but you don't want to increase complexity to the user. Is there a way to add the requirement of the possession of a dongle to web-server authentication schemes with existing cross-platform browser capabilities? In other words, to get access t...

What is meant by "framing" another's site?

I've been given a copy of a proposed site agreement in which one of the conditions is: ...each of us may for the Term: ...frame the other's site What is meant by "framing"? I assume it might have something to do with an iframe embed or to capture part of our main page without additional logos and other such imagery? ...

Password protection for ASP.NET web pages?

I am trying to implement the simplest shared 'files' folder for a website but wish to have a 'reasonable' level of access control - i.e no casual multimegabyte uploads from passing hoi-polloi. Users are given a password etc. They then log-in, once credentials are successfully checked, they are given one of two possible access rights - r...

When should one use a 'www' subdomain?

When browsing through the internet for the last few years, I'm seeing more and more pages getting rid of the 'www' subdomain. Are there any good reasons to use or not to use the 'www' subdomain? ...

How to intercept xml response and request during web service invocation?

I wonder if there is some neat way to intercept xml request send during java webservice method invocation and xml given in response? I don't want to print those xmls to standard output but to "catch" them in some string. ...

What's the correct/proper way to test if an object is a jQuery object in javascript?

I'm writing a javascript function and in "compact" javascript design fashion, the type/length of arguments changes the behaviour of the function. One possible type of the argument is a jQuery object, for which I would like very special logic. What is the best way to test if an object is an instance of jQuery? ...

PL/SQL (mod_plsql): Accept parameters only from POST, not GET requests?

Hi, I'm working on an application that uses mod_plsql with Oracle 10G to generate web pages via PL/SQL stored procedures called directly from the web browser. I'm looking for a way to only accept parameters via POST requests, and not GET requests. Ie, in PHP I would only want the value of $_POST['parameter_name'] and not $_GET['paramete...

NHibernate crashes when being called from a web user control in ASP.Net

I have a very strange problem: NHibernate crashes when being called from a web user control. I am working on a ASP.Net (2.0) web page which uses NHibernate to access a database. And I have a simple factory class to access a column CurrentStepNumber in the table ProjectInfo: public class ProjectEntity { private int? _currentStepNum...

Search Web Service

I have the following XML from: http://msdn.microsoft.com/en-us/library/bb625950.aspx And making a simple search: SearchServiceLab.SearchService.QueryService searchService = new SearchServiceLab.SearchService.QueryService(); searchService.Credentials = System.Net.CredentialCache.DefaultCredentials; string queryString = keywordQue...

What role does the file "iis.config" play in the running of a web application on IIS?

We've recently finished development of a web application that works as expected. When we handed it over to the ops team, they freaked out a little bit because we didn't supply the file "iis.config". What is this file? What does it do? Edit: It turns out its a proprietary file for our internal operations monitoring program or somet...

php server talk

How can I enable talk or speech on my PHP Server? Is there a language that has speech-classes that could help me, or do I need to use a text-to-speech engine? ...

Difference asp.net web service and Ihttphandler

Simple task like make AJAX request , pass one parameter and return result, can be done with Web Service and IHttpHandler, so where is the difference ? ...

Best technology for Java based simple CRUD web site

I want to create a CRUD (create, retrieve, update, delete) web site using the simplest Java tools. This site will allow users to manage four tables, two of which are reference tables used to build menus and two of which will undergo CRUD activity. I'm leaning toward Stripes but I would like to hear the opinions of experience developers...

Web Service using Axis 2: Complex type or simple type parameters?

The question is a specialization of: http://stackoverflow.com/questions/403058/oo-style-parameters-vs-type-parameters What if you want to define a Web Service operation? To have parameters beeing passed as complex types like this public String insertPerson(Person person); seems pretty cool since you're able to change the definition...

multithread performance problem for web service call

Hello everyone, Here is my sample program for web service server side and client side. I met with a strnage performance problem, which is, even if I increase the number of threads to call web services, the performance is not improved. At the same time, the CPU/memory/network consumption from performance panel of task manager is low. I a...