web

Are there any studies comparing JEE vs. .NET?

I've been tasked with the awesome responsibility of trying to document the advantages of using JEE for a web app over .NET. Of course via Google I am mostly getting back blog posts on how an Int is an object in Java, or a list of code comparisons. No real hard evidence or numbers. Is anybody aware of any legitimate studies trying to pro...

How do I secure my new web server (Server 2008)?

I've just put my new server up on an IP address with a domain pointing to it. I need to be able to remote admin it. I've opened the firewall for Remote Desktop and HTTP traffic. Is this going to be secure enough? I guess I should probably rename the administrator user... ...

Huge Web App With Memory Leak in IE 6

I have a huge web app that is having issues with memory leak in IE 6. Fixing a memory leak in a 5 line code sample that demonstrates the problem is easy. But if I have a very huge application, where should a start from? ...

Is there some way to PUSH data from web server to browser?

Of course I am aware of Ajax, but the problem with Ajax is that the browser should poll the server frequently to find whether there is new data. This increases server load. Is there any better method (even using Ajax) other than polling the server frequently? ...

Call Project Server Interface web method from an msi installer

I'm using a Visual Studio web setup project to install an application that extends the functionality of Project Server. I want to call a method from the PSI (Project Server Interface) from one of the custom actions of my setup project, but every time a get a "401 Unauthorized access" error. What should I do to be able to access the PSI. ...

What is the easiest-to-use web "rich text editor"

I am looking for a text editor to be used in a web page. Where users can format the text and get a WYSIWYG experience. Doesn't need to be too fancy. But has to be easy to use and integrate into the page. Has to generate HTML as output. Support AJAX (one I checked works only with standard form submit) and has to be small in terms of downl...

"Silent" Printing in a Web Application

I'm working on a web application that needs to prints silently -- that is without user involvement. What's the best way to accomplish this? It doesn't like it can be done with strictly with Javascript, nor Flash and/or AIR. The closest I've seen involves a Java applet. I can understand why it would a Bad Idea for just any website to ...

Zemanta/Open Calais, how do they do that.

Hi, I was wondering how as semantic service like Open Calais figures out the names of companies, or people, tech concepts ,keywords etc from a piece of text. Is it because they have a large database that they match the text against? How would a service like Zemanta know what images to suggest to a piece of text for instance? Was hop...

Search Plugin for Safari

How do we create a search plugin for Safari? Like this post ...

ASP.NET Tutorials

Hi, can you recommend some good ASP.NET tutorials or a good book? Should I jump right to ASP.NET MVC/html/javascript or learn web forms first? Thanks ...

Is there some way to show HTML content inside Flash?

I want to show HTML content inside FLASH. Is there some way to do this? I am talking about full blown HTML (with JavaScript if possible) ...

Running Apache alongside another web server?

Has anyone had any success running two different web servers -- such as Apache and CherryPy -- alongside each other on the same machine? I am experimenting with other web servers right now, and I'd like to see if I can do my experiments while keeping my other sites up and running. You could say that this isn't so much a specific-softwa...

ASP.NET JavaScript Callbacks Without Full PostBacks?

I'm about to start a fairly Ajax heavy feature in my company's application. What I need to do is make an Ajax callback every few minutes a user has been on the page. I don't need to do any DOM updates before, after, or during the callbacks. I don't need any information from the page, just from a site cookie which should always be sen...

should websites expand on window resize?

I'm asking this question purely from a usability standpoint: Should a website expand/stretch to fill the viewing area when you resize a browser window? I know for sure there are the obvious cons: Wide columns of text are hard to read Writing html/css using percents can be a pain It makes you vulnerable to having your design stretched ...

Web server statics repository -or- ZFS vs. NTFS

Hello everyone. My goal is to maintain web file server separately from main ASP.NET application server for better scalability. Web file server will store a lot of files downloaded by users. So the question is: Is it worth to adopt FreeBSD + Apache + ZFS, or good old IIS will be сonvinient enough? ...

Web 2.0 Color Combinations

What are the most user-friendly color combinations for Web 2.0 websites, such as background, button colors, etc.? ...

Checklist for Web Site Programming Vulnerabilities

Watching SO come online has been quite an education for me. I'd like to make a checklist of various vunerabilities and exploits used against web sites, and what programming techniques can be used to defend against them. What categories of vunerabilities? crashing site breaking into server breaking into other people's logins spam soc...

Why won't .NET deserialize my primitive array from a web service?!

Help! I have an Axis web service that is being consumed by a C# application. Everything works great, except that arrays of long values always come across as [0,0,0,0] - the right length, but the values aren't deserialized. I have tried with other primitives (ints, doubles) and the same thing happens. What do I do? I don't want to ch...

Should you run one or multiple applications per tomcat cluster?

Currently I am setting up an application that can deploy other web apps to Tomcat 6 clusters. It is set up right now to have a one to one relationship between deployed web application and a cluster. My current reasoning for this is so that I can change the JVM args of the Tomcat server without disrupting other applications and so that ...

Simple password encryption

What is a good, simple encryption scheme for protecting passwords in a database? I don't necessarily need anything that's hyper-secure nor do I need anything that's lightning fast, but those things would be nice. Primarily, I just want something that's easy to implement without being terribly slow or insecure. ...