I'm new to java can someone please explain to me whats wrong with this method:
clas Hello {
public static void main (String[]arg) {
Document.write ("hello world") ;
}}
Hi there.
I've got a question regarding the difference between PropertyPlaceholderConfigurer (org.springframework.beans.factory.config.PropertyPlaceholderConfigurer) and normal filters defined in my pom.xml.
I've been looking at examples, and it seems that even though filters are defined and marked to be active by default in the pom.xml they…
Hi I have a Windows form the import data to SQL, also I have an aspx page which is used for previewing data which i need to load to to the windows form using WebBrowser Control, my problem is that How do I pass a collection (List) to the aspx page for it to be able to bind to a gridview?
pdb and winpdb both seem to be missing this essential (to me) feature. I saw something suggesting WingIDE has it but I'd prefer a solution that is free, and if I do have to pay, I'd prefer to pay for something that is better than Wing.
I've a main method using SchemaUpdate to display at the console what tables to alter/create and it works fine in my Hibernate project:
public static void main(String[] args) throws IOException {
//first we prepare the configuration
Properties hibProps = new Properties();
…
Hi there, im having some real problems with the lag produced by using fgets to grab the server's response to some batch database calls im making.
Im sending through a batch of say, 10,000 calls and ive tracked the lag down to fgets causing the hold up in the speed of my…
Not sure what I'm doing wrong here. I have this plot:
ggplot(data.PE5, aes(ybands,fill=factor(decide))) + geom_bar(position="dodge")
which produces:
Then I want to facet by a factor, creating two stacked plots w/ dodged, colored bars
ggplot(data.PE5,…
OK I have read many posts regarding Dual Licensing using MIT and GPL licenses. But Im curious still, as the wording seems to be inclusive. Many of the Dual Licenses state that the software is licensed using "MIT AND GPL". The "AND" is what confuses me.
…
The Sysinternals Procmon tool allows to import and export configuration using .pmc files. These files are binary. I'm looking for any documentation/code for processing of the format.
I want to be able to attach the windows authentication token without having to include that piece of data on the messages themselves.
I've noticed that TransportMessage has Headers, but how do I get access to that before Send message to server?
I want to learn how to write shell scripts.
Particularly I want to write a svn post-commit script to upload files from a test server to a production server. I am sure I will want to write more as I get more into it.
I have very little linux/unix knowledge.…
When I bind a url using the productID field from my access database it returns the wrong value for example as my database starts with the first field as 2 it returns -1, then -2 for 3 and so on.
<a href='details.aspx?ID=<%#Eval("ProductID") %>'>…
Flex has an issue with hyphens in xml. I need to generate an xml object with hyphens in the attribute for a Google Checkout implementation.
I can get away with:
var xml:XML = <item-description/>;
and
var xml:XML = <item-description…
I'm a long-time C#/.NET programmer but totally new to WPF and the System.Windows.Controls namespace and XAML. The more I learn about it the more I realize that you can do pretty much all of your GUI initialization and event handling glue in…
Sorry, but there's a lot of outdated and just plain bad information for Zend Framework, since it has changed so much over the years and is so flexible.
I thought of having an AJAX module service layer, with controllers and actions that…
I wish to send a request like
<v:Envelope xmlns:i="xxx">
<v:Header />
<v:Body>
<sendTwoWaySmsMessage xmlns="xxx" id="o0" c:root="1">
<connectionId i:type="d:string">connectionId</connectionId>…
Is there a way to, given a date, retrieve the season of the year? For any place on the globe?
Is this based on time zone as well as hemisphere?
Note that, In the southern hemisphere that summer is still during the warm months.
EDIT:…
Is there a program to compare one folder and all subfolders to another folder and all subfolders for differences in the files contained therein (presence, absence of files, size and list of filenames)?
Example of usage: I have 100 DLL…
I'm creating a text editor for a domain specific language. I'm using the WPF RichTextBox as the basic control. I don't know how to gracefully include line numbering. Does anyone know of any examples?
Hay All,
I cant seem to get my head around this dispite the number to examples i read. Basically I have a 2d array and want to insert it into MySQL. The array contains a few strings.
I cant get the following to work...
$value =…
The specific situation is I have a .zip file that I want to open with a certain application. However, I don't want all ZIP files associated with that application. I think the answer is that instead of saying, "download this zip…
I read an article around schema-less database which sounds cool. (http://bret.appspot.com/entry/how-friendfeed-uses-mysql)
But what isn't clear to me is how do they run search queries on this data? Since the data is in JSON…
I have a series of points in a GraphicsPath; for our purpose lets assume its the outline of an uppercase B. I want to be able to be able to draw only the bottom portion that would resemble an uppercase L.
I'd like to be…
Hello,
I am trying to understand the advantages of the module Multiprocessing over Threading. I know that Multiprocessing get's around the Global Interpreter Lock, but what other advantages are there, and can threading…