Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to call java file containing method to call batch file from a JSP

 
Baishali Dutta
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am calling batch file from a java file, which is running successfully, now I want to call the java file from JSP page. can anybody help me out ???

Thanks in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64608
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It doesn't sound like something that should be done in a JSP. It should be done from Java code in a servlet controller.
 
Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you want to call it from a JSP ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic