Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-28-2010, 05:08 AM   PM User | #1
hbala
New to the CF scene

 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
hbala is an unknown quantity at this point
Unhappy How to display Linux command output through JSP page in Tomcat

I am newbee to the JSP, Please help for solving this problem

I want to display linux command output though JSP in tomcat.

Linux Command: #fdisk -l | grep -iE 'mb|gb|tb'
How do this command's out put taken out through jsp page though tomcat.


Any suggestions, Please help me.

In php it very simple as
<php? echo ( system(fdisk -l | grep -iE 'mb|gb|tb'));
?>

But JSP?
hbala is offline   Reply With Quote
Reply

Bookmarks

Tags
command, jsp, linux

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:12 AM.


Advertisement
Log in to turn off these ads.