<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3397026950963350442</id><updated>2012-02-01T13:13:58.876+05:30</updated><category term='SOAP'/><category term='WebServices'/><category term='WSDL'/><category term='unix-commads'/><category term='Axis'/><category term='Interceptor'/><category term='Maven'/><category term='unix'/><category term='OGNL'/><category term='concepts'/><category term='programming'/><category term='Authentication'/><category term='file download'/><category term='indentation'/><category term='struts2'/><category term='code'/><category term='dynamic form'/><category term='comments'/><title type='text'>Java Rushi</title><subtitle type='html'>Practical solutions to problems faced while working with WebSphere Portal 6.1, Struts2, Maven2, Apache Axis, Hibernate, Spring, etc. Java/JEE Frameworks.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://javarushi.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://javarushi.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Rushikesh S. Thakkar</name><uri>http://www.blogger.com/profile/12362073643824041816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_1VajMB3-4q0/SYxZBSSxYMI/AAAAAAAAA2I/JrLDrCyKfRw/S220/DSC00296.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3397026950963350442.post-6112127366397416924</id><published>2009-02-16T22:35:00.007+05:30</published><updated>2009-02-17T14:15:48.828+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='unix-commads'/><title type='text'>Useful Unix Commands for beginners</title><summary type='text'>(1) Copy directory:cp -r &lt;source_dir_path&gt; &lt;dest_dir_path&gt; (2) To recursively change file permissions for the entire directory:chmod -R 777 &lt;dir_name&gt;(3) To send contents of a text file as mail:mail mail.id@domain.com &lt; /tmp/file.txt (4) To change your account Password:passwd &lt;yourUserName&gt; (5) To set an Environment Variable:export VAR_NAME='value' Examples:export ANT_HOME='/export/opt/apache-ant</summary><link rel='replies' type='application/atom+xml' href='http://javarushi.blogspot.com/feeds/6112127366397416924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397026950963350442&amp;postID=6112127366397416924' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/6112127366397416924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/6112127366397416924'/><link rel='alternate' type='text/html' href='http://javarushi.blogspot.com/2009/02/useful-unix-commands-for-beginners.html' title='Useful Unix Commands for beginners'/><author><name>Rushikesh S. Thakkar</name><uri>http://www.blogger.com/profile/12362073643824041816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_1VajMB3-4q0/SYxZBSSxYMI/AAAAAAAAA2I/JrLDrCyKfRw/S220/DSC00296.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397026950963350442.post-5288986852380338440</id><published>2009-02-09T21:52:00.003+05:30</published><updated>2009-02-09T22:01:38.876+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='comments'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='concepts'/><category scheme='http://www.blogger.com/atom/ns#' term='indentation'/><title type='text'>About Writing comments in your code..</title><summary type='text'>"Write such a code that you don't have to write code comments."I don't remember the who said this, but I firmly believe in what he said. I think the class names, method names and variable names should be meaningful and there should be enough (doesn't mean 'too many') blank lines at appropriate places. Proper indentation is also must.If you make sure you have all of this, there should not be much </summary><link rel='replies' type='application/atom+xml' href='http://javarushi.blogspot.com/feeds/5288986852380338440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397026950963350442&amp;postID=5288986852380338440' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/5288986852380338440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/5288986852380338440'/><link rel='alternate' type='text/html' href='http://javarushi.blogspot.com/2009/02/about-writing-comments-in-your-code.html' title='About Writing comments in your code..'/><author><name>Rushikesh S. Thakkar</name><uri>http://www.blogger.com/profile/12362073643824041816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_1VajMB3-4q0/SYxZBSSxYMI/AAAAAAAAA2I/JrLDrCyKfRw/S220/DSC00296.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397026950963350442.post-2716558142144279619</id><published>2009-02-06T20:52:00.001+05:30</published><updated>2009-02-06T20:54:25.290+05:30</updated><title type='text'>Joke of the day!!</title><summary type='text'>Never let your boss know that you're writing blogs,you'll end up writing documentation of your project!!</summary><link rel='replies' type='application/atom+xml' href='http://javarushi.blogspot.com/feeds/2716558142144279619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397026950963350442&amp;postID=2716558142144279619' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/2716558142144279619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/2716558142144279619'/><link rel='alternate' type='text/html' href='http://javarushi.blogspot.com/2009/02/joke-of-day.html' title='Joke of the day!!'/><author><name>Rushikesh S. Thakkar</name><uri>http://www.blogger.com/profile/12362073643824041816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_1VajMB3-4q0/SYxZBSSxYMI/AAAAAAAAA2I/JrLDrCyKfRw/S220/DSC00296.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397026950963350442.post-1651167334367102566</id><published>2008-05-30T20:06:00.007+05:30</published><updated>2009-02-17T14:20:07.934+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Authentication'/><category scheme='http://www.blogger.com/atom/ns#' term='struts2'/><category scheme='http://www.blogger.com/atom/ns#' term='Interceptor'/><title type='text'>Authenticating Struts2 Applications using Interceptor</title><summary type='text'>When I needed to introduce authentication into my existing application, I tried searching for an Interceptor written and shared by someone on internet. And as I guessed, I found some really helpful pieces of code, ready-to-use.As I closely observed them, I found that they were implemented in almost similar fashion. What was common in both of them was the fact that 'interceptor was authenticating </summary><link rel='replies' type='application/atom+xml' href='http://javarushi.blogspot.com/feeds/1651167334367102566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397026950963350442&amp;postID=1651167334367102566' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/1651167334367102566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/1651167334367102566'/><link rel='alternate' type='text/html' href='http://javarushi.blogspot.com/2008/05/authenticating-struts2-applications.html' title='Authenticating Struts2 Applications using Interceptor'/><author><name>Rushikesh S. Thakkar</name><uri>http://www.blogger.com/profile/12362073643824041816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_1VajMB3-4q0/SYxZBSSxYMI/AAAAAAAAA2I/JrLDrCyKfRw/S220/DSC00296.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397026950963350442.post-7842136933344899127</id><published>2008-05-29T20:30:00.005+05:30</published><updated>2008-05-30T17:07:38.309+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SOAP'/><category scheme='http://www.blogger.com/atom/ns#' term='WebServices'/><category scheme='http://www.blogger.com/atom/ns#' term='WSDL'/><title type='text'>Writing WSDL Manually for an existing WebService</title><summary type='text'>Once upon a time, there were no sophisticated frameworks for developing WebServices. As WebServices started becoming popular, the need to have an API implementing SOAP protocol was realized. Apache SOAP project was one of the earliest implementation of Simple Object Access Protocol (SOAP). It provided support for manipulating SOAP messages. It was good enough at that stage. Many WebServices were </summary><link rel='replies' type='application/atom+xml' href='http://javarushi.blogspot.com/feeds/7842136933344899127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397026950963350442&amp;postID=7842136933344899127' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/7842136933344899127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/7842136933344899127'/><link rel='alternate' type='text/html' href='http://javarushi.blogspot.com/2008/05/writing-wsdl-manually-for-existing.html' title='Writing WSDL Manually for an existing WebService'/><author><name>Rushikesh S. Thakkar</name><uri>http://www.blogger.com/profile/12362073643824041816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_1VajMB3-4q0/SYxZBSSxYMI/AAAAAAAAA2I/JrLDrCyKfRw/S220/DSC00296.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397026950963350442.post-8438853349173643904</id><published>2008-04-29T21:52:00.006+05:30</published><updated>2008-04-30T21:32:23.854+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebServices'/><category scheme='http://www.blogger.com/atom/ns#' term='Maven'/><category scheme='http://www.blogger.com/atom/ns#' term='Axis'/><title type='text'>Running  Axis wsdl2java from within Maven2 pom.xml</title><summary type='text'>I needed to generate Axis  infrastructure classes using wsdl2java for my web-service client application. I had to generate java classes from two WSDLs into two different packages respectively.  I found one Maven2 plugin for that, but it has a limitation that I can not specify different packages for different WSDLs. I tried putting the same plugin twice in  for both WSDLs specifying different </summary><link rel='replies' type='application/atom+xml' href='http://javarushi.blogspot.com/feeds/8438853349173643904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397026950963350442&amp;postID=8438853349173643904' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/8438853349173643904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/8438853349173643904'/><link rel='alternate' type='text/html' href='http://javarushi.blogspot.com/2008/04/running-axis-wsdl2java-from-within.html' title='Running  Axis wsdl2java from within Maven2 pom.xml'/><author><name>Rushikesh S. Thakkar</name><uri>http://www.blogger.com/profile/12362073643824041816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_1VajMB3-4q0/SYxZBSSxYMI/AAAAAAAAA2I/JrLDrCyKfRw/S220/DSC00296.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397026950963350442.post-6369077485295458719</id><published>2008-04-29T17:36:00.003+05:30</published><updated>2008-04-30T21:31:45.090+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='dynamic form'/><category scheme='http://www.blogger.com/atom/ns#' term='struts2'/><category scheme='http://www.blogger.com/atom/ns#' term='OGNL'/><title type='text'>Showing dynamic User Interface using Struts2</title><summary type='text'>The main purpose for writing this post is to help understand the compilation process of a Struts2 JSP, and to highlight how useful the OGNL expression can be.I had to make a form that would display different sets of text-fields in different situations. So I did something like what follows:Action:public class ShowDynamicForm extends ActionSupport {private List fields = new ArrayList ();    //will </summary><link rel='replies' type='application/atom+xml' href='http://javarushi.blogspot.com/feeds/6369077485295458719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397026950963350442&amp;postID=6369077485295458719' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/6369077485295458719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/6369077485295458719'/><link rel='alternate' type='text/html' href='http://javarushi.blogspot.com/2008/04/showing-dynamic-user-interface-using.html' title='Showing dynamic User Interface using Struts2'/><author><name>Rushikesh S. Thakkar</name><uri>http://www.blogger.com/profile/12362073643824041816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_1VajMB3-4q0/SYxZBSSxYMI/AAAAAAAAA2I/JrLDrCyKfRw/S220/DSC00296.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397026950963350442.post-741979414215939647</id><published>2008-04-29T14:57:00.005+05:30</published><updated>2008-05-20T17:15:54.245+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='struts2'/><category scheme='http://www.blogger.com/atom/ns#' term='file download'/><title type='text'>Struts2 File Download Problem</title><summary type='text'>File download has been explained pretty clearly in Struts2 documentation site. I exactly followed the steps given. But I was not able to download a file. Though I didn't get any error, nothing was happening either. I wasted an entire day trying to figure out what the problem was with my code, and then I found out that I was using 'ajax' theme for the submit button that was supposed to submit </summary><link rel='replies' type='application/atom+xml' href='http://javarushi.blogspot.com/feeds/741979414215939647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397026950963350442&amp;postID=741979414215939647' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/741979414215939647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397026950963350442/posts/default/741979414215939647'/><link rel='alternate' type='text/html' href='http://javarushi.blogspot.com/2008/04/struts2-file-download.html' title='Struts2 File Download Problem'/><author><name>Rushikesh S. Thakkar</name><uri>http://www.blogger.com/profile/12362073643824041816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_1VajMB3-4q0/SYxZBSSxYMI/AAAAAAAAA2I/JrLDrCyKfRw/S220/DSC00296.JPG'/></author><thr:total>0</thr:total></entry></feed>
