User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 397,843 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,558 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 1064 | Replies: 1
Reply
Join Date: Nov 2004
Posts: 12
Reputation: beckerc is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
beckerc beckerc is offline Offline
Newbie Poster

calling a jsp from a dos bat file

  #1  
Jun 29th, 2007
hello folks,

I was wondering if it is possible to call a jsp from a dos bat file. I have a bat file that uses ftp to get some files, and i would like to call the jsp/servlets that processes the files without needing to modify or recreate processes performed by the existing bat file.

I am beggining to believe this cannot be done because i have googled it several times only finding calling bat files from a jsp, but not the other way around..

any help would be greatly appreciated. or if you know this cannot be done, plese state that so i stopp spinning my wheels looking for a solution.

Thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,661
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 193
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: calling a jsp from a dos bat file

  #2  
Jul 2nd, 2007
It all depends.
If you have a program installed under DOS that can make calls to an HTTP server you can have that program call the server in which your servlet is running.
Of course were you to be running a modern version of Windows instead of DOS (which was last sold in 1994!) you will already have such a program in the form of a simple but rather complete telnet client built right into the operating system.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JSP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JSP Forum

All times are GMT -4. The time now is 7:47 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC