Perl-cgi with java


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Perl-cgi with java
# 1  
Old 07-15-2010
Perl-cgi with java

hi,
I am writing a perl-cgi which will extract data from DB and show on portal (like a report). Now I have one portal ready with Java (war deployed). Can I use same portal which will directly call my perl-cgi script ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

PERL-CGI learning

Hello All, I am actually learning PERL and more interested to learn CGI script too. Can any suggest a forum or weblink which is more helpful for a dummy CGI developer. Thanks (6 Replies)
Discussion started by: posix
6 Replies

2. OS X (Apple)

Perl CGI

I am trying to get my MacBook Pro with 10.8 Mt Lion set up to run Perl CGI scripts. Having a problem. I can start Apache Web Server with no problems. Why do I put the static and dynamic scripts? I which directory? I have looked at this article:... (3 Replies)
Discussion started by: djehresmann
3 Replies

3. Shell Programming and Scripting

CGI Perl : while loop in CGI perl

Hi Team, I am trying to connect to database(succeeded ) and print the records on the browser using while loop. But the elements of array are not displayed instead while loop is displayed directly. Instead of the below I can embed html statements in print but I am looking for the below style as I... (1 Reply)
Discussion started by: scriptscript
1 Replies

4. Shell Programming and Scripting

Perl CGI : unable to download the excel sheet from perl cgi page

Hi All, I have written an cgi perl script that displays an image(Excel image) and when clicked on that Image I need to download a excel sheet. I made sure that excel sheet exists in the folder with the given name but still I am not able to download the sheet. print "<center><table... (2 Replies)
Discussion started by: scriptscript
2 Replies

5. Shell Programming and Scripting

Perl cgi pages out of cgi-bin folder in WINDOWS

Hi team, I have a typical problem with cgi pages in apache webserver in WINDOWS I am able to execute(display) the pages that are saved in cgi-bin folder. But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder. Could anyone please let me know how... (1 Reply)
Discussion started by: scriptscript
1 Replies

6. Shell Programming and Scripting

Perl : embedding java script with cgi perl script

Hi All, I am aware that html tags can be embedded in cgi script as below.. In the same way is it possible to embed the below javascript in perl cgi script ?? print("<form action="action.htm" method="post" onSubmit="return submitForm(this.Submitbutton)">"); print("<input type = "text"... (1 Reply)
Discussion started by: scriptscript
1 Replies

7. Shell Programming and Scripting

CGI in Perl

Hi, Am unfamiliar with using CGI modules in Perl. Though i checked in few sites about CGI , i dint get a clear idea. Can anyone please explain me the purpose of these statements, it ll be very helpful to me #!/usr/bin/perl use CGI qw/:standard/; use Storable; use Data::Dumper; my... (1 Reply)
Discussion started by: irudayaraj
1 Replies

8. Web Development

problem with exporting vairable from one perl cgi to another perl cgi script while redirecting.

Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect. Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is redirected to welcome page. My... (3 Replies)
Discussion started by: Arun_Linux
3 Replies

9. Shell Programming and Scripting

perl+CGI+mysql !!!!!!!

hi expert, I am totally new to perl CGI coding. And stop by below issue: 1> i have a script names conn.pl, which can connect to mysql and get the information of table user(id,name) 2> i copied above code into one CGI web page named user.cgi 3> when i view user.cgi in web browser, it toldme... (3 Replies)
Discussion started by: summer_cherry
3 Replies

10. Shell Programming and Scripting

Perl CGI.pm

my box is FreeBSD4.3 and I use Perl 5.0005_03. Here is the CGI script. test.cgi ...... if ($query->action eq 'detail') { ...... print $query->hidden('action', 'modify'); ...... } I found that the result of test.cgi?action=detail is not what I expected. the script does not... (4 Replies)
Discussion started by: tonyt
4 Replies
Login or Register to Ask a Question
istgtcontrol(1) 					      General Commands Manual						   istgtcontrol(1)

NAME
istgtcontrol - istgt iSCSI target command utility SYNOPSIS
istgtcontrol [options] <command> [<file>] DESCRIPTION
istgtcontrol is a command and control utility for istgt(1). It can be used to query and change the status of a local or remote istgt instance. istgtcontrol supports the commands denoted below to interact with the istgt instance. By default it connects and authenticates to the iSCSI target portal specified in the istgtcontrol.conf configuration file and uses CHAP credentials denoted there, if any. Both can be overrid- den by using the respecitve command line arguments. COMMANDS
istgtcontrol understands the following commands which can be forwarded to istgt: noop Do not actually do anything, but test responsiveness of the portal and test CHAP credentials only. version Retrieve the istgt version number providing the iSCSI portal istgtcontrol connected to. list List all, or the specified targets only, which shared by the portal. load Load a new media to the specified unit. This command issues the same command as if a drive tray had been closed on a SCSI device. unload Unload a media from the specified unit. This command issues the same command as if the drive tray had been opened from a SCSI device. change file Change the loaded media by the specified unit. This command is equivalent as if a new media (for example a DVD-ROM or tape car- tridge) had been inserted in the SCSI drive. The "file" argument is interpreted as filename to be loaded. reset Reset the specified LUN of the portal. info Display all connections of the portal OPTIONS
-c config Use specified file as configuration file instead of the default file. -h host Override the target portal by the specified host name or IP address. This defaults to "localhost" if no other host was specified in the configuration file. -p port Override the target portal port by the specified port number. This defaults to "3261" if no other port was specified in the configu- ration file. -t target Specifies the target IQN which should be affected by the command given. There may be a default given in the configuration file. The keyword "all" is accepted by some commands and matches all exported volumes. -l lun Specifies the target LUN which should be affected by the command given. This defaults to "0" unless another default was provided in the configuration file. -f flags Specifies flags passed to the portal when loading a new media. This defaults to "ro". Supported flags are: "ro", "rw", "extend" and "dynamic". -s size Specifies the size of the meda to be loaded. The default is to auto-detect the media size. -q Quiet mode, supress non-critical outputs. -v Verbose mode, gives more output during operations. -A method Sets the preferred authentication method for logging in to the portal. This overrides any method specified in the configuration file. Supported methods are either CHAP/Mutual or CHAP/Auto. -U user Sets the user to authenticate on the portal. This overrides any username specified in the configuration file. -S secret Set the secret used to authenticate on the portal. This overrides any secret specified in the configuration file. -M muser Set the mutual authentication user. This overrides any user specified in the configuration file. -R msecret Set the mutual authentication secret. This overrides any secret specified in the configuration file. -H Display a brief usage summary and exit. -V Display the istgtcontrol version number and exit. FILES /etc/istgt/istgtcontrol.conf Configuration file SEE ALSO
istgt(1) AUTHORS
Daisuke Aoyama <aoyama@peach.ne.jp> This manual page was written by Arno Toll (<debian@toell.net>) for the Debian GNU/kFreeBSD system (but may be used by others). istgtcontrol Oct 07, 2011 istgtcontrol(1)