I'm having a bit of trouble with the following code. I have an absolutely positioned div, inside of which I have 3 elements: 1 text input, 1 password and a button containing an image. The markup is as follows:
<div id="credentials">
<input type="text" id="username" />
<input type="password" id="password" />
<button ty...
Is element <load-on-startup> optional for a <servlet> definition in the Java Web application deployment descriptor (WEB-INF/web.xml)?
...
I usually write web apps in PHP, Ruby or Perl. I am starting the study of Scheme and I want to try some web project with this language. But I can't find what is the best environment for this.
I am looking for the following features:
A simple way of get the request parameters (something like: get-get #key, get-post #key, get-cookie #ke...
I'm trying to make a color picker in Silverlight similar to this one but I'm having trouble implementing the cursor in the large square area. In order to keep track of the mouse state I have an _isMouseDown variable. On the MouseLeave event _isMouseDown is set to false, so that if a user drags out of the large square area, releases, and ...
<% System.getProperty("os.name") %> can be used to identify the OS name running in the server machine. But how can i identify the OS information in the client machine using java in a web application?
...
I'm trying to build a web application that is similar to Youtube (it's not a knock off), but I guess I don't know how video is served on the internet very well.
I know how to build regular database driven web applications, but nothing like the scalability of Youtube. All of the applications I have built before have all been run on one s...
I'm currently building a web application (utilizing Zend Framework) and have gotten some of the basic HTTP status codes down, such as:
404 on missing controller/action
500 on server exception
3xx returned by Apache
At the moment I have just implemented some basic ACL checking that the user is authorized to access a certain resource. ...
I noticed that certain web pages do highlight the words I googled for.
Example: Try searching for "virtualbox" and go to the VirtualBox page. Now "virtualbox" is highlighted on that page.
I want to do the same on my page. How can I know the words the user was searching for?
...
I am currently working on a pretty large application which contains a lot of forms.
Up to this moment, I have always been writing my forms by hand and writing my own validation logic, but I have decided it was about time I started using Zend_Form and it's built-in validation routines.
However, I keep stumbling upon more and more proble...
I always used to use Dreamweaver for web work, but now I work in Emacs, with Filezilla for non-text file uploads. What I miss from Dreamweaver is the easy synchronisation feature in its file manager. Is there any simple opensource software that would fill this gap for me?
...
I have a layout of fixed-pixel width (960px) with a navigation bar that has five items in it. The width of the nav div is set to 100%, but its content ends up taking exactly 960px. The navigation is a bit complicated with a set of drop-downs and links. The problem is that zooming the page out at all causes the navigation bar to get cli...
I'm not much of a web programmer, but I'm creating a simple web app that has a form where the user can enter a series of points (x,y,z) but I don't know how many the user is going to enter. I don't want to guess the probable maximum (100 maybe?) and put 100 fields on the form because it would look ugly. What's the easiest way to add more...
I looked through this list of “Hidden” features/tricks for Eclipse?", but it doesn't have anything for web-developement (jsp). A very useful list of tricks for a general eclipse user!
I work with jsp pages in Eclipse Ganymede, and I would like to find out a list of shortcuts commonly used to facilitate development. I always seem to str...
When you set an html element to have display: none, the content inside that element (e.g. images and flash) wont be loaded by Firefox until the element is set to be displayed.
But Internet Explorer dont behave like that. It loads everything inside hidden elements from start.
Is there a way to prevent IE from loading such content without...
Have you read a book on web application security that could serve as a solid introduction to the subject for beginning web programmers?
So far I've found the following canditates, but none of them seem to be suitable for beginners (I haven't read any of these, this is just my impression from what is available on the web):
Stuttard, ...
I've been working on div with rounded corners. I've got it displaying properly in everything except IE (testing with 7). In every other browser, the div's width fits only the elements inside, just as intended. In IE, however, the width of the div is 100% of the page. I've searched a bit, but could only find information regarding IE issue...
The web dev toolbar for Firefox is quite an impressive tool.
What I am completely clueless about is how does this tool get the css stylesheet file of a site? This is hosted on a host which is secure etc. I am completely stumped.
I must be thinking about this in all the wrong way.
Thanks
...
I need to access and download data from a MySQL database without connecting to the database during development in VisualStudio. Is there a way to program it blindly (since I know what the database looks like) like its done in PHP?
Alternatively, can I use download the database schema and use it in Visual Studio?
...
I have a top-level page called ReceiveItem. Within that page, I have a couple different FORMs - only one of which will be filled out and submitted (depending upon how that item is received). This all works quite well from the UI perspective. Here is the general page structure:
<ReceiveItem.aspx>
<ReceiveNewInventory.ascx>
<Recei...
I have this idea for a imageshack style photo uploading service where you can paste a printscreen and then crop it in your browser. I am just wondering if it is even possible to take the image from the clipboard into the browser.
...