web-development

Are Visual Studio web projects Web Standard friendly?

I'm struggling with a few in-house developers that are creating some web apps in VS 2008 using C#. It appears that the native tools and components in VS 2008 are not being nice about creating Web Standard code. For example, the navigation component creates items in its own table structure. Is there anyway to make a web project from ...

How to overcome <customErrors> error in a .NET remote hosting environment?

I am hoping that someone around here already confronted this error and is an easy fix. We are unable to see the real error, and we have done all that we think we can do. Any ideas, apparently we cannot see the error because of security. We are always able to setup hosting internally but we want to avoid that. Any ideas? The screensho...

Selecting a programming language for easy web development with good IDE

I am looking for some recommendations regarding choice of programming language / technology for web development. I know there have been several discussions around similar subject on SO but perhaps the following set of criteria (in order of importance) add a bit of spin: has good quality IDE that facilitates development process (like ha...

Are web-safe colors still relevant?

Since the vast majority of monitors are 16-bit color or more, including mobile devices, does it make sense to even consider web-safe colors when choosing color schemes? Or is it something that ought to be relegated to history as a piece of trivia? For those of you that don't know what web-safe colors are: Another set of 216 color v...

What is the best way to post embedded audio (.wma) on a website?

I post video files to websites I develop with embedded youtube, works great. What is currently the best way to post audio files the same way, e.g. a .wma file? ...

Pylons is confusing: help!

Hi. I'm a long-time PHP developer looking to try out Python for web development. I've used Python in the past a bit, but I'm still quite new at it. I've taken a look at Pylons, and I have to say that it's extremely confusing to me. All the documentation I can find are just "copy and paste this" tutorials which don't seem to explain muc...

How to design for JPA in a non-JEE web server (e.g. Tomcat)

Considering there is no @PersistenceContext available to inject the EntityManager, plus you need to manually manage Transactions, what is the best way to design such an application? For the EntityManagerFactory/EntityManager, as far as I can see, you must have each DAO accepting an EntityManager in the costructor e.g. public class DAOI...

Best way to store "views" of an topic

I use this code to update views of an topic. UPDATE topics SET views = views + 1 WHERE id = $id Problem is that users likes spam to F5 to get ridiculous amounts of views. How should I do to get unique hits? Make a new table where I store the IP? Don't want to store it in cookies. It's too easy to clear your cookies. ...

The 'Fit to Width' button in Opera

There is a button named 'Fit to Width' in Opera. (I don't know maybe other browsers have something similar.) So, my question is how to make this button invalid while browsing my web site. I don't like this button because web design gets destroyed if this option is active. ...

multiple file upload in just single browse click without jquery

how to create control in web application that allows multiple file selection in single button click similar to control opefiledialog in windows application ...

What could cause issues with JavaScript setting cookies?

I have an app that is run from a compiled DLL on a web server. I need to do some Single Sign On (SSO) integration with the app, and the only way I can "inject" functionality, is to modify an external JavaScript file that gets referenced. In the JavaScript file are some code blocks to set cookies with the session ID of that App. I trie...

Redirect problems on PHP Web site

I created a simple PHP site for a friend last year. I went to check out the site yesterday and when the main page loads up, my AV software (Avira Antivir) raises an alarm about a JS/Redirector.A malware infection. The message seems to indicate that one of the CSS files is infected. I'm obviously going to go through all the code on the s...

Call one function from another function in javascript

Hi I'm still a novice with web technologies and I have a few questions in line with the following code. I'm trying to call a function getDetails() from another javascript function displayTable(). displayTable() gets invoked on clicking the button 'My CD Facts'. Well, its not working for me. I guess its some thing daft but I'm not abl...

Resources to learn and understand state-of-the-art web development in Java ?

Hi I'm trying to learn web development in Java and, from what I have seen so far, I think it's easy to get lost in the endless numbers of libraries, frameworks, techniques available. Too many books focus on some specific component (Spring, Hibernate, JSP, ...) and give only "hello world" examples. I'm looking for books or web resources...

BanBuilder Banned-Word List Generator - Would You Use It?

From http://banbuilder.com/: Why BanBuilder? BanBuilder is designed to allow you to customize your banned-words list, and is constantly evolving. As people find new ways around the banned words (using symbols instead of letters, for example), they get added to the database. And its all free! The idea sounds great, ...

Have a webpart hide its self, if the user doesn't have proper permission

If the user creates a web part page in SharePoint and then adds one of my custom web parts to it, I would like to completely hide a web part depending on a particular users permissions. For example, I have a reporting web part some users have access to reports and some don't, I don't even want some users to know that reports exist. I ...

Can you detect what framework a website is running on or what cms they use?

If you have a suspicion that a website is running on a certain framework or using a certain CMS is there a way to tell for certain? I have found methods for drupal using the Live HTTP headers plugin (http://www.lullabot.com/articles/is-site-running-drupal) but I am currently looking for a way to figure out if a site is using the Zend fra...

How to configure SMTP in IIS 7?

How to to configure SMTP mail in IIS 7? I am new to IIS 7 and want to know how to configure that, or its better to keep using the IIS 6 SMTP? Any one know where to find some videos to learn SMTP in IIS 7? ...

Can anyone recommend a java web-framework for large application?

We are going to start a large and scalable application which has around 50,000 to 200,000 users. my partner told me Both Groovy and OpenXava are framework for small development. My co-worker told me Both Groovy and OpenXava are framework for small development. i want to know if it's true or which framework do you recommend me. ...

How can I read text from cache into user name field of ASP.NET login control

I have a primary ASP.NET site that asks for a user name. When the user gives a user name and clicks the submit button, he/she is redirected to the respective application (actual site) based on their user name (user name goes into cache here). User names across all sites are unique. I want to use the cache to read back the user name en...