0

I am developing a Spring MVC project with Java EE, and one of the requirements is the ability for a user to select a radio button and run a specific script remotely.

Right now I made a simple VBscript and put it on our remote development server. How can I execute this script?

2 Answers 2

1

None I know of. There isn't any VBScript implementation for Java ... so, you will end up having to re-implement it ... in Java :)

Sign up to request clarification or add additional context in comments.

3 Comments

Hmm, we may have some issues doing that since our client uses VBScripts. There isn't a way to run the VBScript, output the results to a text file and import the results into Java?
Maybe I can do it via SSH somehow to run it locally
You might want to search further here: stackoverflow.com/questions/3793234/…
0
Runtime.getRuntime().exec("wscript C:\\testfolder\\test1.vbs ");

1 Comment

It work when the application is deployed as "Spring boot application" (like on eclipse), but does not work in a real deployment (like Tomcat server)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.