web-development

Message=Server did not recognize the value of HTTP Header SOAPAction: error

HI Guys, I have created a web service. And I m able to hit the web service using SOAPUI but when i try to call through my code I get this error. Any ideas? ok the web service code looks like this: [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [WebServiceBindingAttribute(Name = "SoapBinding", Namespace = "xyz")] [System....

PHP not loading custom extension

Hey all, I'm writing a custom extension in PHP and am loading the extension in the php.ini file. The extension loads and runs fine when using the command-line interface, but it doesn't load in the web server (Cherokee with FastCGI). To head off some questions before they're asked, I am definitely using the proper php.ini file(s) and I'v...

Storing data for web application in python dictionary

Is it feasible to store data for a web application inside the program itself, e.g. as a large dictionary? The data would mostly be just a few hundred short-ish text blocks (roughly blog post size), and it will not be altered/added to at all by the users (although I would want to be able to update it myself every so often). Up until now...

How to Apply CSS to ASP:FileUpload Control

How exactly do I style this control? I have tried this but it doesn't work. <asp:FileUpload id="upload_tb" runat="server" /> #upload_tb { width: 500px; } Also how can I style the browse button that comes with this control? If it is not possible are there other alternatives? Edit: I checked the generated source and asp.net gives ...

How queries are sent back in an HttpRequest

I'm going to try to use the WebClient object in .NET to grab the response querystring values sent back by the resource. I'm familiar with grabbing xml, json, etc. but typically I haven't worked with many NVP type of APIs in terms of grabbing the query immediately from an response sent back from a resource server-side. So how is a query...

Is it safe to serve an image on the web without an extension?

I'm treating all *.jpg files as static, but I need to serve a few dynamically. Can I simply omit the extension so I don't have to get fancy with my url rules? Is it enough to just set the file type in the header? ...

Web App Tracing/Debugging

Hi, Can people pls suggest any open source tools that can be used to trace/monitor a persons web activity inorder to determine any code issues for a particular web app? Basically, I have a web app that I have developed and some users are experiencing page stalls and was wondering on what the best way to track down these issues? Thanks...

javascript:void(0) or onclick="return false" for <a> - which is better?

There is a javascript-based interface - so I need not to support work without javascript. I have an <a>Something</a> elements with JS code, which binds on click event - so, I don't want page reload after user's click. Which way is better? 1. <a href="javascript:void(0)">Something</a> 2. <a href="#" onclick="return false;">Somethin...

What is the best open source JavaScript open id selector?

What is the best open source javascript open id selector? ...

Pause after first keypress

There is a slight pause after any first keypress. Here's the log: [00.000ms] keypress -- first keypress [496.00ms] keypress -- second keypress after 496 ms [39.000ms] keypress -- every other keypress after about 20-40 ms. [41.000ms] keypress [21.000ms] keypress [39.000ms] keypress ... So there's a pause of half a second after a...

Resize event not handled

I have a simple webpage that IIS is hosting. This page is being called via a window.openModalDialog() command. I am using IE8. The div/body are set to fill the browser window. This works everytime except the first time this page is loaded. The first time this page is loaded, the body does not fill the size of the browser window. For so...

What Web/application servers to use for Python

Hello, I would like to start writing Python web apps, first start simple like servlets in Java, then move to some web frameworks. What server could I use to develop the apps? Is there a Tomcat version for Python? Is Apache with mod_python the way to go or something else? Thank you! PS: It is for Python 2.6.5, if that makes a differe...

How can i use the different view modes of a mobile widget?

I'm trying to make a mobile application using the Vodafone Mobile Widget Platform and I've seen they support different view modes, like... docked, floating, etc... How can make use of them? Also, is there any way to detect when a widget is docked or is floating? ...

How to add hover effect to menu using jQuery

Hi. I've got the top menu on this page, implemented as a list (UL with ID "top-nav"): http://bit.ly/dzVXB1 I've been wrestling with it and trying to figure out how to add a fade-in/fade-out effect using jQuery when the user hovers over it. So instead of the background image changing instantly, it would fade in slowly. Here's the HTML:...

What is the difference in work and responsibility between all Web Development Job's designations/Title?

What is the difference in work, software/coding/programing/designing skills, and responsibility between all these Job designations/Title? I found all these terms in jobs posted on linkedin.com and on various job sites under category IT - Software. when i search for jobs in Web development. Graphic Designer Digital Designer Web Design...

How to redirect all broken links to a standard error page?

Hello all, I am using XAMPP on windows machine for designing my prototype. Here is the question. Howe can I redirect all broken links on my webpage to a prefine error page? Thank you ...

Should Unicode be allowed in usernames?

Why do most (all?) websites only support usernames in ASCII? Are there any security considerations if an admin decides to start accepting Unicode usernames? ...

Storing SSL cert in source control

Would there be a security issue with storing the SSL cert for your web app in the source code repository, SO LONG AS you were NOT storing your private key as well? I'm a little spoiled by how easy it is to use source control to make a backup of such things, and want to make the most of it, but I also don't want to be sloppy about its us...

Lua as a web language

Hello, I'm building a new game and I need to build a web app to help manage content generation. The app would consist of a couple simple forms that would tie into a MySQL db. I've been really interested in learning Lua for a long time due to it's large popularity in the video game industry and was wondering how well it works as a serv...

JSF: How to refresh a page after download

I have a commandButton that will invoke a function to download a file (standard stuffs like InputStream, BufferedOutputStream ...) After download success, at the end of the function, I change some values of the current object and persist it into database. All of these work correctly. Now when file is done downloading, the content of the ...