| Will MS be less evil now? |
|
 |
Index ‹ java-programmer
|
- Previous
- 1
- Please help me
"Andrew Thompson" <email***@***.com> wrote in message
news:email***@***.com...
> On Wed, 9 Jun 2004 19:16:11 +0100, April wrote:
> > "Andrew Thompson" <email***@***.com> wrote in message
> >> On Tue, 8 Jun 2004 16:38:14 +0100, April wrote:
> >>
> >>> I have recently got a new pc but for some reason I am unable to get
java
> > on
> >>> it. I have downloaded it several times and it has gone through the
> > motions
> >>> but still does not work. This is starting to annoy me as many web
sites
> > I go
> >>> to use java. Any ideas anyone please.
>
> > Yes I am running windows XP with internet explorer.
>
> Would you consider using a different browser?
>
> Before we go to what might be a great deal
> of effort, I should point out that internet
> explorer is the single most broken browser
> available.
>
> Installing a browser like Mozilla or Opera,
> then (if necessary) installing Java almost
> always goes smoothly on browsers that are *not*
> IE. Both Opera and Mozilla are also better
> at rendering valid web-pages, and offer things
> that IE simply cannot do.
>
> >> Do you know how to open the command line,
> >> also known as DOS?
>
> > I am not too sure about
> > opening the comand line.
>
> We will leave that for the moment, though
> that may be necessary if you really want
> to coax IE into understanding Java (though
> I cannot make any guarantees we will get
> Java working in IE even then)
>
> >> <http://www.physci.org/pc/properties.jsp>
> ...
> >> Once you download it, double click
> >> it and report what happens.
>
> >..I downloaded jtest but am unable to run it as I
> > have not got the programe to run it with. It asks me if I want to choose
a
> > programe to open it with or look on the internet. I looked on the
internet
> > but I am totally lost.
>
> I had hoped this was a more limited problem,
> but that test rules out those hopes..
>
> >..You can email me if you would likl to.
>
> I answer questions on usenet for free,
> email help costs money. ;-)
>
> For the moment I suggest you try one of
> the other fine browsers available, see
> if you can get Java working in it (which
> will probably be as easy as IE promised,
> but failed to deliver), and get back to us..
>
> --
> Andrew Thompson
> http://www.PhySci.org/ Open-source software suite
> http://www.PhySci.org/codes/ Web & IT Help
> http://www.1point1C.org/ Science & Technology
Ok I am going to try morzila and hope for no problems but if I do get any
then I just system restore.
- 1
- JSTL concatenateWell.. i wanna to concatenate a string... like:
String x;
while(true)
x += "x";
Then i get xxxxxxxxxxxxxxxxxxxx :)
How do i do that on JSTL?
Here is my code...
<c:set var="valorColuna" value="${rowValues.value}"/>
<c:forEach var="pk" items="${datagrid.primaryKeys}">
<c:set var="pkActual" value="${pk.columnName}"/>
<c:if test="${colunaActual == pkActual}">
<c:set var="pkValor" value="${valorColuna}{$valorColuna}"/>
I have tried without operators but it does not work. JSTL functions
also seem not to help (no concat function!)...
Any sugestions?
Thanks,
JF
- 1
- Compiling Java code using Ant within EclipseHi,
I am using Eclipse 3.0 to create a number of Java projects all located
within the same workspace. I had everything building ok but decided to
migrate to using Ant to try and manage things a bit better.
Now when I try and compile my app using Ant it does not find references
to external libraries. Now I suspect I need to specify the classpath in
the build.xml file, but is there a way of telling it to use the set of
libraries I have allready specified via Project->Properties->Java Build
Path->Libraries?
I currently have a build.xml file for each of the projects in my
workspace. Is there a way of creating a build.xml file which invokes
each of these in turn so that I can just do one big build?
Thanks for your help.
Andy
- 1
- Help needed with Realm authorization and AuthenticationDear All
I'm somehow new to weblogic workshop, and i want to have a role based
security for a project.
I used XML based security in web.xml and in web-config.xml . Now i have
a problem, regarding to my project, i want for example, if role A was
logged in, to show him A in one pages of pageflow (for example
index.jsp) and if another role was logged in, not to show him the A.
I mean I want to have access to Roles in the pageFlow, and by knowing
which Role change the sequence of pageflow, do you ever reach this
problem ? any suggestions ?
I think there must be an API for accessing the realm security for
Weblogic.
Shahin Sheidaei
- 1
- What is Delegation, versus inheritence, examples in C or C++"Bernard" <email***@***.com> wrote:
> I apologize if this has been brought up here before.
> Searching through the newsgroup I found variants of
> my question, but not exactly what I am thinking about.
>
> I am trying to learn UML from a well publicized book,
> "Instant UML" Wrox press by Pierre-Alain Muller.
>
> While I may admire the book for its conciseness, I
> have difficulty following its examples and explanation
> of Delegation. He explains Delegation mechanism by
> a diagram of client communicates with an interface that
> propagates questions to one or more delegates. It is
> not clear but is on page 53. Next page he has some
> discussion of the "covariance problem" which he discusses
> earlier but never defines, leaving a vague understanding.
> On p54, he also has example of how inheritence is simulated
> by hand using delegation and talks of X-windows which is
> written "entirely in C". There is no example. Where
> ever I was able to understand his discussion, it was
> due to prior knowledge of the field. If some kind
> soul has been able to follow this book and can give
> explanations with reference to page numbers that would
> be very nice.
>
> Thanks++,
I looked for your concept of "Delegation" in the only book that I have
on UML. This is by Craig Larman. Its index does not evennnnn list it.
You should expand your query to other language groups. I can do it
for you. OOP implementation questions have been asked there before
Monica
- 1
- String exceeding length - Getting absolute string lengthHello,
I am having a problem when inputting very long strings into a database.
The application I am writing can use different databases (thanks to
the wonders of JDBC) so this issue has been causing problems on both
Oracle and SQL Server.
Because one of the design objects was to support any JDBC compatible
database, a concern was raised about text widths. It was therefore
decided that the maximum column width for a VARCHAR would be a
configurable value. We theoretically knew that data could be more than
a single line so we introduced a sequence number to allow multiple
rows. (Don't ask me why we didn't use CLOBs instead, this is the
schema I'm stuck with.)
We now need to store base64 data in the same fields. The problem is
that in an example 4000 characters as defined by the Java string
object, its physical size is approximently 4430. This seems to be
because of the amount of mark-up involved, either in the base64 data or
possibly with the text between.
It occurs to me that while a non-ASCII value many be only a single
character in a unicode string, it is 6 characters in UTF-8. Therefore
I'm looking for a way of calculates the absolute length, rather than a
count of characters.
Is this possible or will I have to change the schema?
- 1
- Handling of DST in javaStefan Ram wrote:
> Raymond DeCampo <email***@***.com> writes:
>
>>Perhaps, but that is not something the government can easily
>>legislate nor enforce. (Do you really want the time police
>>checking to see if you are working an hour later?)
>
>
> Something like this is done here for the closing-time of
> stores. So, since the government already enforces
> opening-times and closing-times of stores, they could change
> these and they could change to times for schools, universities
> and their own agencies. Some other institutions then might
> follow.
>
By "here", I assume you mean Germany, based on what you wrote below.
There are no such laws in the US with the exception of some states that
have "blue laws" that only apply on Sundays.
Your suggestion sounds like a nightmare where you never know what is
going to be available when.
>
>>There is nothing sacred about the time zone.
>
>
> It is only that, given two time stamps of the legal time for
> a location in Germany, like
>
> 2005-07-10T21:38:10 and
> 1960-07-10T21:38:13
>
> it would be a typical programming task to write a routine
> that can calculate the difference between them in seconds.
> And this would be much more easy, without the need to have
> to find out all details of regulations for DST in Germany.
>
> After WWII, in Germany, there were several different zones
> controlled by different countries and some details for the DST
> differed between these zones. In one zone, there was a special
> DST with two hours added for the mid of summer. Then there are
> reports that there were years with DST even in winter. And so
> on.
>
> All these special regulations make it very difficult to
> write such a routine.
>
This is why any environment worth its salt has these routines available
in a standard library. Asking people to forgo a substantial reduction
in energy use for the (supposed) convenience of computer programmers is
ridiculous. Remember that computers are not an end unto themselves,
they are tools here to serve.
Ray
--
This signature intentionally left blank.
- 6
- Apache Derby : create several instances.Hello.
I am using Apache derby database (Client network).
I see that when I create table it is created on an instance APP
(I don't know if instance is the correct word. sorry of my English).
I see that there are other instances (NULLID, SQLJ, SYS, etc).
Can I create an instance of my own in derby database, and how can I do that
?
(One instance may be used for repository, another for Datawarehouse, ...)
Another thing :
If I create several databases for te above reason (repository may be on
another db), how can I join them, when I am connected to database1, and want
to run a query that join both tables from database1 and database2 ?
Thanks :)
- 7
- Embedded underscoresI noticed Ruby has a convention I wish Java would implement. I think
it could be done without breaking existing code.
You simply permit the _ character to appear embedded in numeric
literals in Java source code. The lead _ would not be permitted, so
you still have no trouble telling a number apart from an identifier.
Then you might write a numeric literal like this:
2006_12_31
or
123_456_679
or
0x1234_5678
or
250_361_9093
or
1000_99
The _ is simply ignored. You use it to break the number up in
whatever way you choose to make it more readable.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
- 7
- JSR 211 CHAPIHello everybody
Does anyone know if some mobile devices implement JSR211?
Thanks for help
--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-
- 8
- Junit: overriding original class private methodsI have a class that when run will call a private sendEfvent() method
that sends data to an external process. I would like to override that
behavior in testing and just report what is set to avoid the
complications, etc of having to use external processes during unit
testing.
I don't think I can just use an assertTrue() because I also want to
know how many times this private method is called (i.e. is it sending
the correct number of copies out)?
Is there a way I can cause Junit to stop the JRE from calling the true
sendEvent() method and instead call something in my test class??
-Robert
- 8
- Preverifier error in Sun Java Wireless ToolkitHi ppl,
I'm using an SDK provided by my client and building a MIDlet
application which does ApiCalls on this SDK. I copied all the jar files
from the SDK and put it into my lib folder of my MIDlet project so that
it could add it to the classpath during build. But when I build it
shows the following error:
Error preverifying class com.myClient.sdk.attributes.AttributesMaster
VERIFIER ERROR
com/myClient/sdk/attributes/AttributesMaster.addErrorElements(Lorg/w3c/dom/Document;Lorg/w3c/dom/Node;[Lcom/myClient/sdk/attributes/model/ErrorSet;)Lorg/w3c/dom/Node;:
Cannot find class org/w3c/dom/Node
If I don't use that particular jar, and the rest of the jars, it
shows this error:
Error preverifying class com.myClient.sdk.call.AddDisputeCall
java/lang/NoClassDefFoundError: com/myClient/sdk/ApiCall
I read that this is because I might be using a class library created
for the J2SE platform and hence it doesn't work for the J2ME Wireless
toolkit which uses a limited JVM and APIs. Is there any way I can merge
it into my MIDlet so that it will use it?
P.S: I'm comparatively new to J2ME :( Also i'm using the Sun Java
Wireless Toolkit 2.3 Beta. Please help...
Thanks in advance,
Sajida Abdul Salam
- 8
- sound in JavaHi all!
How is possible to change frequency at java's command beep()? Or
somehow? I need two different beeps in my application. They should be
only a kind of beeps and not playing MIDI or something similar.
Thanks,
Branko
- 10
- how does picking and intersection works ?hi
I am interested i knowing how does the picking and intersection of shapes.
I am more concerned about picksegment and shape3d intersection. what's the
algorithm used and how effective it is. I am interested in the thoery of
all this than programming.
I am using pick segment to pind the intersection point, I have to find the
distance and than do some maths to find the intersection point, is there
an built-in function for this.
Thanks
sonu
- 16
|
| Author |
Message |
nobody

|
Posted: 2006-6-18 1:04:00 |
Top |
java-programmer, Will MS be less evil now?
I don't understand Gates. If he wants to do good deeds and be a
philanthropist, why limit such good deeds to healthcare and
education? Why not also do a good deed in the computer
industry? In this industry he is known less for his innovations
than for tactics such as sabotaging Java and cutting off
Netscape's air supply. He has done the industry and consumers
immeasurable harm, for example, by freezing the development
of web browsers. Here's an idea for Gates: Unfreeze the web
browser. Take web browsing to the next level. Start by
implementing SVG, the W3 standard for vector graphics, in IE.
|
| |
|
| |
 |
Oliver Wong

|
Posted: 2006-6-19 21:54:00 |
Top |
java-programmer >> Will MS be less evil now?
<email***@***.com> wrote in message news:email***@***.com...
>
> Here's an idea for Gates: Unfreeze the web
> browser. Take web browsing to the next level. Start by
> implementing SVG, the W3 standard for vector graphics, in IE.
I recommend Microsoft instead starts by implementing HTML, the W3
standard for hyper text, in IE.
- Oliver
|
| |
|
| |
 |
The Ghost In The Machine

|
Posted: 2006-6-19 23:00:00 |
Top |
java-programmer >> Will MS be less evil now?
In comp.lang.java.advocacy, Oliver Wong
<email***@***.com>
wrote
on Mon, 19 Jun 2006 13:53:51 GMT
<P%xlg.57468$771.36555@edtnps89>:
> <email***@***.com> wrote in message news:email***@***.com...
>>
>> Here's an idea for Gates: Unfreeze the web
>> browser. Take web browsing to the next level. Start by
>> implementing SVG, the W3 standard for vector graphics, in IE.
>
> I recommend Microsoft instead starts by implementing HTML, the W3
> standard for hyper text, in IE.
>
> - Oliver
>
Erm...what violations of the HTML specification is IE offering?
Note: I'm asking regarding just the HTML spec.
The CSS1/2/2.1/3 stuff is another thing, but Microsoft
probably should fix those too. :-) And then there's
the PNG transparency issue, but that's not part of HTML
(though it is a standard -- RFC2083 -- and is referenced
by either <IMG> or <OBJECT>).
(Since this is not Java-related, moving subthread to cola.)
--
#191, email***@***.com
Windows Vista. Because it's time to refresh your hardware. Trust us.
|
| |
|
| |
 |
Tim Hammerquist

|
Posted: 2006-6-20 0:10:00 |
Top |
java-programmer >> Will MS be less evil now?
The Ghost In The Machine <email***@***.com> wrote:
> In comp.lang.java.advocacy, Oliver Wong <email***@***.com> wrote:
> > I recommend Microsoft instead starts by implementing HTML, the W3
> > standard for hyper text, in IE.
>
> Erm...what violations of the HTML specification is IE offering?
[ snip ]
> (Since this is not Java-related, moving subthread to cola.)
Erm... why?
Wouldn't ciwah be infinitely more appropriate that a linux NG for HTML
topics?
Or if you mean the anti-MS sentiment, why not redirect it somewhere
it's actually *ON* topic, like alt.microsoft.sucks. Maybe the linux
trolls like trash-talking and mudslinging, but that doesn't make it
on-topic, and I hardly think they're short of anti-MS trash to talk.
Or am I missing something?
Tim Hammerquist
|
| |
|
| |
 |
Oliver Wong

|
Posted: 2006-6-20 1:32:00 |
Top |
java-programmer >> Will MS be less evil now?
"The Ghost In The Machine" <email***@***.com> wrote in message
news:email***@***.com...
> In comp.lang.java.advocacy, Oliver Wong
> <email***@***.com>
> wrote
> on Mon, 19 Jun 2006 13:53:51 GMT
>>
>> I recommend Microsoft instead starts by implementing HTML, the W3
>> standard for hyper text, in IE.
>>
>>
>
> Erm...what violations of the HTML specification is IE offering?
>
> Note: I'm asking regarding just the HTML spec.
> The CSS1/2/2.1/3 stuff is another thing, but Microsoft
> probably should fix those too. :-) And then there's
> the PNG transparency issue, but that's not part of HTML
> (though it is a standard -- RFC2083 -- and is referenced
> by either <IMG> or <OBJECT>).
Right, IE is pretty well known for their CSS bugs, and less known for their
HTML ones. Last I checked (today, IE Version
6.0.2900.2180.xpsp_sp2_gdr.050301-1519), IE doesn't support the <abbr> tag
to indicate abbreviations. Here's the HTML code I used to test (W3 tells me
it's valid):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head><title>test</title></head>
<body>
<p>non abbrev <abbr title="Fear Uncertainty Doubt">FUD</abbr> non abbrev
<span title="span">span</span></p>
</body>
</html>
The <span> is there to prove that the "title" attribute is recognized by IE.
If you mouse-over the text "span", you'll see the tooltip "span", but if you
mouse-over "FUD", you won't see the tooltip "Fear Uncertainty Doubt".
When I said "implement HTML", I really meant "Implement HTML, XHTML, CSS and
related technologies". In more general terms, MS should fix the features
already present in IE, as opposed to introducing new features (such as SVG
support, which can be had via plugins from Adobe anyway, for example)
I just thought it'd be more inflammatory if I said "HTML" instead of "HTML,
XHTML, CSS, etc.".
>
> (Since this is not Java-related, moving subthread to cola.)
[moved back; apologies to those who are offended by "offtopic" posts, but I
don't read COLA, and I'd like to see replies to this thread. clja seems to
be pretty topic-tolerant anyways.]
- Oliver
|
| |
|
| |
 |
Erik Funkenbusch

|
Posted: 2006-6-20 1:47:00 |
Top |
java-programmer >> Will MS be less evil now?
On Mon, 19 Jun 2006 17:31:50 GMT, Oliver Wong wrote:
> The <span> is there to prove that the "title" attribute is recognized by IE.
> If you mouse-over the text "span", you'll see the tooltip "span", but if you
> mouse-over "FUD", you won't see the tooltip "Fear Uncertainty Doubt".
Actually, the abbr tag is not defined as to how it should be handled by
user agents. Ignoring it, effectively just as standards compliant as
showing a tooltip. This is, largely, for semantic and structural markup.
You can use CSS to markup <abbr> tags however you like.
From the w3:
http://www.w3.org/TR/html4/struct/text.html#h-9.2.1
"The presentation of phrase elements depends on the user agent."
|
| |
|
| |
 |
Oliver Wong

|
Posted: 2006-6-20 2:14:00 |
Top |
java-programmer >> Will MS be less evil now?
"Erik Funkenbusch" <email***@***.com> wrote in message
news:11k1e3vid4e5d$email***@***.com...
> On Mon, 19 Jun 2006 17:31:50 GMT, Oliver Wong wrote:
>
>> The <span> is there to prove that the "title" attribute is recognized by
>> IE.
>> If you mouse-over the text "span", you'll see the tooltip "span", but if
>> you
>> mouse-over "FUD", you won't see the tooltip "Fear Uncertainty Doubt".
>
> Actually, the abbr tag is not defined as to how it should be handled by
> user agents. Ignoring it, effectively just as standards compliant as
> showing a tooltip. This is, largely, for semantic and structural markup.
> You can use CSS to markup <abbr> tags however you like.
>
[...]
But from http://www.w3.org/TR/html4/struct/global.html#adef-title
<quote>
Values of the title attribute may be rendered by user agents in a variety of
ways. For instance, visual browsers frequently display the title as a "tool
tip" (a short message that appears when the pointing device pauses over an
object). Audio user agents may speak the title information in a similar
context. For example, setting the attribute on a link allows user agents
(visual and non-visual) to tell users about the nature of the linked
resource:
</quote>
I'm basically saying that IE's HTML parser has not implemented the
<abbr> tag, and so it ignores it completely. And I'm saying that my proof
that IE has not implemented the <abbr> tag is that IE has implemented the
"title" attribute, and the "title" attribute has a known rendering on IE (a
tooltip), but this rendering doesn't occur when the title attribute is
applied to the <abbr> tag. My proof that IE has implemented the "title"
attribute was the inclusion of the <span> tag.
If that isn't evidence enough for you, see
http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx
<quote>
In addition we've added support [to IE7] for the following
* HTML 4.01 ABBR tag
</quote>
- Oliver
|
| |
|
| |
 |
Erik Funkenbusch

|
Posted: 2006-6-20 2:49:00 |
Top |
java-programmer >> Will MS be less evil now?
On Mon, 19 Jun 2006 18:13:30 GMT, Oliver Wong wrote:
> I'm basically saying that IE's HTML parser has not implemented the
> <abbr> tag, and so it ignores it completely. And I'm saying that my proof
> that IE has not implemented the <abbr> tag is that IE has implemented the
> "title" attribute, and the "title" attribute has a known rendering on IE (a
> tooltip), but this rendering doesn't occur when the title attribute is
> applied to the <abbr> tag. My proof that IE has implemented the "title"
> attribute was the inclusion of the <span> tag.
Right, I'm just saying that there is no standard defined way to deal with
this tag, as such doing nothing is just as valid as doing something.
Further, CSS does apply to such tags so IE doesn't completely ignore it.
It doesn't, however, show the title as a tooltip, which is typical behavior
for a GUI browser.
> If that isn't evidence enough for you, see
> http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx
>
> <quote>
> In addition we've added support [to IE7] for the following
>
> * HTML 4.01 ABBR tag
> </quote>
Right, they added support for displaying the abbr as a tooltip, like other
common browsers. But, since this is not required functionality, claiming
that not supporting this is violating the W3 spec is wrong.
|
| |
|
| |
 |
The Ghost In The Machine

|
Posted: 2006-6-20 3:00:00 |
Top |
java-programmer >> Will MS be less evil now?
In comp.lang.java.advocacy, Erik Funkenbusch
<email***@***.com>
wrote
on Mon, 19 Jun 2006 12:47:27 -0500
<11k1e3vid4e5d$email***@***.com>:
> On Mon, 19 Jun 2006 17:31:50 GMT, Oliver Wong wrote:
>
>> The <span> is there to prove that the "title" attribute is recognized by IE.
>> If you mouse-over the text "span", you'll see the tooltip "span", but if you
>> mouse-over "FUD", you won't see the tooltip "Fear Uncertainty Doubt".
>
> Actually, the abbr tag is not defined as to how it should be handled by
> user agents. Ignoring it, effectively just as standards compliant as
> showing a tooltip. This is, largely, for semantic and structural markup.
> You can use CSS to markup <abbr> tags however you like.
>
> From the w3:
>
> http://www.w3.org/TR/html4/struct/text.html#h-9.2.1
>
> "The presentation of phrase elements depends on the user agent."
He's right; this is a non-implementation as opposed to a
mis-implementation.
--
#191, email***@***.com
Windows Vista. Because it's time to refresh your hardware. Trust us.
|
| |
|
| |
 |
The Ghost In The Machine

|
Posted: 2006-6-20 5:00:00 |
Top |
java-programmer >> Will MS be less evil now?
In comp.lang.java.advocacy, Erik Funkenbusch
<email***@***.com>
wrote
on Mon, 19 Jun 2006 13:48:52 -0500
<email***@***.com>:
> On Mon, 19 Jun 2006 18:13:30 GMT, Oliver Wong wrote:
>
>> I'm basically saying that IE's HTML parser has not implemented the
>> <abbr> tag, and so it ignores it completely. And I'm saying that my proof
>> that IE has not implemented the <abbr> tag is that IE has implemented the
>> "title" attribute, and the "title" attribute has a known rendering on IE (a
>> tooltip), but this rendering doesn't occur when the title attribute is
>> applied to the <abbr> tag. My proof that IE has implemented the "title"
>> attribute was the inclusion of the <span> tag.
>
> Right, I'm just saying that there is no standard defined way to deal with
> this tag, as such doing nothing is just as valid as doing something.
> Further, CSS does apply to such tags so IE doesn't completely ignore it.
>
> It doesn't, however, show the title as a tooltip, which is typical behavior
> for a GUI browser.
It doesn't have to; see below.
>
>> If that isn't evidence enough for you, see
>> http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx
>>
>> <quote>
>> In addition we've added support [to IE7] for the following
>>
>> * HTML 4.01 ABBR tag
>> </quote>
>
> Right, they added support for displaying the abbr as a tooltip, like other
> common browsers. But, since this is not required functionality, claiming
> that not supporting this is violating the W3 spec is wrong.
7.4.3 of the HTML 4.0.1 is clear that, for those tags that support it
(and are supported in turn):
Values of the title attribute may be rendered by user agents in a
variety of ways. For instance, visual browsers frequently display
the title as a "tool tip" (a short message that appears when the
pointing device pauses over an object). Audio user agents may speak
the title information in a similar context.
9.2 is not at all clear as to whether these tags are required,
suggested, optional, or other. No doubt conforming browsers could in
theory ignore them all; therefore IE conforms.
This is not the best of behaviors, but is not a violation.
--
#191, email***@***.com
Windows Vista. Because it's time to refresh your hardware. Trust us.
|
| |
|
| |
 |
Oliver Wong

|
Posted: 2006-6-20 21:58:00 |
Top |
java-programmer >> Will MS be less evil now?
"Erik Funkenbusch" <email***@***.com> wrote in message
news:email***@***.com...
> On Mon, 19 Jun 2006 18:13:30 GMT, Oliver Wong wrote:
>
>> I'm basically saying that IE's HTML parser has not implemented the
>> <abbr> tag, and so it ignores it completely.
[...]
> Further, CSS does apply to such tags so IE doesn't completely ignore it.
In my tests, CSS does not apply to the tag <abbr> tag. Here's my HTML
code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>test</title>
<style type="text/css">
abbr {
background: #FF0000;
}
</style>
</head>
<body>
<p>non abbrev <abbr title="Fear Uncertainty Doubt">FUD</abbr> non abbrev
<span title="span">span</span></p>
</body>
</html>
FireFox correctly renders the FUD on a red background, whereas IE use the
default background (white in my case).
- Oliver
|
| |
|
| |
 |
The Ghost In The Machine

|
Posted: 2006-6-21 4:00:00 |
Top |
java-programmer >> Will MS be less evil now?
In comp.lang.java.advocacy, Oliver Wong
<email***@***.com>
wrote
on Tue, 20 Jun 2006 13:57:40 GMT
<o9Tlg.65409$I61.52785@clgrps13>:
>
> "Erik Funkenbusch" <email***@***.com> wrote in message
> news:email***@***.com...
>> On Mon, 19 Jun 2006 18:13:30 GMT, Oliver Wong wrote:
>>
>>> I'm basically saying that IE's HTML parser has not implemented the
>>> <abbr> tag, and so it ignores it completely.
> [...]
>> Further, CSS does apply to such tags so IE doesn't completely ignore it.
>
> In my tests, CSS does not apply to the tag <abbr> tag. Here's my HTML
> code:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html>
> <head>
> <title>test</title>
> <style type="text/css">
> abbr {
> background: #FF0000;
> }
> </style>
> </head>
> <body>
> <p>non abbrev <abbr title="Fear Uncertainty Doubt">FUD</abbr> non abbrev
> <span title="span">span</span></p>
> </body>
> </html>
>
> FireFox correctly renders the FUD on a red background, whereas IE use the
> default background (white in my case).
>
> - Oliver
>
The HTML 4.01 spec is maddeningly unclear on whether
this is a violation or not. Basically, the tag is being
parsed then ignored, much like <FOO> or <BELCH> would be.
Note that HTML 3.2 didn't have <ABBR>.
There is nothing I see in Section 9 that says "thou shalt
implement these tags". Of course, if one does implement
the tags one must implement them properly, e.g., <BR>blah
blah</BR> would be slightly ridiculous, and requiring <P>
to have an end tag would break a lot of non-XML web pages.
--
#191, email***@***.com
Windows Vista. Because it's time to refresh your hardware. Trust us.
|
| |
|
| |
 |
Oliver Wong

|
Posted: 2006-6-21 22:08:00 |
Top |
java-programmer >> Will MS be less evil now?
"The Ghost In The Machine" <email***@***.com> wrote in message
news:email***@***.com...
> In comp.lang.java.advocacy, Oliver Wong
> <email***@***.com>
> wrote
> on Tue, 20 Jun 2006 13:57:40 GMT
> <o9Tlg.65409$I61.52785@clgrps13>:
>>
>> "Erik Funkenbusch" <email***@***.com> wrote in message
>> news:email***@***.com...
>>> On Mon, 19 Jun 2006 18:13:30 GMT, Oliver Wong wrote:
>>>
>>>> I'm basically saying that IE's HTML parser has not implemented the
>>>> <abbr> tag, and so it ignores it completely.
>> [...]
>>> Further, CSS does apply to such tags so IE doesn't completely ignore it.
>>
>> In my tests, CSS does not apply to the tag <abbr> tag. Here's my HTML
>> code:
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <html>
>> <head>
>> <title>test</title>
>> <style type="text/css">
>> abbr {
>> background: #FF0000;
>> }
>> </style>
>> </head>
>> <body>
>> <p>non abbrev <abbr title="Fear Uncertainty Doubt">FUD</abbr> non abbrev
>> <span title="span">span</span></p>
>> </body>
>> </html>
>>
>> FireFox correctly renders the FUD on a red background, whereas IE use the
>> default background (white in my case).
>>
>> - Oliver
>>
>
> The HTML 4.01 spec is maddeningly unclear on whether
> this is a violation or not. Basically, the tag is being
> parsed then ignored, much like <FOO> or <BELCH> would be.
> Note that HTML 3.2 didn't have <ABBR>.
Okay, so IE might be correctly implementing HTML 3.2, but it's not
implementing HTML 4.01. So let me amend my request to "Instead of
implementing SVG, let's have IE implement HTML 4.01 first. Then maybe XHTML
1.0, and then 1.1 and 2.0. And *THEN* we can worry about fancy new features
like SVG".
I don't think you can say you implement 4.01 if you decide to not
implement certain tags which are defined within 4.01. Otherwise, I could say
that NotePad is an HTML 4.01 compliant browser, except that it ignores all
tags (such as <html>, <body>, <head>, etc.)
>
> There is nothing I see in Section 9 that says "thou shalt
> implement these tags".
I don't think there's anything anywhere in the HTML specs that says it's
optional to implement the tags. I.e. I think it's implied that to be
conformant to the spec, you have to implement everything the spec says,
unless indicated otherwise.
> Of course, if one does implement
> the tags one must implement them properly, e.g., <BR>blah
> blah</BR> would be slightly ridiculous, and requiring <P>
> to have an end tag would break a lot of non-XML web pages.
Luckily HTML is not nescessarily XML, and HTML does allow for non-closed
tags. One of the big reasons to move to XHTML is that it IS XML, meaning the
tags are now case sensitive, and every opening tag must be closed, etc. The
hope is that this will force a lot of authors to write cleaner pages, which
means less undefined behaviour for browsers which encounter malformed pages.
As for the <br>blah bla</br> thing, each tag in HTML has a DTD defining
what kind of children it can have, and I believe <br> may not have
character-data as children, so that construct would be illegal in HTML
anyway.
- Oliver
|
| |
|
| |
 |
The Ghost In The Machine

|
Posted: 2006-6-22 0:00:00 |
Top |
java-programmer >> Will MS be less evil now?
In comp.lang.java.advocacy, Oliver Wong
<email***@***.com>
wrote
on Wed, 21 Jun 2006 14:07:36 GMT
<Iocmg.73825$JX1.14628@edtnps82>:
>
> "The Ghost In The Machine" <email***@***.com> wrote in message
> news:email***@***.com...
>> In comp.lang.java.advocacy, Oliver Wong
>> <email***@***.com>
>> wrote
>> on Tue, 20 Jun 2006 13:57:40 GMT
>> <o9Tlg.65409$I61.52785@clgrps13>:
>>>
>>> "Erik Funkenbusch" <email***@***.com> wrote in message
>>> news:email***@***.com...
>>>> On Mon, 19 Jun 2006 18:13:30 GMT, Oliver Wong wrote:
>>>>
>>>>> I'm basically saying that IE's HTML parser has not implemented the
>>>>> <abbr> tag, and so it ignores it completely.
>>> [...]
>>>> Further, CSS does apply to such tags so IE doesn't completely ignore it.
>>>
>>> In my tests, CSS does not apply to the tag <abbr> tag. Here's my HTML
>>> code:
>>>
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>>> <html>
>>> <head>
>>> <title>test</title>
>>> <style type="text/css">
>>> abbr {
>>> background: #FF0000;
>>> }
>>> </style>
>>> </head>
>>> <body>
>>> <p>non abbrev <abbr title="Fear Uncertainty Doubt">FUD</abbr> non abbrev
>>> <span title="span">span</span></p>
>>> </body>
>>> </html>
>>>
>>> FireFox correctly renders the FUD on a red background, whereas IE use the
>>> default background (white in my case).
>>>
>>> - Oliver
>>>
>>
>> The HTML 4.01 spec is maddeningly unclear on whether
>> this is a violation or not. Basically, the tag is being
>> parsed then ignored, much like <FOO> or <BELCH> would be.
>> Note that HTML 3.2 didn't have <ABBR>.
>
> Okay, so IE might be correctly implementing HTML 3.2,
Probably the right time frame. I'd have to look. I remember the Arena
browser; crude but implemented a precursor to what eventually turned
into MathML.
> but it's not implementing HTML 4.01. So let me amend my
> request to "Instead of implementing SVG, let's have IE
> implement HTML 4.01 first. Then maybe XHTML
> 1.0, and then 1.1 and 2.0. And *THEN* we can worry about
> fancy new features like SVG".
New? SVG's been around since 1999, though it took a bit of doing
and was eventually standardized (1.0) in mid-2000. We are now at 1.1,
and 1.2 is in the works.
http://www.w3.org/Graphics/SVG/History
http://www.w3.org/Graphics/SVG/
I suppose compared to rocks, electric power, computers, and browsers
it's new. :-) Firefox seems to like it, for example, in 1.5.
>
> I don't think you can say you implement 4.01 if you decide to not
> implement certain tags which are defined within 4.01. Otherwise, I could say
> that NotePad is an HTML 4.01 compliant browser, except that it ignores all
> tags (such as <html>, <body>, <head>, etc.)
Notepad does not ignore the tags; it doesn't parse them. It just
renders them as text, which it's not supposed to do as a
RFC2616-compliant user agent. :-) Also, it doesn't do fetches
using HTTP.
>
>>
>> There is nothing I see in Section 9 that says "thou shalt
>> implement these tags".
>
> I don't think there's anything anywhere in the HTML specs that says it's
> optional to implement the tags. I.e. I think it's implied that to be
> conformant to the spec, you have to implement everything the spec says,
> unless indicated otherwise.
Hmm...I'm inclined to agree, actually; I just don't know at this point.
>
>> Of course, if one does implement
>> the tags one must implement them properly, e.g., <BR>blah
>> blah</BR> would be slightly ridiculous, and requiring <P>
>> to have an end tag would break a lot of non-XML web pages.
>
> Luckily HTML is not nescessarily XML, and HTML does allow for non-closed
> tags. One of the big reasons to move to XHTML is that it IS XML, meaning the
> tags are now case sensitive, and every opening tag must be closed, etc. The
> hope is that this will force a lot of authors to write cleaner pages, which
> means less undefined behaviour for browsers which encounter malformed pages.
>
> As for the <br>blah bla</br> thing, each tag in HTML has a DTD defining
> what kind of children it can have, and I believe <br> may not have
> character-data as children, so that construct would be illegal in HTML
> anyway.
>
Exactly my point; if a browser chooses to implement BR, it must do so
correctly.
Since IE doesn't even bother to implement ABBR, it's far from clear how
correct it is. However, since it skips it (correctly, AFAICT), it's far
from clear how *incorrect* it is. Ow, my brain....
> - Oliver
>
--
#191, email***@***.com
Windows Vista. Because it's time to refresh your hardware. Trust us.
|
| |
|
| |
 |
Oliver Wong

|
Posted: 2006-6-22 0:59:00 |
Top |
java-programmer >> Will MS be less evil now?
"The Ghost In The Machine" <email***@***.com> wrote in message
news:email***@***.com...
> In comp.lang.java.advocacy, Oliver Wong
> <email***@***.com>
> wrote
> on Wed, 21 Jun 2006 14:07:36 GMT
> <Iocmg.73825$JX1.14628@edtnps82>:
>>
>> "The Ghost In The Machine" <email***@***.com> wrote in
>> message
>> news:email***@***.com...
>>> In comp.lang.java.advocacy, Oliver Wong
>>> <email***@***.com>
>>> wrote
>>> on Tue, 20 Jun 2006 13:57:40 GMT
>>> <o9Tlg.65409$I61.52785@clgrps13>:
>>>>
>>>> "Erik Funkenbusch" <email***@***.com> wrote in message
>>>> news:email***@***.com...
>>>>> On Mon, 19 Jun 2006 18:13:30 GMT, Oliver Wong wrote:
>>>>>
>>>>>> I'm basically saying that IE's HTML parser has not implemented
>>>>>> the
>>>>>> <abbr> tag, and so it ignores it completely.
>>>> [...]
>>>>> Further, CSS does apply to such tags so IE doesn't completely ignore
>>>>> it.
>>>>
>>>> In my tests, CSS does not apply to the tag <abbr> tag. Here's my
>>>> HTML
>>>> code:
>>>>
>>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>>>> <html>
>>>> <head>
>>>> <title>test</title>
>>>> <style type="text/css">
>>>> abbr {
>>>> background: #FF0000;
>>>> }
>>>> </style>
>>>> </head>
>>>> <body>
>>>> <p>non abbrev <abbr title="Fear Uncertainty Doubt">FUD</abbr> non
>>>> abbrev
>>>> <span title="span">span</span></p>
>>>> </body>
>>>> </html>
>>>>
>>>> FireFox correctly renders the FUD on a red background, whereas IE use
>>>> the
>>>> default background (white in my case).
>>>>
>>>> - Oliver
>>>>
>>>
>>> The HTML 4.01 spec is maddeningly unclear on whether
>>> this is a violation or not. Basically, the tag is being
>>> parsed then ignored, much like <FOO> or <BELCH> would be.
>>> Note that HTML 3.2 didn't have <ABBR>.
>>
>> Okay, so IE might be correctly implementing HTML 3.2,
>
> Probably the right time frame. I'd have to look. I remember the Arena
> browser; crude but implemented a precursor to what eventually turned
> into MathML.
>
>> but it's not implementing HTML 4.01. So let me amend my
>> request to "Instead of implementing SVG, let's have IE
>> implement HTML 4.01 first. Then maybe XHTML
>> 1.0, and then 1.1 and 2.0. And *THEN* we can worry about
>> fancy new features like SVG".
>
> New? SVG's been around since 1999, though it took a bit of doing
> and was eventually standardized (1.0) in mid-2000. We are now at 1.1,
> and 1.2 is in the works.
>
> http://www.w3.org/Graphics/SVG/History
> http://www.w3.org/Graphics/SVG/
>
> I suppose compared to rocks, electric power, computers, and browsers
> it's new. :-) Firefox seems to like it, for example, in 1.5.
More significantly, it's new compared to HTML 4. But in retrospect, I
guess the issue is less about newness, and more about what is and isn't core
functionality. A web browser which handles SVG correctly, but HTML
incorrectly is as absurd as a spreadsheet program with a working built in
flight simulator, but the inability to save data to disk without corruption.
>
>>
>> I don't think you can say you implement 4.01 if you decide to not
>> implement certain tags which are defined within 4.01. Otherwise, I could
>> say
>> that NotePad is an HTML 4.01 compliant browser, except that it ignores
>> all
>> tags (such as <html>, <body>, <head>, etc.)
>
>
> Notepad does not ignore the tags; it doesn't parse them. It just
> renders them as text, which it's not supposed to do as a
> RFC2616-compliant user agent. :-) Also, it doesn't do fetches
> using HTTP.
You're right about the not ignoring tags. How about if I wrote a quick
Java program which always draws a blank frame? That'd be ignoring all tags,
right? As for the HTTP fetches, whether or not they actually occur is just
an implementation detail, right? As long as the web browser can display the
page, who cares HOW it actually gets those pages? This always-blank
application is "correctly" displaying the HTML document (by ignoring all
tags), and it does so while optimizing out the network interactivity (a
typical bottleneck in most other browsers).
>>> There is nothing I see in Section 9 that says "thou shalt
>>> implement these tags".
>>
>> I don't think there's anything anywhere in the HTML specs that says
>> it's
>> optional to implement the tags. I.e. I think it's implied that to be
>> conformant to the spec, you have to implement everything the spec says,
>> unless indicated otherwise.
>
> Hmm...I'm inclined to agree, actually; I just don't know at this point.
>
>>
>>> Of course, if one does implement
>>> the tags one must implement them properly, e.g., <BR>blah
>>> blah</BR> would be slightly ridiculous, and requiring <P>
>>> to have an end tag would break a lot of non-XML web pages.
>>
>> Luckily HTML is not nescessarily XML, and HTML does allow for
>> non-closed
>> tags. One of the big reasons to move to XHTML is that it IS XML, meaning
>> the
>> tags are now case sensitive, and every opening tag must be closed, etc.
>> The
>> hope is that this will force a lot of authors to write cleaner pages,
>> which
>> means less undefined behaviour for browsers which encounter malformed
>> pages.
>>
>> As for the <br>blah bla</br> thing, each tag in HTML has a DTD
>> defining
>> what kind of children it can have, and I believe <br> may not have
>> character-data as children, so that construct would be illegal in HTML
>> anyway.
>>
>
> Exactly my point; if a browser chooses to implement BR, it must do so
> correctly.
I think if a browser chooses NOT to implement BR, then it is not
implementing the HTML specs which define that BR tag (which is all of
them?).
>
> Since IE doesn't even bother to implement ABBR, it's far from clear how
> correct it is. However, since it skips it (correctly, AFAICT), it's far
> from clear how *incorrect* it is. Ow, my brain....
It is incorrectly implementing HTML 4.01, because HTML 4.01 requires the
implementation of the ABBR tag, which IE does not do. "Skipping" ABBR is not
a "correct" behaviour for an HTML 4.01 compliant browser, I think.
The confusion, I think, comes from the fact that there isn't a
straightforward or direct way of checking whether a browser implements a tag
short of looking at the source code. I had to demonstrate by showing that
CSS doesn't work properly on the ABBR tag. Someone might then say "But
that's a CSS bug, not an HTML bug", in which case I have to show that CSS
works in all situations EXCEPT for the ABBR tag, showing that the problem is
indeed with ABBR, and not with CSS.
- Oliver
|
| |
|
| |
 |
John W. Kennedy

|
Posted: 2006-6-23 2:48:00 |
Top |
java-programmer >> Will MS be less evil now?
email***@***.com wrote:
> I don't understand Gates. If he wants to do good deeds and be a
> philanthropist, why limit such good deeds to healthcare and
> education? Why not also do a good deed in the computer
> industry? In this industry he is known less for his innovations
> than for tactics such as sabotaging Java and cutting off
> Netscape's air supply. He has done the industry and consumers
> immeasurable harm, for example, by freezing the development
> of web browsers. Here's an idea for Gates: Unfreeze the web
> browser. Take web browsing to the next level. Start by
> implementing SVG, the W3 standard for vector graphics, in IE.
Heck, how about implementing XHTML, the W3 standard for the bloody web
itself?
--
John W. Kennedy
"The blind rulers of Logres
Nourished the land on a fallacy of rational virtue."
-- Charles Williams. "Taliessin through Logres: Prelude"
|
| |
|
| |
 |
The Ghost In The Machine

|
Posted: 2006-6-23 5:00:00 |
Top |
java-programmer >> Will MS be less evil now?
In comp.lang.java.advocacy, John W. Kennedy
<email***@***.com>
wrote
on Thu, 22 Jun 2006 14:48:29 -0400
<2CBmg.80$email***@***.com>:
> email***@***.com wrote:
>> I don't understand Gates. If he wants to do good deeds and be a
>> philanthropist, why limit such good deeds to healthcare and
>> education? Why not also do a good deed in the computer
>> industry? In this industry he is known less for his innovations
>> than for tactics such as sabotaging Java and cutting off
>> Netscape's air supply. He has done the industry and consumers
>> immeasurable harm, for example, by freezing the development
>> of web browsers. Here's an idea for Gates: Unfreeze the web
>> browser. Take web browsing to the next level. Start by
>> implementing SVG, the W3 standard for vector graphics, in IE.
>
> Heck, how about implementing XHTML, the W3 standard for the bloody web
> itself?
>
Which version? XHTML 1.1 is now modular. Java's JEditorPane can't
handle XHTML all that well, either.
Also, SVG is only one of many solutions for displaying
images. Java's JEditorPane can embed arbitrary
java.awt.Component widgets (locally defined). This
has obvious ramifications if anyone cares about what might be
called "Java plugins" (although Java Applets are already
a solution; strangely, they don't work in a JEditorPane).
Of course the <APPLET> tag is screwed up six ways from Sunday, since it
was deprecated in HTML4.01 (or HTML4); the new Object tags apparently
require an IE-specific test (which to Mozzie looks like a comment).
Yecch. The good news: Mozilla understands this form too.
--
#191, email***@***.com
Windows Vista. Because it's time to refresh your hardware. Trust us.
|
| |
|
| |
 |
John W. Kennedy

|
Posted: 2006-6-23 5:04:00 |
Top |
java-programmer >> Will MS be less evil now?
The Ghost In The Machine wrote:
> In comp.lang.java.advocacy, John W. Kennedy
> <email***@***.com>
> wrote
>> Heck, how about implementing XHTML, the W3 standard for the bloody web
>> itself?
> Which version?
Any version. IE6 and IE7 do not display any version of XHTML /at all/.
--
John W. Kennedy
"The blind rulers of Logres
Nourished the land on a fallacy of rational virtue."
-- Charles Williams. "Taliessin through Logres: Prelude"
|
| |
|
| |
 |
The Ghost In The Machine

|
Posted: 2006-6-23 8:00:00 |
Top |
java-programmer >> Will MS be less evil now?
In comp.lang.java.advocacy, John W. Kennedy
<email***@***.com>
wrote
on Thu, 22 Jun 2006 17:04:05 -0400
<cBDmg.658$email***@***.com>:
> The Ghost In The Machine wrote:
>> In comp.lang.java.advocacy, John W. Kennedy
>> <email***@***.com>
>> wrote
>>> Heck, how about implementing XHTML, the W3 standard for the bloody web
>>> itself?
>
>> Which version?
>
> Any version. IE6 and IE7 do not display any version of XHTML /at all/.
>
Heh...not quite what I was aiming for but a *very* good point. :-)
--
#191, email***@***.com
Windows Vista. Because it's time to refresh your hardware. Trust us.
|
| |
|
| |
 |
Oliver Wong

|
Posted: 2006-6-26 22:07:00 |
Top |
java-programmer >> Will MS be less evil now?
"John W. Kennedy" <email***@***.com> wrote in message
news:cBDmg.658$email***@***.com...
> The Ghost In The Machine wrote:
>> In comp.lang.java.advocacy, John W. Kennedy
>> <email***@***.com>
>> wrote
>>> Heck, how about implementing XHTML, the W3 standard for the bloody web
>>> itself?
>
>> Which version?
>
> Any version. IE6 and IE7 do not display any version of XHTML /at all/.
>
Don't know what you mean by "not display[ing] any version of XHTML /at
all/", but my personal blog is written in (almost[*]) pure XHTML, an it
almost looks the same in IE as it does in FireFox (some CSS tags don't work,
but that's about it).
- Oliver
[*]: Because of some faulty PHP scripting, I sometimes emit "&" when I
should have emitted "&", particularly in URLs that point offsite.
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- JBOSS and IPlanet setupHi,
This is a generic architectural question. I am not sure if this can
be posted at this forum.
I am using JBOSS as App server and Iplanet as WebServer and Reverse
Proxy plugin to forward all the JSP requests from Iplanet to JBOSS.
Both Web Server and App server are on different boxes.
When I request a JSP page, its coming up fine. But if that JSP page
has a 'response.sendRedirect' in it, then its failing to redirect to
the specified page. Instead its going to the webserver root.
Also, this behaviour is not consistent - meaning, sometimes it goes
through and sometimes its coming back to webserver root.
Using 'response.forward' fixed the problem.
But I do not want to use 'forward' in the web application because of
the obvious diff between 'forward' and 'redirect'. (Using the forward
doesn't change the URL and upon browser refresh, the same form gets
submitted again and again)
Are there any alternatives to fix the redirect problem?
Any help is appreciated.
Thanks,
-Sudheer
- 2
- Displaying multiple beans in a struts formI have a list of beans that I retrieved from a database. These beans
are all of the same class. Now I want to display these beans in a
struts form so that the user can modify the data in the beans and save
it back to the database.
Can anyone help with this problem? Is there any sample code out there
that would show how to do this?
Thanks
- 3
- User privilege for getMetaData()When using a basic user with only data query and update privileges I
cannot get column data from the DatabaseMetaData object returned from
getMetaData() (on a connection using the JDBC Oracle thin driver).
When I use the schema owner with full privileges, I get the column
data. What privilege is necessary to get column information from
getMetaData?
- 4
- setCursor() for a ContentPanel
Joana,
I was having a similiar problem and did some searching and found the
following forum:
http://forum.java.sun.com/thread.jsp?forum=57&thread=110928
Basically, I think you need to use setCursor on the GlassPane. I used
the following code in my application and it seems to work.
Component gp = getGlassPane();
gp.setVisible(true);
gp.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
//do your computations
gp.setCursor(Cursor.getDefaultCursor());
gp.hide();
Hope this helps,
Kin Wong
On 14 Jun 2003 09:09:45 -0700, email***@***.com (Joana)
wrotE:
>Hi!
>
>May I ask you for a favour ... a hint would please me a lot ...
>
>When the Graph is completely shown in the window I can see no
> WAIT_CURSOR, but DEFAULT_CURSOR.
>When I move the mouse out of the window and hit back the window area I
>get the WAIT_CURSOR.
>
>Could You please tell me, where is my bug or better what should I do,
>to get the WAIT_CURSOR during the graph computing process
>
>Thanks a lot for every single answer!
>
>Best regards,
>Joana
- 5
- Tomcat and QueueHi,
Does any one know about the Coyote connector queue in Tomcat?
How does it work? if a connection gets queued then when does it get a
thread? will it be given preference over the requests arriving after
its arrival??
rgds,
Prashant
- 6
- Reading file lines into large ListHi all,
I have tried posting this problem a few times looking for a solution.
What I have works but is slow.
I have to read unordered data from a text file. Data A has a
one-to-many relationship with Data B, and Data B has a one-to-many
relationship with Data C . Once I find Data A, Data B and Data C could
be anywhere in the file. So I do a RandonAccessFile.seek(0) . This
needs to be repeated hundereds of times for lots of Data B and Data C
relationships.
I'd like to put the file in memory. However, I'm using Scanner and
regex to get the data. I don't think I can run Scanner on ByteBuffer
per line.
So my latest idea is to read the file per line and store it in List. So
a 10,000 line file would have a 10,000 size List. That way I could run
Scanner on the Strings in the List, and Iterate repeatably. The data in
the List would be read only.
Any advice appreciated.
iksrazal
- 7
- "CallByName" in Java?Hello,
is there any way to do the job "CallByName" (as in VB) for Java? We want to
build a hashtable which has the
names of java methodes with their parameters, and later all the methodes
will be called only by
names automatically.
Thanks,
Le
- 8
- What is J2EE and an application server?Can someone explain to me what java enterprise edition is?? I've been
looking into the web for some info, but can't really make sense of the
info found. Is there also an tutorial avaible?
I've found one at the java site, but there it was attached to an
application server. And that's my second question, what is a
application server and what can u do with it??
Thnx someone.....
- 9
- A little optimization question: Local var allocationI often wonder: Does it make any difference in EXECUTION TIME which
version I choose:
#1:
String st;
while (true){
st=dis.readLine();
if (st==null) break;
< do something else >
}
#2:
while (true){
String st=dis.readLine();
if (st==null) break;
< do something else >
}
It's obvious that st is valid outside the loop in #1. But does it get
allocated on the stack for every iteration in #2, or just re-used? If
not, I suppose #2 is preferred as far as limiting the scope, enabling
gc, is an issue.
Chris
- 10
- Fwd: Reminder: Call for FreeBSD status reports!FYI.
Ernst
---------- Doorgestuurd bericht ----------
Subject: Reminder: Call for FreeBSD status reports!
Date: maandag 29 september 2003 23:33
From: Scott Long <email***@***.com>
To: email***@***.com
All,
Don't forget to submit your FreeBSD status reports by Oct 1, 2003!
These reports are open to not only official project memebers, but also
to anyone who is engaged in the development of projects that relate to
FreeBSD. Kernel, userland, ports, documentation, installation,
integration, etc, reports are all welcome and encouraged. Reports should
be 1-2 paragraphs in length, focus on one topic, and should follow the
template that is available at
http://www.freebsd.org/news/status/report-sample.xml.
Submissions must be made to email***@***.com. Submissions for multiple
projects per person are welcome.
Thanks!
Scott Long
Robert Watson
-------------------------------------------------------
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
- 11
- USENIX Security '08 Call For Papers Reminder---------------------------------
Call for Papers
17th USENIX Security Symposium
July 28-August 1, 2008
San Jose, CA, USA
http://www.usenix.org/sec08/cfpb/
Submissions Deadline: January 30, 2008
---------------------------------
Dear Colleague:
I'm writing to let you know that the paper submissions site for the 17th
USENIX Security Symposium (USENIX Security '08) is now open and can be
found here:
http://www.usenix.org/events/sec08/cfp/submit_form.html
Please submit all work by January 30, 2008.
Refereed paper submissions are solicited in all areas relating to
systems and network security, including:
* Adaptive security and system management
* Analysis of network and security protocols
* Applications of cryptographic techniques
* Attacks against networks and machines
* Authentication and authorization of users, systems, and applications
* Automated tools for source code analysis
* Botnets
* Cryptographic implementation analysis and construction
* Denial-of-service attacks and countermeasures
* File and filesystem security
* Firewall technologies
* Forensics and diagnostics for security
* Intrusion and anomaly detection and prevention
* Malicious code analysis, anti-virus, anti-spyware
* Network infrastructure security
* Operating system security
* Privacy-preserving (and -compromising) systems
* Public key infrastructure
* Rights management and copyright protection
* Security architectures
* Security in heterogeneous and large-scale environments
* Security policy
* Self-protecting and healing systems
* Techniques for developing secure systems
* Technologies for trustworthy computing
* Usability and security
* Voting systems analysis and security
* Wireless and pervasive/ubiquitous computing security
* Web security
Please note that the USENIX Security Symposium is primarily a systems
security conference. Papers whose contributions are primarily new
cryptographic algorithms or protocols, cryptanalysis, electronic
commerce primitives, etc., may not be appropriate for this conference.
Submissions are due January 30, 2008, 11:59 p.m. PST
(firm deadline).
For more details on the submission process, please see the complete
Call for Papers at:
http://www.usenix.org/sec08/cfpb/
We look forward to receiving your submissions!
Paul Van Oorschot, Carleton University
USENIX Security '08 Program Chair
email***@***.com
---------------------------------
Call for Papers
17th USENIX Security Symposium
July 28-August 1, 2008
San Jose, CA, USA
http://www.usenix.org/sec08/cfpb/
Submissions Deadline: January 30, 2008
---------------------------------
- 12
- 13
- ADT's vs. interfaceswhat is the differences between ADT's and interfaces? also what are
abstract classes? can you also include examples?
thnks
- 14
- Labels and paint questions...I have an applet, here
http://www.aquaticwhirlpools.com/sean/selectMenu.html
What I need is for the select menus to have some space between
them so that I can have the orange/yellow images next to each one.
As you can see, there is a bit of one of the images next to
"by product size" and a full image next to "by model".
The space between the two "by product size" and "by shape" is
created by an empty label. The image is placed in the paint method.
The problem is that without the empty label, the menus have no space
between them, as with "by shape" and "by model". Is there any other
way to create that space... or is there a way to make the images 'paint'
on top of the labels?
Thanks for any help.
- 15
- Finding BeanInfo for superclass?Hi,
I'm having a problem or a misunderstanding with BeanInfo.
I have a class Alpha, and a class Beta. Beta extends Alpha. I've
created an AlphaBeanInfo class.
The following code works fine:
BeanInfo info = Introspector.getBeanInfo(Alpha.class);
...
Problem is though when I call the following code:
BeanInfo info = Introspector.getBeanInfo(Beta.class);
...
AlphaBeanInfo is not returned, nor are any of its methods called
(verified via debugging)
Shouldn't this be returned by the Introspector? I could of course write
a BetaBeanInfo, but this seems silly to have to do this.
Any ideas/clarifications?
Many thanks,
M
|
|
|