• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Comparing source code

 
Rajesh Ramasubramanian
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic