aspose file tools*
The moose likes JSF and the fly likes Comparing source code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Comparing source code" Watch "Comparing source code" New topic
Author

Comparing source code

Rajesh Ramasubramanian
Greenhorn

Joined: Sep 07, 2012
Posts: 1
I am creating a simple page with a checkbox and a readonly field.When I deploy to weblogic server ,I get what is expected output. Now I have put autosubmit property on checkbox and partialtrigger propery on the other readonly field.My readonly field changes as expected on changing the state of checkbox.I was curious to find out what Ajax code has been put in finally rendered page when i declare auto submit property to true.Basically I want to know what is the html and ajax(javascript) code difference between the case when auto submit property is enabled and disabled.Is there any tool which can compare two source codes?
Thanks in advance.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

Welcome to the JavaRanch, Rajesh!

The premier tool for comparing 2 text files and highlighting their differences is the Unix "diff" utility. It comes free with Linux and most Unix distros. If you do a little web searching, you should be able to find one for Microsoft Windows. Windows comes with a "compare" command-line utility, but I believe it simply checks for equality and doesn't show differences.

If you're using an IDE, some IDEs keep a log of recent changes and have an option to compare your current version with the earlier versions in the log.

Once you commit source code to a Version Control System such as CVS, SVN, or git, the VCS utilities will include a differencing utility.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Comparing source code