I have a web page that displays a list of documents stored on the web site. I need to add a link next to each document that can e-mail it. By that I mean attach the entire document to the e-mail.
When clicking the e-mail link, a 'New Message' window needs to display with:
Subject line filled in with the title of the document (displaye...
I have a web based application that allows a user to point their DNS at my IP and my app will serve up their content based on the domain name I see in the HTTP host header. I should point out this is done by the application, not by the actual HTTP server(apache), it is a rebranded app sort of thing. The problem I have is that I would l...
So I'm working on an Intranet web application using ASP.NET MVC, and I need to create a link to a folder on the network. So, as an example, let's say I wanted to create a link to "C:\", and this uri is stored in site.DocsPath. I figured the easiest way to do this was just create a regular link, like this:
<a href="file:///<%= site.DocsP...
I've read all over the place NOT to use spaces in file names intended for use on the Web, e.g. URLs.
I don't understand what's wrong with using "%20" to replace them when referring to the name in my code. It seems more appropriate to use this replacement because I'm then preserving semantic meaning of my file name.
?
...
Within my HTML, can I use the character entity reference " " in place of "%20" in Web URLs?
They're both spaces, right?
...
I have a C#/.NET website on my local machine that I use to test.
Everytime I run the website in Internet Explorer 7, I have to empty the browser history or it will stay logged on as the previous person.
How do I make it so it lets me log in without having to empty the history every single time I want to test?
...
I find myself using exception in web development even for conditions that are not really errors, let alone exceptional ones - just logic decisions, validations...
in a web page, I often write code like so:
try
{
int id;
if(!int.TryParse(txtID.Text, out id))
throw new Exception("ID must be an integer");
if(IdAlreadyExi...
Does anyone know of an existing browser/OS useragent string grid? It's hard to test, and I would really like a broad sampling of useragent strings, if possible. If no such grid exists, mind posting your useragent string?
Given the idiosyncrocies of the browser/operating system combinations, this information is essential for successful w...
I'm new to web development, so I apologize if this question is noobish. I want to serve a file that is on the server's hard drive to the user when requested (ie, send an HTTP attachment to trigger the browser's "Save as..." dialog) in Javascript. The user clicks on a button on the page, the server generates a customized data file based o...
Hi
I am trying to get Jquery work in JSF.
But i doesn't work.
Can somebody help me ?
The scripts are in the folder : resources
This is my JSP code :
I am using netbeans and the
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : testpage
Created on : 08.07.2009, 01:16:01
Author : reBourne
-->
<jsp:root version="2.1" xm...
What do you think of Mr. King's software development analyst at http://devadept.com/?
I ask because reading his blog has made me rethink how I should be coding software. I mean, I used to concern myself with just getting a project done, but I think I may be missing something and his blog makes me feel that way.
Am I just a programmer ...
I thought I would try this here, as this site has been a fantastic place for answers so far! I’m interested to find out how people price up projects, as I’m currently having a problem with a client and the amount of designs/concepts we are doing.
So when you price up a project, do you give a fixed price and say you get 1 or 2 design co...
I'm currently writing a geographical web application. Obviously it needs access to some geographical data, like terrain elevation and the location of roads. The twist is that the application must be able to work disconnected from the internet - i.e. getting its GIS data from a server on the local network.
I'm assuming that I can't use t...
I'm using the technique described here to render a User Control to a string and it all works fine when the control contains just plain HTML, but when I try adding some server controls to the UC (like asp:button) I get the following error when calling server.execute:
"Error executing child request for
handler 'System.Web.UI.Page'."
...
Following the advice of the following post, I added the following code to one of my client's websites in .NET.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
For some reason the website is still not displaying the menus correctly. If I g...
I know Firebug is the standard, but I find myself using Chrome a lot (screen space, speed, etc.) Anyway, I think their inspector is pretty good, too. Certainly good enough that I don't want to fire up FF and navigate thru a site every time that I want to take a peak at the DOM.
However, probably the most annoying part is that I can't do...
I have a Java web application running in JBOSS with Tomcat with two web applications (contexts) running on it.
A button press on one of the applications opens runs a javascript command to open a new window with a page from the other.
The problem I seem to be having is that this raises a security alert in IE. with the following message:...
I have jquery multi-file working as shown in link text. However, what I really need is to be able to select a folder, then every file contained in the selected folder to be listed, at which the user could then remove any unwanted files before hitting 'upload.'
Has anyone done this with jquery multi-file upload? Would it be difficult to ...
Hi,
I would like to know where we can get good references (on the web) about User Interface design especially for web applications or web 2.0 ?
I would like to know how to arrange forms, text/fonts, margin etc ... it is not just about good looking design but also for good interaction between user and the software.
...
I want to have a small text box with a scroll bar that will hold frequent outputs from PHP based on server-side activity. How do I set up formatting like this?
...