web

Plesk Rebranding Web Hosting

Hey I recently bought the new Plesk software and im unsure on how to re-brand the site to our company logos and themes. Does anyone know the steps to changes these settings or a manual that would answer my questions? Regards, Oliver James ...

Persisting Child Objects when the Parent is incomplete in a web application

I am trying to establish the best practice for handling the creation of child objects when the parent object is incomplete or doesn't yet exist in a web application. I want to handle this in a stateless way so in memory objects are out. For example, say we have a bug tracking application. A Bug has a title and a description (both requi...

What is the best way to store text files remotely?

Hello, I am building a "document storage" system for storing text files on my server. I was wondering if anybody has any recommendations or best practices on the best way to store text files remotely. The system will be user-based, each user can upload multiple text files. I want the text files to be stored in some fashion which is e...

How do I stop the browser from loading status?

The scenario: I dynamically create an iframe and a form inside it via JavaScript. The form is submitted via JavaScript and sends a POST request to a server. The request is received, but the browser stays on loading status (the progress bar at the bottom of the window keeps progressing and doesn't stop, only happens after form submissio...

error-page directive in web.xml does not display UTF8 properly

I have an application web.xml with the following entry: <error-page> <error-code>404</error-code> <location>/system_files/error/p_notfound.jsp</location> </error-page> However, when this page is displayed, Japanese characters are garbled. The same page (p_notfound.jsp) displays properly if displayed directly or even through ...

Decent low-footprint web server? (.net)

I'm looking for a server which is: Lightweight, Non-buggy, Supports .NET, Runs on client for testing, Runs on Windows Cassinni is too buggy, IIS is too expensive, Apache is hard to setup, XSP is linux only Visual Web Developer's is cutting it. ...

Which .net Web Application Framework to use ?

I am looking for a solid and easy to pick up .NET Web Application Framework for company-wide development use. I am considering DotNetNuke. Is it good ? What else can you recommend ? ...

Web application database concurrency

Dear, I have a web application (ASP.net 2.0) that has a database (SQL Server) at the background. I'm considering ways how to handle database concurrency if two users insert the same data to the same table at the same time. Are there any way to handle this case? Thanks in advance. Jimmy ...

How do you combat website spoofing/phishing?

What is your suggested solution for the threat of website UI spoofing? ...

How to write a java web service to do remote login?

I have two application. I need to do a single signon from application a to application b. I thinking of using web service. I wonder how do i go about that approach. Can anyone advise? ...

Secured File download in Groovy

I need to get a file into memory in my app from a secured web location. I have the URL of the file to capture, but can't seem to get the security issue resolved. Here's the code from the Cookbook samples page: def download(address) { def file = new FileOutputStream(address.tokenize("/")[-1]) def out = new BufferedOutputStream(...

Differences in reload behavior between FF and IE

In Firefox a Reload seems to reload everything while on IE the Refresh reloads just the HTML part of the current page. In IE you need to press Ctrl-F5 for a complete reload. Why this difference and is it somewhere an article explaining this difference more thoroughly? ...

Emitting headers from a tiny Python web-framework

I am writing a web-framework for Python, of which the goal is to be as "small" as possible (currently under 100 lines of code).. You can see the current code on github Basically it's written to be as simple to use as possible. An example "Hello World" like site: from pyerweb import GET, runner @GET("/") def index(): return "<stron...

PHP: Cookie domain / subdomain control.

Hi All, I'm working on a site with multiple subdomains, some of which should get their own session. I think I've got it worked out, but have noticed something about cookie handling that I don't understand. I don't see anything in the docs that explains it, so thought I would see if anyone here has some light to shed on the question. ...

How to share web content between eclipse projects

While the J2EE module reference feature allows your to create common Java library projects, I can't find a neat way to do this for web content. I have common JSPs, CSS files, JavaScript libraries and even descriptor fragments that I would like to use across a number of Dynamic Web Projects, so that these artefacts are edited i only one...

How do autocomplete suggestions work?

For example, if you type something in upper-right google/yahoo search box in firefox there will be some kind 'suggested auto complete' sort of thing. Another example is in youtube search box and Stackoverflow tags edit box just below this question preview. How do they work? What technology behind 'em? ...

Cross-platform executable/runtime delivery method

I need assistance finding a delivery method that best fulfills the following requirements: We wish to deliver a single file to my clients. Clients should be able to launch this file from the operating system shell - much like running an '.exe' on Windows. After being launched, the program/script should be able to display a window with ...

load test / stress test web services

Hi, Does anyone know of a good tool to test load and stress on webservices? I've been looking at Watir and Selenium, but there more web page centered. Thanks in advance. ...

ASP.NET Web Setup

I have 3 web projects in a Visual studio solution.I want to create a single web setup project which should install all 3 web projects in their virtual directories.So how to create a single web setup project which supports multiple web application installation? ...

Websites for the iPhone - but what about other platforms?

I recently did the Chris Coyier tutorial from the css-tricks.com weblog #38: Basics & Tips on Designing for the iPhone. Needless to say I got very excited and suggested to a guy that I do some code monkey work for that we could now offer iPhone websites to his clients. He said cool, but what about other mobile devices? good question. So ...