• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

executing RCS commands for checkin and checkout from jsp

 
rinni dubey
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

can anybody tell how to execute RCS check in commands (ci) ,from a jsp page
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can execute a native command with either java.lang.Runtime or java.lang.ProcessBuilder.
You would do well to study the pitfalls of these commands.
You should also be aware that JSP's are intended for presentation logic, not what we call "business" or application logic. It is a Best Practice to separate your logic and presentation layers.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11833
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The 3rd link in a Google search for "Java" and "cvs" shows jCVS, which may meet your requirements. Since they even have Servlets that provide much of your desired functionality built already, you may just have to work on some of your presentation layers.

Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic