• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

connecting jsp and WSScripting

 
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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • 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
 
Marshal
Posts: 67418
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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
 
    Bookmark Topic Watch Topic
  • New Topic