web

How to keep domain name in address bar

Is there a better way to keep the domain name unaltered in the adress bar besides using a main frame? ...

Should I support 'mysite.com' and 'www.mysite.com'? OpenID Problems?

I implemented OpenID support for an ASP.Net 2.0 web application and everything seems to be working fine on my local machine. I am using DotNetOpenId library. Before I redirect to the third party website I store the orginal OpenID in the session to use when the user is authenticated (standard practice I believe). However I have a habit ...

Wheel Reinvention Avoidance for Web Rating Feature

I have a need to implement a rating feature and would like to do it the mouse-over stars way similar to netflix. What is my best approach? Here are some that come to mind. code it up by hand in HTML and javascript use flash or a java applet use Starbox (if you have used Starbox, then feel free to comment on it) use another java script...

How can I get clients for my Web Design/Development company when none of my connections need work done?

I've asked everyone I know. I've gone to all the shops near where I live, asking if they'd like a website, and even an online ordering facility, to increase their sales. I've even offered to do websites for free. All I get is either: A) We already have a website B) We don't need/want a website C) We'll get back to you (which they neve...

what are your favourite 404 error messages?

I've seen a BSOD one.. a haiku one.. some are hilarious. Ones specific to websites I'm talking about. Any other gems floating around? ...

Strange behavior in .NET web service client when NOT running as Local Administrator

We have encountered a very strange situation when we deployed an application at a customer site. This application is implemented as a service using C# on .NET 3. The application communicates with a web service that is written using gSOAP. In our .NET application, the classes that wrap the web service were created by performing "Add Servi...

Describe the architecture you use for Java web applications?

Let's share Java based web application architectures! There are lots of different architectures for web applications which are to be implemented using Java. The answers to this question may serve as a library of various web application designs with their pros and cons. While I realize that the answers will be subjective, let's try to be...

Are there any free and open-source server-side analytics engines?

If you have any experiences with them, what are your thoughts on them as well? ...

How Can I put information in a outputstream from tapestry5 ?

How Can I put information in a outputstream from tapestry5 ? I need a page when a user enters it open a dialog for save or open the file with the outputstream information. I write the next code: public class Index { @Inject private RequestGlobals requestGlobals; @OnEvent("activate") public void onActivate() { try { HttpS...

Why do requests and responses get lost?

Even on big-time sites such as Google, I sometimes make a request and the browser just sits there. The hourglass will turn indefinitely until I click again, after which I get a response instantly. So, the response or request is simply getting lost on the internet. As a developer of ASP.NET web applications, is there any way for me t...

How would you design a hackable url

Imagine you had a group of product categories organized in a nice tree hierarchy and you wanted to provide hackable urls to browse these. You could do something like this /catalog/categorya/categoryb/categoryc You could then quite easily figure out which category you should list the products for (note that the full URL is needed since...

Identifying different mobile handsets and redirecting to different websites

I have 3 mobile versions of a website and would like to present each to different handset models according to what they support. One version is monochromatic WML, another is color WML and another is XHTML for mobile. What's the best way to identify the device in the request and know if it supports a version or another? ...

Best practices for allowing users to choose a display name on a social networking website?

I run a social networking / blogging website ( http://www.obsidianportal.com ), and currently the users are identified by their unique (and unchangeable) username everywhere. Many have requested the ability to have a display name as well that they can choose. I'd like to support this, but I'm worried about spoofing and identity theft. ...

Latest web application features

What kind of features web users are expecting or excited about? I am aware of Ajax. Any thing else? I dont understand how tags are important even on this stackoverflow site. I dont understand how wiki is an important feature? I see that questions get "kicked" in terms of improtance or relevance but still dont understand full impact of it...

Best practice for handling worm URLs

We've been getting request (from worms?) of the form http://www.example.com/MSOffice/cltreq.asp?... http://www.example.com/_vti_bin/owssvr.dll?... What is the best practice for dealing with these? I've considered either returning a 404 or trying to terminate the connection while leaving it open on the other end. Thoughts? ...

best free php poll

Can someone suggest me a good free php script to use as a poll for a web-site? I'd need a simple script to show on the web page with the standard multiple option vote + bar chart graph. Also an admin interface with add / edit / delete poll would be required. ...

How to get a pdf to display in a web browser before it's fully downloaded.

I have a client that's been struggling with slow loading pdf files on the web. My client has some very large pdf files that are almost 10 Mb. They take upwards of 3-4 minutes to download. The files will not display until the whole file is loaded. We and they have seen other's sites where the pdfs load one page at a time, so the end use...

Structure JSP/Java code where logic is not in the JSP file

This is a design question and good practice question. How do you structure your Java web development such that a lot of logic is not in the JSP file. Should you use any of the JSP tags for if structures or loops. I see a lot of code where the logic is hard to follow because of poorly designed JSP files. And then when you want to outp...

JMeter Tests and Non-Static GET/POST Parameters

What's the best strategy to use when writing JMeters tests against a web application where the values of certain query-string and post variables are going to change for each run. Quick, common, example You go to a Web Page Enter some information into a form Click Save Behind the scenes, a new record is entered in the database You want...

HTML viewer for ics (iCal) files

I'm creating a small app in ASP.NET MVC that generates ics (iCal) files based on certain criterias. The generated files are accessible through a permanent URL (http://myserver/some/criterias.ics). I am looking for a way to display the calendar data on the page to give the user a preview of the generated file. Ideally, I'd like a Google ...