Yesterday I was trying to configure FreeMarker and CustomTags in a single application. No problems in CustomTags but I have wasted my whole day in getting the FreeMarker's Template path.
I was constantly getting the following error "javax.servlet.ServletException: Error:IOException while writing to clientTemplate firstftl.ftl not found." and the day ends. That was really frustating for me ;(
Some of my colleagues also tried their luck, but in vain !. Before leaving my desk at the day end I have posted this issue on FreeMarker Forum and left.
Today I have got the hint from that forum about the Templates Classpath to be set somewhere in properties file or xml's. After googling a bit I have found that I forgot to set the Template Path property in FreeMarker Configuration.
Its working fine now ... started my day with a little success :)
rizzz86
Tuesday, September 29, 2009
Monday, September 28, 2009
Using Custom Tag
After working for a whole week on custom tags, I have face number of basic issues that are now resolved. The issues are:
- I have'nt package the "java class" due to which .tld file not resolving the tag.
- I have created my own Tag interface and use it in my java class. This causes following exception "The method reuse(Tag) in the type TagHandlerPool is not applicable for the arguments"
Custom Tags
Today I have learned to use "Custom Tags" in JSP !!
Monday, September 21, 2009
ACA Solution Link
I have found the Treasure ;)
This link contains all the solutions of Advanced Computer Architecture Book of Morris Mano 3rd Edition.
http://www.4shared.com/file/72305700/78a50e5c/Computer_system_architecture_3rdEd-MorrisManop98.html?err=no-sess
This link contains all the solutions of Advanced Computer Architecture Book of Morris Mano 3rd Edition.
http://www.4shared.com/file/
Working on Dhtml Goodies
I am using dhtml goodies in my web application to reuse its dynamic components.
After working on the form validation it seems good and provides lots of features specially including Position Absolute Validation. One thing that is disturbing me here is the validation-attribute "minlength". I have found that the "minlength" attribute does not works if the "required" value is missing.
In this case the minlength does not work. Adding the required value makes it work i.e.
After working on the form validation it seems good and provides lots of features specially including Position Absolute Validation. One thing that is disturbing me here is the validation-attribute "minlength". I have found that the "minlength" attribute does not works if the "required" value is missing.
< .... maxlength="10" minlength="3" type="text">.
In this case the minlength does not work. Adding the required value makes it work i.e.
< .... maxlength="10" minlength="3" type="text" required>.
dhtmlGoodies
Today i have used the dhtml goodies library in my project. It contains many different valuable javascript/html components that requires lot of hard work to create.
The Tree component and the Form Validation is used.
The Tree component and the Form Validation is used.
Sunday, September 13, 2009
FreeMarker
Today I have Learned that "FreeMarker is a Java Based Templating Engine". It is a tool to generate text output (anything from HTML to auto-generate code) through Templates.
Thursday, September 10, 2009
Unobstrusive vs obstrusive
Today I have learned the difference between Unobstrusive and Obtrusive Javascript :)
Wednesday, September 9, 2009
iBatis
Trying to design something like iBatis. Getting help from following link(s):
http://opensource.atlassian.com/confluence/oss/display/IBATIS/iBATIS+3.0+Whiteboard
rizzz86
http://opensource.atlassian.com/confluence/oss/display/IBATIS/iBATIS+3.0+Whiteboard
rizzz86
Subscribe to:
Posts (Atom)