This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Can anyone give me a solution on how to run a command like: javaTest test.xml test.html i.e executing a class Test with arguments as test.xml(input) and test.html(output). If someone has a solution for this pls. Help me Out ------------------ M. Siddhartha email@example.com Associate Consultant, Chain-Sys (I) Pvt. Ltd. Solution that drives the business
<B>M. Siddhartha</B><BR> <A HREF="mailto:firstname.lastname@example.org" rel="nofollow">email@example.com</A> <BR>Associate Consultant,<BR>Chain-Sys (I) Pvt. Ltd.<BR><I> Solution that drives the business </I>
>>java Test test.xml test.html I guess you mean command arguments that are passed to the main function. You will recieve an array of strings. Cant remeber (I am in work) if the first arg is arg or arg. Play around with it.