Sponsored Content
Top Forums Programming Please I need your help about jsp and java Post 302298105 by vip_a1 on Monday 16th of March 2009 05:35:49 PM
Old 03-16-2009
Quote:
Originally Posted by fpmurphy
Why not invoke the class directly, e.g. if class is called MyClass:
Code:
MyClass.main(new String[] {"filename"});

I didn't think about it

Thank you very much you gives me the solution for many of my problems
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

user creation using shell script for JSP

hello friends, I have problem. We want to create user from jsp(browser based) on our linux server. How we can do that ? or How do we create a user with shell programming by taking arguments and checking with the existing users and if the user exist it should display the message the user exists... (1 Reply)
Discussion started by: jarkvarma
1 Replies

2. UNIX for Dummies Questions & Answers

JSP on an HP UX-11

We have an HP UX-11 server running Unix and we wish to run Java Server Pages on this system. Can anyone see a reason why these pages will not work under this environment. Thanks for you help. Matthew (2 Replies)
Discussion started by: MLarra51
2 Replies

3. Shell Programming and Scripting

Code conversion from JSP to PYTHON

Guys I need to convert a code from JSP (Java Tags are also there inside JSP) to PYTHON. I have OK kind of knowledge in PYTHON, but dont have a muck knowledge in JAVA/JSP. Any idea how to approach? Thanks in advance to all C Saha (1 Reply)
Discussion started by: csaha
1 Replies

4. Shell Programming and Scripting

calling unix script from JSP???

Hi all, i have requirement where i need to call a unix script from a JSP code. my script should list all the csv files from a directory and then should upload the file names to an oracle table (using sqlloader). i tried using getRuntime function in JAVA to call my script and was successfully... (1 Reply)
Discussion started by: Bhups
1 Replies

5. Shell Programming and Scripting

i want to edit my jsp page using script

hi I have one jsp file. i want to edit this jsp page using script. This jsp page contains ("insert into employee values('raja', 32, ' ');) i want to add empty column at the end of the line. i.e is that line should be (insert into employee values('raja', 32, ' ', ' ');) (2 Replies)
Discussion started by: nsundaram_cse
2 Replies

6. Programming

Problem in reflecting changes made on a JSP File

I make some changes in a JSP file but the changes do not reflect on tomcat server. In my server.xml 'reloadable' paramtere is set to true. I even treid restarting the server. The changes still not reflect. The changes do reflect in a day or two. am not sure why this is happening. Shall... (3 Replies)
Discussion started by: Shikha Agrawal
3 Replies

7. Shell Programming and Scripting

Insert a function in a jsp file using Shell scripting

Greetings to all.I am new to the forum as well as to UNIX as well.I have a jsp file which has the following selectedStartMonth = request.getParameter( "startMonth" ); selectedStartDay = request.getParameter( "startDay" ); selectedStartYear = request.getParameter( "startYear" );... (3 Replies)
Discussion started by: 20033716
3 Replies

8. Programming

Need a little help in running jsp pages(Tomcat server).

Hi, I have installed following software on my linux machine. Is there anything else required to run jsp pages on linux machine? Please Help Here are some details that might be helpful. # lsb_release -a LSB Version: ... (3 Replies)
Discussion started by: pinga123
3 Replies

9. Shell Programming and Scripting

simple jsp problem.

I have my jsp page located at /install/apache-tomcat-5.5.29/webapps/jsp-examples/light/login.jsp There fore i will have to use following url to access it. localhost:8080/jsp-examples/light/login.jsp How would i make this little shorter like. localhost:8080/login.jsp I m using... (13 Replies)
Discussion started by: pinga123
13 Replies
Class::Accessor::Children(3pm)				User Contributed Perl Documentation			    Class::Accessor::Children(3pm)

NAME
Class::Accessor::Children - Automated child-class/accessor generation SYNOPSIS
BEFORE (WITHOUT THIS) package MyClass::Foo; use base qw( Class:Accessor ); __PACKAGE__->mk_ro_accessors(qw( jacob michael joshua ethan )); package MyClass::Bar; use base qw( Class:Accessor ); __PACKAGE__->mk_ro_accessors(qw( emily emma madison isabella )); package MyClass::Baz; use base qw( Class:Accessor ); __PACKAGE__->mk_ro_accessors(qw( haruka haruto miyu yuto )); AFTER (WITH THIS) package MyClass; use base qw( Class::Accessor::Children ); __PACKAGE__->mk_child_ro_accessors( Foo => [qw( jacob michael joshua ethan )], Bar => [qw( emily emma madison isabella )], Baz => [qw( haruka haruto miyu yuto )], ); DESCRIPTION
This module automagically generates child classes which have accessor/mutator methods. This module inherits "Class::Accessor" to make accessors. METHODS
This module provides the following methods in addition to all methods provided by "Class::Accessor". mk_child_accessors MyClass->mk_child_accessors( Foo => @fields, ... ); This generates a child class named "MyClass::Foo" which have accessor/mutator methods each named in "@fields". mk_child_ro_accessors MyClass->mk_child_ro_accessors( Bar => @fields, ... ); This generates a child class named "MyClass::Bar" which have read-only accessors (ie. true accessors). mk_child_wo_accessors MyClass->mk_child_wo_accessors( Baz => @fields, ... ); This generates a child class named "MyClass::Baz" which have write-only accessor (ie. mutators). SEE ALSO
Class::Accessor AUTHOR
Yusuke Kawasaki <http://www.kawa.net/> COPYRIGHT AND LICENSE
Copyright (c) 2007 Yusuke Kawasaki. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2007-08-16 Class::Accessor::Children(3pm)
All times are GMT -4. The time now is 10:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy