web

showing content on the blank screen after downloading a file

I've observed that under certain circumstances, a web browser will navigate to a blank page and then prompt the user to download a file. In my current situation, it's navigating to a URL that generates an Excel file. The download of the file works perfectly, but the user is now stranded on a blank page. There are two things I would li...

Can Delphi 2009 build web service that returns a DataSet?

In the sample Delphi web service tutorials I've read, they tend to build a web service that returns a simple string or integer, e.g. http://blogs.codegear.com/pawelglowacki/2008/12/18/38624 However, I read it's possible in .NET to build a web service that returns a DataSet or even an object. Is this possible in Delphi 2009, and if so w...

web service code in actionscript

hi, im calling an actionscript class from my main mxml file. the actionscript class is responsible for calling a web service and handling the response, however im having trouble and keep getting the following error; (im new to flex btw) Error #1009: Cannot access a property or method of a null object reference. my code goes as follow...

Web server config - shttpd/Mongoose

http://code.google.com/p/mongoose/ http://shttpd.sourceforge.net/shttpd.1.txt Trying to configure the lightweight web server shttpd now called mongoose to execute CGI scripts in C. Does it need a seperate CGI interpreter for C? A download of shttpd on source forge had separate interpreter exe for perl and php cgi but not sure if t...

Browser Extension Idea: Provide HTTP Auth Values through Web Forms

I want to bounce an idea around. I have been building web services and web applications for over a decade now, and have more recently been focusing on providing as RESTful a service as possible (eg. using the same URI for both browsers and API clients, but having them modify accept: to decide if to send XML or XHTML). One big sticking p...

3D Web Sites and Applications

I have for the last several years been struggling to understand why the Internet has so few actually useful 3D web applications. It's 2009 and still everything looks like pages from a Sears catalog. You can turn on your TV and find flying logos every night. After that you can get nostalgic and flip on ol' N-64 and play some Zelda or Mari...

Releasing your web application into the wild

Let's say you've written the next social networking phenomenon (or any other web app). You've chosen Java, Tomcat, Apache and Oracle (or whatever setup that you like). You know want to get it out there on the web and have people sign up and start using it. What is the next step for something that you have written at home and want to...

In terms of performance, which is better Flex or Silverlight?

In general, which performs better? How are they like when processing vector graphics? ...

Bottleneck of web applications?

This question pertains to Ruby on Rails and PHP. When looking for a VPS host for a web application (haven't decided which of the 2 languages to write it in yet), what should I take into consideration more? Memory or CPU? I know that you need a fair balance of both, but which wall will I run into first? I'm sure it depends on the type o...

How to have favicon / icon set when bookmarklet dragged to toolbar?

I've made myself a bookmarklet, and it functions just fine, but when added to a toolbar in Opera or Firefox, it just takes on the default bookmark icon for the browser (a globe and a star, respectively). My site has a favicon, and the window, tab and even [site] bookmark uses the favicon I've specified. Just not my bookmarklet. How ca...

Web service client (.NET 2008), exception handling?

I have a standard (?) web service client solution in .net 2008 = classes created by wsdl.exe tool after downloading the wsdl-file from web service I'm using. I then just call the method of this automatically created class that inherits System.Web.Services.Protocols.SoapHttpClientProtocol and its' invoke method. which I have tested a lot ...

How to redirect with "www" URL's to without "www" URL's or vice-versa ?

Hi, I am using ASP.NET 2.0 C#. I want to redirect all request for my web app with "www" to without "www" www.example.com to example.com Or example.com to www.example.com Stackoverflow.com is already doing this, I know there is a premade mechanism in PHP (.htaccess) file. But how to do it in asp.net ? Thanks ...

Meta-refresh doesn't work?

I have a page using something along the lines of <meta http-equiv="refresh" content="0;url=http://example.com/" /> but for certain users on a certain workstation this doesn't work. The is in IE. Is there something wrong with cookies or a setting somewhere which would cause this to fail? I never heard of such a thing. ...

Placing a div inside a table cell

I'm trying to get a DIV element into a table cell, in a way in which the DIV spreads along all the cell's area. But, for unknown reason, a 1px border appears; as far as I know, it's neither part of the table or the div (table has no borders, padding or spacing, and the div has no margin or padding). Perhaps you can spot me the bug? <htm...

BaseHTTPRequestHandler freezes while writing to self.wfile after installing Python 3.0

Hey guys, I'm starting to lose my head with this one. I have a class that extends BaseHTTPRequestHandler. It works fine on Python 2.5. And yesterday I was curious and decided to install Python 3.0 on my Mac (I followed this tutorial, to be sure I wasn't messing things up: http://farmdev.com/thoughts/66/python-3-0-on-mac-os-x-alongside-...

.Net Web service Encrypt Decrypt Dataset

Does anyone know of examples which show how to encrypt a dataset at the client side and send it over to a web service and have it decrypted there? Another question: What i need to do is a send hundreds of rows of data from a client to a web service and have the web service update the database with these records. I can't think of any o...

How should one start learning web applications development?

I have done web programming through PHP, so I know the basics of HTML, CSS, and sessions. Nontheless, there's probably a lot of concepts and theory behind web development which I'm probably missing since my original approach came from knowing a language, not a platform itself. Where does one go to learn the practices and general theory,...

How to tell if a string is a web address?

What is the best way to determine if a string represents a web address? I need to let the user enter a web address into a form, but how do I validate the input? The user should be allowed to enter strings like "http://www.google.com" or "www.vg.no", but he shouldn't be required to enter the "http://". Also, there are web pages like "tv2....

Is massive Data Entry on the web feasable?

Is there any good way to design a web page for massive data entry? Datagrids seem to be the best way to handle this type of data entry and I think a client application like Access or SQLite+Frontend would be better suited for this than the web. Links to sites with a page for data entry would be greatly appreciated. ...

Host SilverLight / WCF

Hi all I have created my first silverlight app :-) It has a basic page and connects to a db to populate a list. the connection is done using wcf, so my silverlight connects to a ServiceReference that does the stuff. This all works fine when i run from VisualStudio. My problem is that i am not sure how to host this app. I created an a...