Wildcard string comparison in Javascript

I think you meant something like “*” (star) as a wildcard for example: “a*b” => everything that starts with “a” and ends with “b” “a*” => everything that starts with “a” “*b” => everything that ends with “b” “*a*” => everything that has an “a” in it “*a*b*”=> everything that has an “a” in it, … Read more

‘Cannot find DAO350.dll’ file error VB6

The DA0350.dll must be registered. Try this: On the Visual Basic 6.0 CD (or whatever your installation source is), locate the Dao350.dll file, and then copy it to the directory c:\program files\common files\microsoft shared\DAO. (The Dao350.dll file is located in the \os\system folder on the Visual Basic 6.0 CD.) To register this file, click Start, … Read more

The import javax.servlet can’t be resolved 

You need to add the Servlet API to your classpath. In Tomcat 6.0, this is in a JAR called servlet-api.jar in Tomcat’s lib folder. You can either add a reference to that JAR to the project’s classpath, or put a copy of the JAR in your Eclipse project and add it to the classpath from there. If you want … Read more

How to use Git and Dropbox together?

I think that Git on Dropbox is great. I use it all the time. I have multiple computers (two at home and one at work) on which I use Dropbox as a central bare repository. Since I don’t want to host it on a public service, and I don’t have access to a server that … Read more

REST web service WSDL? 

With a good RESTful service, it’s not necessary to generate WADL (let alone the much-less-well-fitting WSDL) for it because it will self-describe. By “self-describe” I specifically mean that it will deliver documents describing all the (relevant) resources published by the service, and that using a standard HTTP OPTIONS request on any of these will produce … Read more