Friday, March 21, 2008
Converting to a different timezone using C#
Thursday, March 20, 2008
Lessons learned with Web Services in Eclipse 6
<mappings>
<mapping>
<property name="datePropertyName" nillable="true"/>
<property name="anotherDatePropertyName" nillable="true"/>
</mapping>
</mappings>
Storing application settings in a property file
Monday, March 17, 2008
Creating a web service in MyEclipse 5 or 6 and deploying to Tomcat application server.
Thursday, March 6, 2008
Setting Default page in JSF
<welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> That's it. Side Notes This all assumes that JSF is using the .faces pattern to designate what a JSF page is. The whole reason we need the first two steps to create the index.jsp file is because the welcome-file tag must point to a file that actually exists in the file system. It can't be a .faces file, because it doesn't actually exist. Has anyone tried it such that JSF is setup to use a pattern like /faces/* instead of *.faces?. I have not tried it, but I think the same problem would exist because the faces directory directory doesn't exist either. Feedback is welcome on this issue. Instead of the JSP forward tag, you could use pageContext.forward("/MyJSFPage.faces") or requestDispatcher.forward("/MyJSFPage.faces") and the behavior would be the same. On the other hand if you want the url to change to the url of the new page in the browser, you could use response.sendRedirect("...") which can redirect to any page on any server (any url really). The difference is that this sends a response to the browser that sends back an immediate request to the url that you wanted to redirect to. This is slower, but may be the behavior that you need in some cases.
Wednesday, March 5, 2008
PHP MS SQL extension connection bug
Monday, March 3, 2008
Installing PHP on Windows
If you have any trouble I suggest that you read this article on how to manually install PHP. It will give you a better understanding of what the installer does, and how PHP works.
http://www.iis-aid.com/articles/how_to_guides/installing_php_5_on_iis_in_5_simple_steps?page=0%2C0
For more information on doing development in an IDE with a debugger, check out my other blog entry titled "PHP Development Environment."