Pritam Chatterjee

Ranch Hand
+ Follow
since Jul 31, 2011
Pritam likes ...
Java Netbeans IDE Oracle
Burdwan, India
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
14
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pritam Chatterjee

So how can I display HTML form data in perl?
3 years ago
I am using XAMPP.
Putting my codes inside htdocs in a folder. I've created perl folder & from there I'm running the programs.
3 years ago
I have one HTML form:
<html>
<head>
<title>Greetings</title>
</head>
<body>
<form action="greeting.pl" method="post">

Please enter your name:


<input type="text" name="name" maxlength="30">
<input type="submit" value="Submit">
</form>
</body>
</html>

I want to display the name via perl script.
I wrote the following

use strict;
use warnings;
use CGI;
my $q = CGI->new;
my $name = $q->param('name');
print "$name";

But not working. Error:
Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

Please help
3 years ago
can you share the full code or a good link..
So do I need to install Jasper Report.
Then how will I populate data in it through MySQL.
I want to select all the rows from a MySQL table in JDBC.
That I can do using statements, query & resultset.

Then I want to display the output as a report, like we make report in MS Access.
I can't find the way.
Please help.
I am taking HTML date input like this:
<FORM NAME="myform">
<INPUT TYPE="date" NAME="date1" VALUE=""/>

<INPUT TYPE="button" NAME="button" Value="=" onClick="display()"/>
</FORM>

suppose input value is- 15-10-2014
In javascript I want to show the date-

var num1 = document.myform.number1.value;
document.write(num1);

Then I want to convert the date in Fifteenth October Two Thousand Fourteen.
I tried with getDay() but it is not working..
var n=num1.getDay();
var n=num1.toDateString();

Please help...
I have added the column using alter.
Now I want to insert 5 different values.
so how to insert different values. Using update command for 5 times or is there any nested query kind of thing?
I have one table with two fields say a,b.
Now I have inserted 5 records in a & b column.
Now after that I want to add one more column(c) in that table using alter command.
Then I want to insert 5 values in that c column so that there will be 5 completely filled records.
Now what code should I write to insert this?Please assist.
Insert command is not working, by update we can update
one value at a time but I want to insert all 5 values at the same time. So please tell me code..
I am using MySQL 5.1 console.
I have one interface with three(more than one) method declaration.
In the subclass that implements it I want to define only one method not all three not even blank definition of them.Is there any keyword or method for that.
How to do it? Is it possible to do it?

In GUI we use adapter classes to achieve it. What for console application?
3 years ago
Actually I saw this code in a website,I can't remember the name. Then when I tried to run this code I got the errors.So I wanted clear the doubt..
4 years ago
@Tim, So there is no way to extend a class to an interface..
And the error is showing that..?
4 years ago
Can an interface extend a class?

When I am running the following code it's showing some errors..I have commented them.Please help.

class A
{
public void methodA()
{
System.out.println("Class A methodA");
}
}
interface B extends A //interface expected here
{
public void methodA();
}
interface C extends A ////interface expected here
{
public void methodA();
}
public class D implements B, C
{
public void methodC()
{
System.out.println("Class D methodD");
}
public void methodA()
{
System.out.println("Class D methodD");
}
public static void main(String args[])
{
D obj1= new D();
obj1.methodC();
obj1.methodA();
}
}
4 years ago
It showed the warning for the first time only.I rechecked it.Thanks.
4 years ago