Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
perl x 10
java x 10
php x 1
Member Avatar for hhheng

Newbie questions. I laid out the controls in shell by GridLayout(2, false). And when user click a checkbox, I wantto to hide one or several lines. I tried to set the exclude to true, and set the control in that line GridData(0, 0) to hide those lines. However there were …

0
82
Member Avatar for hhheng

I imported all the required jar files into build path, and almost all other eclipse class and events, e.g. SWT, widgets, graphics, selectionevents are working. However, but when I try to create an instance of CoolBar and DateTime, found that import these 2 classes are unavailable, and importing SWT.*, SWT.widgets.* …

0
63
Member Avatar for hhheng

I'm working on a project and want to open the window to the position the same as last time the window was closed, and open the window the same size as last time was closed also. The rough script is as below: When user open the window and resize it, …

Member Avatar for harinath_2007
0
253
Member Avatar for hhheng

I'm new to Java and while trying to add a text area to the applet, found the textarea uneditable, and while trying to add the scrollbar to the textarea, found the applet will not be started. Code as below: [code=java] import java.awt.*; import javax.swing.*; import java.applet.Applet; public class AppletEditor extends …

Member Avatar for hiddepolen
0
409
Member Avatar for hhheng

I'm sending a post to an url, and after successfully sending the post, it will turn to another page, now how to find the another page url? <code=perl> #!/usr/bin/perl use LWP 5.64; my %form; $form{"name"} = $name; $form{"email"} = $email; $form{"grade"} = $grade; my $res; my $url = "http://www.mydomain.com/register.php"; SIG{ALRM} …

Member Avatar for mitchems
0
193
Member Avatar for hhheng

I'm trying to send a http request to an url and check the content of the url using following script. However, by just check whether the content is empty or not can't tell whether a site is working. #use all required modules here; my $url = "a url here"; my …

Member Avatar for mitchems
0
142
Member Avatar for hhheng

While executing a perl script, it showed the following errors. Can anybody tell me what's wrong with the bottom script? Thanks a lot. The server encountered an unexpected condition which prevented it from fulfilling the request. The script did not produce correct headers. It must at least print out a …

Member Avatar for KevinADC
0
193
Member Avatar for hhheng

I'm showing a directory listing in one page now, but I want to show it in pages. Currently I'm working like this: [QUOTE]gtsee.com/cgi-bin/nph-dirsub.pl?invoice=invoices/merchant_invoice_999999 [/QUOTE] and the script for showing the listings are: my $sql=SELECT id, name, url FROM free_dirs; my ( $id, $name, $url) = @{$db_row}{qw/id name url}; print " …

Member Avatar for jephthah
0
121
Member Avatar for hhheng

I tried the following, but it's not working: [QUOTE]RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html[/QUOTE] Any other solutions?

Member Avatar for somedude3488
0
80