Tuesday, May 7, 2013

W3C DOM Parser

No comments:
W3C DOM Parser

We can use both jdom as well as w3c dom. In this I am going to explain about w3c dom.


Getting the document on w3c dom.



Some common function for Dom processing


We can specify the xpath value to get the specific tag/ Node.


From other resource example (stackoverflow),

Getting all the tags called "sites" and getting child node value using getTagValue common method.




Happy Coding :)
Read More

Saturday, May 4, 2013

Struts2 Application developemnt with Jquery

No comments:
Struts2 Application developemnt with Jquery

It is very easy to integrate Struts2 applicaiton with Jqery. There are many existing solution that can be used to solve it. No need to start from scratch.

http://struts.jgeppert.com/struts2-jquery-showcase

Which is popular among the jquery plugin. This site is having nice tutorial.

Other Sites :
http://malsup.com/jquery/form/#fields


http://struts.jgeppert.com is also having struts2-bootstap plugin, which contains bootstarp theme that can be integrated with struts2. Instead of struts2 default theme. We can use bootstarp theme.



--
Thank you.


Regards,
Kaleeswaran.S
Read More