Inspirations, captions, ideas and notes.

Archive for the ‘Web Development’ Category

Viewing ASP.NET / .ASP pages outside Visual Web Developer

Are you using Windows XP and having problems with viewing your .asp pages via localhost?  If you’re having trouble viewing your ASP.NET / .ASP pages, and can swear that IIS has been installed successfully like I did (hah), perhaps these steps will help you, like they helped me. I was able to view the .asp [...]

List of development resource

I keep coming across interesting development, coding or javascript sites but have not jotted them down… only to have trouble finding them again when I need them later. Sigh… yup, so here is a list, in no particular order. I’ll update this post as I go along… Web Development http://wdvl.internet.com/Authoring/Languages/XML/News/ Javascript http://javascript.internet.com http://www.beginningjavascript.com

Trapping malicious codes in your cfm sites

I came across this sometime ago, but complete forgot about it. If you are looking for ways to trap malicious codes in your cfm sites, have a look at this: Function isHackAttempt(MaliciousCode) { //Set the Regular Expression used and any local vars Var strRegex = “(%)|(– )|(‘ )|(script)|()|(%3c)|(%3e)|(script)|(SELECT)|(UPDATE) |(INSERT) |(DELETE) |(DROP)|(GRANT) |(REVOKE)|(UNION)|(<)|(>)”; Var blnCodeDetection = [...]

Follow-up on coldfusion jrun server problem

Here’s the final update. Sorry it took so long. Having isolated the problem and put in a quick fix through rectification of the database entries, we needed time to run through our codes to locate the point(s) of failure. Turns out, the error was not caused by Coldfusion after all. We have a piece of [...]

Still having jrun error…

The setting changes didn’t help, so Nithi has helped to put in the min and max java heap size setting in Coldfusion to 512 and 756.  This seems to have helped stabilise the high CPU hogging by jrun from a constant of 98%-100% to 80%-90%.  However, we feel the cpu utilisation shouldn’t be so high. [...]

‘Jrun closed connection’ error on Coldfusion

Our coldfusion server has been getting this error since Thursday and last night, we arranged for a backup server as a fallback should the main one fail. With 2.5 gb in the backup server, we decided to promote it as a main server instead. This morning, we checked the site again, and found that our [...]

Unit Testing

http://www.junit.org/index.htm

Set Up a Simple Syndication Feed Using RSS

Source: http://www.devx.com/xml/Article/10790 You can set up outbound syndication for your Web site and expose your content to the world in one afternoon using an XML technology called RSS. For anyone who ever wanted to increase audience and traffic while maintaining content and presentation control, RSS is the answer. Find out how to do it, step [...]

10 JSP tag libraries no programmer should be without

Cool reference for a newbie like me from http://blogs.techrepublic.com.com/programming-and-development/?p=426&tag=nl.e027  http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html This library is a must-have, because it incorporates a number of core enhancements to regular JSP. Some of its features include an XML manipulation library, an SQL library, special internationalization capabilities, and support for iterators and other program control mechanisms. Use this library when you [...]

Heap dump and harddisk space shortage

http://tutorials.beginners.co.uk/read/category/85/id/213

Follow

Get every new post delivered to your Inbox.