File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSF
Bookmark "Comparing source code" Watch "Comparing source code" New topic

Comparing source code

Rajesh Ramasubramanian

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: 17417

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Comparing source code
jQuery in Action, 3rd edition