LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 08-17-2010, 02:04 AM   #1
arun8900
LQ Newbie
 
Registered: Aug 2010
Location: jalandhar
Distribution: any
Posts: 11

Rep: Reputation: 0
Question Runing scripts using Java


thanks for reply....
my project is-
i want to use java as tool in which i give an input,and on the basis of this input my specific script run.
for example....
if we talk about web server..
in my java page..i have to just type my web page name...say www.arun.com
and then enter the text...say "hi how are you"
then my script will run...
in the script it itself start the service,then edit the configuration file in /etc/httpd/conf/httpd.conf
and make changes according to my input in java page...
i know the scripting but i dont know how java command will execute my script...
can you suggest me any idea????
thanks
 
Old 08-17-2010, 02:21 AM   #2
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,633
Blog Entries: 29

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Arun,

I can suggest that you create a new thread titled "Running scripts using Java" for this topic here:
http://www.linuxquestions.org/questions/programming-9/

Then someone script programmer might see your thread and help you.
 
1 members found this post helpful.
Old 08-17-2010, 02:45 AM   #3
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,972

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Spawning New Processes From a Java Program
 
1 members found this post helpful.
Old 08-19-2010, 12:55 PM   #4
arun8900
LQ Newbie
 
Registered: Aug 2010
Location: jalandhar
Distribution: any
Posts: 11

Original Poster
Rep: Reputation: 0
thanks you all...
 
Old 08-19-2010, 01:26 PM   #5
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi, arun8900 -

If I'm hearing you correctly, you might not want a "script" at all.

You might want to consider looking at something like "Tomcat":

http://www.yolinux.com/TUTORIALS/Lin...ialTomcat.html

'Hope that helps .. PSM
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
running shell scripts using Java niravk8 Programming 2 02-09-2005 10:42 AM
Java Shell / Batch Scripts GenericProdigy Programming 4 11-18-2004 10:00 AM
Java with Shell Scripts lazkyr Programming 1 07-30-2004 05:30 PM
help runing a java program matt_w_lambert Programming 4 10-31-2003 11:42 AM
shell scripts and installing java.. scoob8000 Linux - Software 2 07-12-2003 12:13 PM


All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration