• Post Reply Bookmark Topic Watch Topic
  • New Topic

connecting jsp and WSScripting  RSS feed

 
amar nath jha
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,

I have to use WSH script in my jsp page any solution.
Thanks in advance.
Bye
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the script can't be ported to Java, then you will need to look at runtime.exec to make a command line call to the operating system from within your JSP (or preferably a bean that can be called from a servlet or JSP).

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html
 
amar nath jha
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thats fine for the server side can we execute such command on client side using jsp.

Thanks
Amarnath Jha
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by amar nath jha:
Thats fine for the server side can we execute such command on client side using jsp.

Since JSP executes on the server, that would be a no.
 
amar nath jha
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We need to run IPConfig/flushdns on client side.How can be achieve it?
One solution is applet but their are security restriction.
Please help me out with any other solution.
Thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!