Blogs RSS
Forums RSS
DaniWeb Home
>
Forums
>
Search Forums
Search Results
•
•
•
•
Showing results 1 to 40 of 500
Search took
0.09
seconds; generated 5 minute(s) ago.
Posts Made By:
~s.o.s~
Refine this Search
Save these search results for 24 hours
Page 1 of 13
1
2
11
>
Last
»
Forum:
DaniWeb Community Feedback
4 Days Ago
Replies:
71
Guidelines before posting
Views:
24,767
Posted By
~s.o.s~
Re: Guidelines before posting
Actually there are two reasons why a thread won't receive an answer. The first reason of no effort being put in by the poster is already explained in detail in the above post.
The second reason why...
Forum:
JavaScript / DHTML / AJAX
4 Days Ago
Replies:
1
frames not working in firefox
Views:
174
Posted By
~s.o.s~
Re: frames not working in firefox
On the mentioned web page there are no frames, only inline frames; they are different things and also handled differently.
In the second URL you posted, the function invoked on a link click is...
Forum:
JSP
4 Days Ago
Replies:
2
new line '\n'
Views:
145
Posted By
~s.o.s~
Re: new line '\n'
You can apply trim() method on the given string to trim leading and trailing whitespaces. Also since str forms a part of the URL, make sure you URL encode the string so that special characters are...
Forum:
JavaScript / DHTML / AJAX
4 Days Ago
Replies:
8
radio button validation problem
Views:
312
Posted By
~s.o.s~
Re: radio button validation problem
The check for email == undefined is superfluous since a value of text form field, if it exists will never be `undefined' or `null' but always a empty string if nothing was entered. You should rather...
Forum:
Java
4 Days Ago
Replies:
4
Base 64 Decoding
Views:
137
Posted By
~s.o.s~
Re: Base 64 Decoding
Reading the Base64 (http://en.wikipedia.org/wiki/Base64)article along with some sample implementation (http://www.google.com/codesearch?hl=en&lr=&q=%22class+base64encoder%22+lang%3Ajava&sbtn=Search)...
Forum:
Web Browsers
4 Days Ago
Replies:
7
javascript disabled
Views:
248
Posted By
~s.o.s~
Re: javascript disabled
> i came on this web site thinking i could get genuine help .
...which most people here get, really.
> within minutes of posting a question you mark it solved and
> forget about it
Only a...
Forum:
JavaScript / DHTML / AJAX
5 Days Ago
Replies:
2
javascript in ajax part of site doesn't work
Views:
230
Posted By
~s.o.s~
Re: javascript in ajax part of site doesn't work
Nailing down the problem would be very difficult given that we can't reproduce the scenario here. Maybe looking into something along the lines of a Javascript debugger which helps you step thru your...
Forum:
JavaScript / DHTML / AJAX
5 Days Ago
Replies:
2
Chat Application
Views:
220
Posted By
~s.o.s~
Re: Chat Application
> is this... your homework?
Seems that way; anyways without a decent effort, getting any kind of help is difficult.
Forum:
JavaScript / DHTML / AJAX
5 Days Ago
Replies:
7
Variables in regex match
Views:
282
Posted By
~s.o.s~
Re: Variables in regex match
> It's RegEx() NOT RegExe()
It's `RegExp' not `RegEx'.
Forum:
Java
5 Days Ago
Replies:
1
Sending ByteBuffer on TCP and UDP Connection
Views:
89
Posted By
~s.o.s~
Re: Sending ByteBuffer on TCP and UDP Connection
Look into the array() (http://java.sun.com/j2se/1.4.2/docs/api/java/nio/ByteBuffer.html#array()) method of ByteBuffer class.
Forum:
Java
6 Days Ago
Replies:
8
Using default values of in parameter of sp through java
Views:
208
Posted By
~s.o.s~
Re: Using default values of in parameter of sp through java
> Only limitation I found .... in parameter which has default value must
> be the last one in the param list
AFAIK, this is not a limitation but a logically sound decision. If this wasn't the case,...
Forum:
Java
6 Days Ago
Replies:
7
Serialization of Static Field
Views:
201
Posted By
~s.o.s~
Re: Serialization of Static Field
> every serializable class needs a static final long "serialVersionUID"
> field
Yes, but static fields as a rule are not serialized by default. serialVersionUID is a special static field which is an...
Forum:
Java
7 Days Ago
Replies:
7
Serialization of Static Field
Views:
201
Posted By
~s.o.s~
Re: Serialization of Static Field
> any variable not declared as "transient" (even static variables)
> would be serialized and their state stored.
No, not really.public class StaticTester implements Serializable {
public static...
Forum:
JavaScript / DHTML / AJAX
8 Days Ago
Replies:
8
Javascript Issue (Changing background of parent element on onmouseover)
Views:
359
Posted By
~s.o.s~
Re: Javascript Issue (Changing background of parent element on onmouseover)
> Secondly, you can use it on any element in your document, not
> just the root node.
Agreed; looking up anchor elements nested inside a given node would be one of the valid reasons for using...
Forum:
JavaScript / DHTML / AJAX
8 Days Ago
Replies:
8
Javascript Issue (Changing background of parent element on onmouseover)
Views:
359
Posted By
~s.o.s~
Re: Javascript Issue (Changing background of parent element on onmouseover)
If that's your requirement then you need to change your original code which is as of now setting the onmouseover property of A elements and not LI elements in which the A elements are nested i.e....
Forum:
JavaScript / DHTML / AJAX
8 Days Ago
Replies:
8
Javascript Issue (Changing background of parent element on onmouseover)
Views:
359
Posted By
~s.o.s~
Re: Javascript Issue (Changing background of parent element on onmouseover)
A pure CSS solution:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Script-Content-Type" content="text/javascript">
...
Forum:
JavaScript / DHTML / AJAX
8 Days Ago
Replies:
6
Javascript using regex to fix html tags
Views:
412
Posted By
~s.o.s~
Re: Javascript using regex to fix html tags
I need a bit more background on the requirement/problem here as in what is the source of the XML you are talking about? Is is shipped over the network using an async call in the form of AJAX or read...
Forum:
JavaScript / DHTML / AJAX
8 Days Ago
Replies:
1
Iterating through HTML table row takes more cpu cycle in IE
Views:
200
Posted By
~s.o.s~
Re: Iterating through HTML table row takes more cpu cycle in IE
Maybe posting the *exact* code which is causing problems in your case would help in faster resolution of the issue at hand. And please use CODE tags when posting code to increase your chances of...
Forum:
JavaScript / DHTML / AJAX
8 Days Ago
Replies:
1
dependent drop down menus
Views:
213
Posted By
~s.o.s~
Re: dependent drop down menus
Because selectedIndex (http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-85676760)can't be a alphabet; it has to be numeric; more specifically long.
It would be better if you just passed in `this'...
Forum:
JavaScript / DHTML / AJAX
8 Days Ago
Replies:
8
Javascript Issue (Changing background of parent element on onmouseover)
Views:
359
Posted By
~s.o.s~
Re: Javascript Issue (Changing background of parent element on onmouseover)
> Whenever possible, you should always use the W3C
> 'document.getElements...' methods rather than collections such as
> document.links, .forms or .images
links ...
Forum:
Java
8 Days Ago
Replies:
8
Overwriting the text in the file
Views:
237
Posted By
~s.o.s~
Re: Overwriting the text in the file
The problem you are trying to solve here has already been addressed by AOP i.e. addressing cross cutting concerns. Read this...
Forum:
JavaScript / DHTML / AJAX
8 Days Ago
Replies:
5
Post Bulk Data In AJAX request
Views:
345
Posted By
~s.o.s~
Re: Post Bulk Data In AJAX request
> Is it possible to pass a large parameters with the POST request ?
Ideally yes, since I find no mention of a limit in the HTTP specification. Practically, it depends on both the browser/user agent...
Forum:
Java
9 Days Ago
Replies:
6
reallocating memory
Views:
198
Posted By
~s.o.s~
Re: reallocating memory
Bold is considered shouting (http://www.netmanners.com/email-etiquette/is-this-shouting-too/); please keep formatting to a minimum. In case you are quoting a article, consider using tags.
Forum:
JSP
9 Days Ago
Replies:
2
TinyMCE editor in JSF
Views:
198
Posted By
~s.o.s~
Re: TinyMCE editor in JSF
The warnings are because the specification uses all lowercase convention when specifying intrinsic event handlers; i.e. onchange in favor of onChange.
Since this is some library specific issue, your...
Forum:
Java
9 Days Ago
Replies:
8
Overwriting the text in the file
Views:
237
Posted By
~s.o.s~
Re: Overwriting the text in the file
Since you are writing out textual content, you should use a Writer instead of dealing with raw bytes and the like. What exactly is your requirement? If you don't need to edit the file at a random...
Forum:
Java
9 Days Ago
Replies:
8
Overwriting the text in the file
Views:
237
Posted By
~s.o.s~
Re: Overwriting the text in the file
Is it really necessary to use a RandomAccessFile? Using a FileWriter (http://java.sun.com/j2se/1.5.0/docs/api/java/io/FileWriter.html#FileWriter(java.lang.String,%20boolean))in append mode should do...
Forum:
Java
9 Days Ago
Replies:
37
Need help with starting this code
Views:
714
Posted By
~s.o.s~
Re: Need help with starting this code
A constructor is a special construct of the Java programming language which can be loosely thought of as a method with the same name as that of the class for which the constructor is meant with *no*...
Forum:
Java
9 Days Ago
Replies:
8
embarassing question.
Views:
191
Posted By
~s.o.s~
Re: embarassing question.
If your project was set up in Eclipse, the "Restore from Local History (http://www.java-tips.org/other-api-tips/eclipse/how-to-restore-deleted-files-in-eclipse.html)" option might work out for you;...
Forum:
JavaScript / DHTML / AJAX
9 Days Ago
Replies:
1
Is it possible to transfer value javascript to ajax??
Views:
231
Posted By
~s.o.s~
Re: Is it possible to transfer value javascript to ajax??
There is no such thing as AJAX variable. In case if you want to persist a Javascript variables' value to a persistent store by making an async request to the server, you can just append the value in...
Forum:
JavaScript / DHTML / AJAX
9 Days Ago
Replies:
5
Post Bulk Data In AJAX request
Views:
345
Posted By
~s.o.s~
Re: Post Bulk Data In AJAX request
> How can I achieve this ?
In case of a GET request, the data is embedded in the query string while in case of POST request, it is passed as a argument to the send method of XHR object. Read this...
Forum:
JavaScript / DHTML / AJAX
9 Days Ago
Replies:
3
Iterating over JSON object
Views:
317
Posted By
~s.o.s~
Re: Iterating over JSON object
The given JSON can be simplified as:
var json = [
{"zip" : "27603", "city" : "Raleigh", "state" : "NC"},
{"zip" : "25071", "city" : "Elkview", "state" : "WV"}
];
for(var i = json.length - 1; i >=...
Forum:
Java
10 Days Ago
Replies:
5
Web Page Interaction Question
Views:
168
Posted By
~s.o.s~
Re: Web Page Interaction Question
> But this certainly requires an API defined at their end
Not certainly, screen scraping is always an option and which I guess is what the OP is looking for in this case given that it's a school...
Forum:
Geeks' Lounge
10 Days Ago
Replies:
12
Anime -- The 2009 Winter Preview
Views:
374
Posted By
~s.o.s~
Re: Anime -- The 2009 Winter Preview
A second season is welcome as long as they don't plan on ruining it like the first one.
Forum:
Java
10 Days Ago
Replies:
4
Program does not work
Views:
165
Posted By
~s.o.s~
Re: Program does not work
Indeed; the entire point of the exercise was to make use of basic math tricks to come up with a compact solution and to exercise the basics of OOP.
Create a class which bears the responsibility of...
Forum:
Java
10 Days Ago
Replies:
37
Need help with starting this code
Views:
714
Posted By
~s.o.s~
Re: Need help with starting this code
> I don't think that anyone in academics would agree with such a
> broad statement.
...something which I was expecting all along. ;-)
JFTR, how many good java programmers have you seen who are not...
Forum:
Java
11 Days Ago
Replies:
37
Need help with starting this code
Views:
714
Posted By
~s.o.s~
Re: Need help with starting this code
> whenever you access a method, it gives you a summary of what the
> method does, as given in the API
...so do the online java docs. But in most of the cases we end up with a bunch of CTRL + SPACE...
Forum:
JSP
11 Days Ago
Replies:
1
problem with displaying data from hql query
Views:
258
Posted By
~s.o.s~
Re: problem with displaying data from hql query
Simply put, the list returned by the `findFlights' method seems to return a list of Object arrays rather than a list of FlightItenary.
Don't mix and match type safe code with non-type safe code;...
Forum:
JSP
11 Days Ago
Replies:
2
Prevent User Input in a Textfield
Views:
195
Posted By
~s.o.s~
Re: Prevent User Input in a Textfield
> I want to prevent visitors from being able to type anything in this
> field altogether
This isn't a JSP question but relates more to the markup language used; I guess HTML here. Use the...
Forum:
Java
11 Days Ago
Replies:
7
Postfix notation (stack implementation)
Views:
279
Posted By
~s.o.s~
Re: Postfix notation (stack implementation)
> although I have this "izraz.txt" file in the correct location
If that were the case, the said exception won't be thrown by the Java runtime. The solution to this issue depends on how you are...
Forum:
Java
11 Days Ago
Replies:
3
Dealing with bytes in java
Views:
111
Posted By
~s.o.s~
Re: Dealing with bytes in java
> one byte of storage for each character
Why is it that you are required to come up with such a hack just to extract some data? Where is the data coming from? Doesn't every field have some fixed...
Showing results 1 to 40 of 500
Page 1 of 13
1
2
11
>
Last
»
Forum Highlights
Today's Posts
All Forums
Unanswered Threads
All Forums
Forums
|
Blogs
|
Tutorials
|
Code Snippets
|
Whitepapers
|
RSS Feeds
|
Advertising
All times are GMT -4. The time now is
12:07 am
.
Newsletter Archive
-
Sitemap
-
Privacy Statement
-
Acceptable Use Policy
-
Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC