web-development

How do I politely decline building stuff for relatives/friends?

The build I like to build stuff in my free time, and I have coded several websites for stuff I am part of. I've build a family webzone where my family can log in, and I've build the webportal of my current hobby, the 501st legion. All are custom created webapps, and I've learned a lot building this stuff. When I look at them now, it's a...

Web File Organization Best Practices - ASP.NET - Web Forms

Hello, please guys could you give me your opinions how to organize files for a Simple CMS project using asp.net WebForms? For example for admin section... would you make sense divide all main group section in different folder ex: ROOT ADMIN Default.aspx CATEGORIES CreateCategory.aspx ...

WEB-INF content access in another war..

Hi All, I have three war files (War-Common, War-Physical, War-Derivatives) and we are packaging them in an EAR file. I am able to access content (Images, CSS, JavaScripts etc.) of War-Common in War-Physical and War-Derivatives but I am not able to access content of WEB-INF folder of War-Common War. We are acutally placing jsp custom tag...

How to write an NPAPI plugin with functionality of WScript.Shell

I am very new to Web development, and have been writing some javascript that makes use of WScript.Shell via ActiveX. I am aware that browsers other than IE don't support ActiveX though. After doing some digging through Google, I have discovered that I may be able to do something similar on all web kit based browsers via NPAPI. I have n...

php developer tools

Possible Duplicate: Any good PHP IDE, preferably free or cheap? can anyone suggest good php developer tools to do the php scripting/coding easy. I dont know much about zend studio, is this a developer for php ...

window.open cache problem

Hi all, I'm using window.open in a function to open a web page, which displays help for the current page. The pages URL are stored in DB , some pages need authentication. For these pages, the first time we call them the user has to authenticate, but if he closes the page and opens it another time , it's the cached page that is displa...

Learning Web Development starting with ASP.NET MVC

Hi, I have been working with C# for past four years at the enterprise level. Now, I have taken a decision of moving to Web side of the things. Since I am well versed with C# and WCF I naturally zeroed in on ASP.NET as I need not learn a new Programming language. Learning just the Web Framework will suffice. I have read a lot regarding ...

finding users IP Address and MAC address from web browser

Is it possible to find out the clients IP and possibly MAC address from non IE browsers (i.e. without using ActiveX)? If so, how? ...

@font-face rendering performance

Hi, i'm building a site where we are considering to use a custom font (using @font-face) for all text on the site, not just the headers. I've already integrated a custom @font-face on another site for just the headers, which works fine, but i'm a bit worried about performance (especially rendering) when using a webfont for everything. Es...

Best way to rewrite modern browsers to modern version of app?

I have a Flash app at URL-A. I have a new non Flash version, that only works in modern browsers at URL-B. I can redirect all visitors from URL-A to URL-B with .htaccess or PHP but I wont know what browser they have in order to determine if I need to redirect or not. So I am not sure what the best way to go about this is. Basically if y...

Very tedious accessibility question about alt tags

For a WCAG 2.0 compliant website need to have alt tags for the images. When it comes to something like a company logo. Should the alt tag just be the name of the company, or the name of the company followed by "Logo" I think the former makes more sense but if there is a definitive best practice I would like to know! Exciting question e...

localstorage in html5

How Does localStorage in HTML5 works ?? I searched every where (even in SO ) to find the actual internal logic of localStorage, but I ended up with visiting some examples which uses localStorage. I haven't found any useful Answer to my question. Can Someone post me a link or explain about the working of localStorage ...

Structure of web page. Huge gap. HTML or CSS issue?

Hi there, I am trying to build a web page and i have the following problem. I tried to upload a photo but I cannot because I don't have enough votes. I have a contacts page and my problem is that there is a huge gap between the contacts (little photos with people) and the grey layer in the bottom (please vote for me so that I can upload...

Is it vital to have an index page in your root eg index.html, index.php

I have and index.php page in my root that simple directs to what I would consider my homepage, like so: <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: /lake-district-cottages/" ); ?> is it best to just remove the index page and set my true index in my htaccess or is it required that I have a file called index? ...

How do I logout from Java EE container managed security?

I am working in websphere 7.0. I use the security from the application server. I would like to removing the association with the user, so user is redirected to the login page before accessing a secure resource (and request.getUserPrincipal() returns null). I try : request.getSession().invalidate(); but the user principal is still ...

Download text as a file from a webpage

I'm downloading text from a website and I want to have the user be able to save it as a file. So, I have the following code that does just that. protected void DownloadFile(string fileName, string content) { Response.Clear(); Response.ClearContent(); Response.ClearHeaders(); Response.AddHeader("Content-Disposition", "att...

How to integrate flex with existing web app?

I'm having trouble conceptually understanding how to integrate flex components -- forms, charts, data grids, etc. -- with an existing web app. There are certain aspects of the web application where I believe it makes more sense to use flex -- however, I DO NOT want to replace the (html/js/java) web-app with a pure flex based app. For e...

Web Layouts: pixels vs percentages

What are the use cases for defining distances in a web layout for pixels and percentages? Is there any downside to using pixels with respect to multiple resolutions? Will they scale correctly? ...

What is the correct way to design a .NET web application?

Months ago, I was put in charge of a web application, from scratch. I had never programmed in vb.NET and was only familiar with Classic ASP. That being the case, I put together a very workable site and yet feel as if I didn't do much better than a beginner. What is the correct or best format for designing a .net website. Master Pag...

How to prevent entry of HTML into ASP.NET Web form text box

Hello, I have several text boxes in an ASP.NET Web Form. I want to ensure that users are not entering HTML into those text boxes. However, I'm not sure how to prevent HTML from being entered. Because of this, I decided that I want to only allow alphanumeric characters, spaces, exclamation point, sharp sign, dollar signs, percentage sign...