web-development

best way to switch between secure and unsecure connection without bugging the user

The problem I am trying to tackle is simple. I have two pages - the first is a registration page, I take in a few fields from the user, once they submit it takes them to another page that processes the data, stores it to a database, and if successful, gives a confirmation message. Here is my issue - the data from the user is sensitive ...

Suggestions for designing large-scale Java webapp from the ground up

Hi all, I'm about to start developing a large-scale system and I'm struggling with which direction to proceed. I've done plenty of Java web apps before and I have plenty of experience with servlet containers and GWT and some experience with Spring. The problem is most of my webapps have been thrown together just to be a proof of conce...

HTML5 tags not working at all in firefox 3.6.3

Okay, so I'm trying to get into this whole HTML 5 thing, and this tutorial (http://www.webreference.com/authoring/languages/html/HTML5/) says that these tags should move the content around without any kind of CSS at all, but all I'm getting is a line of text that looks like this: Header tag Nav tag Artical Section tags Aside t...

How to prevent phone numbers to be converted into Skype links?

On those Windows machines with Skype installed, it tends to convert all phone-formatted numbers to Skype links so you can click it in order to make a call on Skype. The question is how do you prevent that to happen for a certain number on page? ...

question on web development lanaguages

Hello guys, i am just finished college and worked with the java language for the past few years. i want to change, what do you guys think is the most usefull web development language to use? what would you guys recommend for me to learn rite so guys u have all explained a different language, lets say i would like to create a file s...

Storing script files outside web root

I've seen recommendations to store some or all php include files some place other than in the web document root directory (username/public_html in my case) for the specific reason of protecting php files with sensitive information (like database connection and login info) in the event that the web server hiccups and stops protecting php ...

webprogramming -what is the learning pathway ?

i have some knowledge of css,jQuery,Grails,django,servlets and jsp still i can't see me designing good professional looking websites .what am lacking ? should i start learning jQUery ui ,should i get into adobe products like flash i am pretty confused. i am pretty bad in the userinterface part, ...

Have a range of IE builds on test machine

I currently have a testing environment for web apps on a virtual machine. The problem - i would like to keep IE 6 for testing and also have access to newer versions of IE as well. How can i do this? Thanks. ...

Split string by HTML entities?

My string contain a lot of HTML entities, like this "Hello <everybody> there" And I want to split it by HTML entities into this : Hello everybody there Can anybody suggest me a way to do this please? May be using Regex? ...

How could I iterate the values in ArrayList in java from java script?

I have stored a bulk of objects in an ArrayList and I have set that in the request. Now I want to retrive the values in the Arraylist from my java script. Please help me with the solution ...

Overview of mobile browsers and their features?

I'm looking for a comparison of the features of mobile browsers. Most interesting are the default preinstalled browsers. I would love a matrix that shows what device line can do what with their preinstalled browser. There is a list with rendering engines on wikipedia but there should be differences appart from the rendering right? I a...

html5media library doesn't work on FF 3.6.3

Hi. Am I the only one experiencing this issue? I'm using the html5media library and the test page they provide no longer plays in Firefox 3.6.3, though it plays on the latest Safari, Chrome, Opera, and IE. On FF 3.6.3, it shows the video and the audio with large X through them. I'm using this library on my site and noticed the issue as w...

Is the Windows dev environment worth the cost?

I recently made the move from Linux development to Windows development. And as much of a Linux enthusiast that I am, I have to say - C# is a beautiful language, Visual Studio is terrific, and now that I've bought myself a trackball my wrist has stopped hurting from using the mouse so much. But there's one thing I can't get past: the co...

Appending to InnerHtml without rest of contents flicking

I have a div element with some formatted images. On user request, I load additional images asynchronously, without postback, and append the result (formatted HTML for new images) to the div element using JavaScript: function onRequestComplete(result) { var images = document.getElementById('images'); images.InnerHtml += r...

Python timed file upload

I have a python script that accepts a file from the user and saves it. Is it possible to not upload the file immediately but to que it up and when the server has less load to upload it then. Can this be done by transferring the file to the browsers storage area or taking the file from the Harddrive and transferring to the User's RAM? ...

Should autocomplete="off" be used for all sensitive fields?

What are your thoughts about this issue in regards to an e-commerce environment? Do you think it is wise to turn autocomplete off on all sensitive input fields such as passwords (for log-in areas), or will this just inconvenience the client? ...

Any way to display C++ on a webpage?

Is there a relatively easy way to display the output of a C++ program on a webpage? And I don't mean manually, in other words, you see it on a webpage as it runs not as in I make a code tag and write it in myself. EDIT: Just so everybody can get this clear I am going to post this up here. I am NOT trying to make a webpage in C++. Please...

Conditional Comments Firefox

Are there specific Conditional Comments available for older versions of Firefox? (eg 3.0) ...

License similar to the MIT license but without the ability to sell?

I'm trying to decide how I want to license my Wordpress themes to the public. I know that the GPL is recommended to Wordpress theme creators, however I feel it might not be liberal enough for me because I want businesses to be able to use them if they want to. I really like the MIT license, the only thing that gets me is the freedom to s...

Difference between two commands of fetching Shopping Cart Items in Magento

In Magento, if you need to get / fetch the Shopping Cart's Item details, you can do it in any of the two possible ways, which will provide you with all the shopped Items in an array:- $cartItems1 = $cart->getQuote()->getAllItems(); $cartItems2 = $cart->getItems()->getData(); But before using any one of the above two methods, you need...