| Building an Exception Layer |
|
 |
Index ‹ java-programmer
|
- Previous
- 1
- JBoss,integrated Tomcat,Mysqltsstsc wrote:
> I am new to J2ee, and have difficulty deploying them to JBOSS, can
> anyone help?
>
> --
> Posted via http://dbforums.com
I'm started programming in J2EE for several months ago now.
I'm using Eclipse (eclipse.org) as IDE.
There's a plugin available for free that helps you starting a J2EE
project. You can find the plugin at
http://sourceforge.net/projects/lomboz. You can deploy your project to
several aplication servers including JBOSS/Tomcat.
That's the way I started after a bit of reading.
Good luck,
Marcel
- 2
- This JComboBox does not resizes itselfHello.
By the program below, I wanted to change the message "a" on the
JComboBox
left side into "a-changed" by clicking the "change" button.
But all I saw was "..." because the JComboBox does not resizes itself.
How can I resize the JComboBox?
Thank you in advance.
----
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
public class ChangeItem extends JFrame {
public static void main(String[] args) {
new ChangeItem();
}
private ChangeItem() {
setSize(300, 100);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Container cp = getContentPane();
cp.setLayout(new FlowLayout());
Combo combo = new Combo();
cp.add(combo);
cp.add(combo.new XButton());
setVisible(true);
}
private static class Combo extends JComboBox {
private Combo() {
addItem(new Item("a"));
}
private class XButton extends JButton {
private XButton() {
super("change");
}
protected void fireActionPerformed(ActionEvent e) {
Item i = (Item) getSelectedItem();
i.displayName = i.displayName == "a-changed" ? "a"
: "a-changed";
Combo.this.repaint();
}
}
}
private static class Item {
private String displayName;
private Item(String displayName) {
this.displayName = displayName;
}
public String toString() {
return displayName;
}
}
}
- 3
- Open Document Format / Rich Text Format Editor in Javahi all,
I'm looking for a java class or a set of java classes with which I can
display ( and edit ) a ODF-Document (or a RTF-Document).
One requirement is that it is possible to display different fonts,
text size, text color, text-decoration, images, tables with or without
borders/colors , links, background color, indent, numbering, bullets
etc.
I know about the RTFEditorKit and the HTMLEditorKit from the swing
packages ...and of their limitations.
As my application will use SWT (&RCP), I'm looking for a "better"
alternative. Does anyone of you know which classes could be of
interest for me?
Thanx for your help
Dominik
- 3
- Windows install locations J2SE and TomcatI'm installing J2SE, J2EE and Tomcat (and other Servlet Containers )
I hope I don't run into any conflicts because I notice J2EE comes with
the AppServer, and I'll also want to use Tomcat and possibly even try
WebSphere.
I'm wary of the standard location, with a space in the path
....\Program Files\....
and I can only forsee trouble from this. Any comments or suggestions
?
I already have it installed there, and I think it would be easy to move
( I don't even have JAVAHOME set yet )
Would I need to use uninstall or can I just move the whole dir
structure, below
jdk1.5.0_06 and then set up my path, env var's etc. ??
I don't have any other pressing ? at this point, but I'll be exploring
Tomcat too.
I know using it as a standalone ( on port 8080 ) is a breeze, but I'm
also curious if I can get the connectors to work, in conjunction with
Apache Server ( any current references ? )
I know the connectors have been improved over the last 5 years, just
want the current setup.
TIA
- 3
- Can I deploy Crystal XI Java Report Component on Linux ?Hi,
We are developing J2EE application and plan to deploy it on Oracle Apps
Server on Linux, we use Crystal Report XI as report tools.
We use Java Report Component for integration to jsp page.
The question is : can we deploy Crystal Report XI into Apps Server on
Linux ?
Thank you for your help,
xtanto
- 4
- Need help calling java classesHi. I am a beginner in java so i may sound like a total prat here,
but here goes:
I have been given my university coursework to do. I have to make a
program whereby a customer ordering boxes is asked what attributes of
a box he/she wants from list we have been given, then work out a price
for the box. Anyhow, we have six box types, so a class for each, an
Input class for reading input from the keyboard and a main class.
now, obviously the program starts in main, but i need to go to the
Input class as soon as the program starts, so i can put in some info
from the keyboard, but my tutor says that we have to separate the main
and input classes(whereas i can see it being easier to shove it all in
the main class), so i need to know this: How do you call one class
from another in java? I know how to call methods in one class:
methodname();, but i need to access the input class from the main
class. Is this possible or am i barking up the wrong tree? Help is
much appreciated.
Thanks
----------
Stuart
- 4
- Executable Jars - why are they so rigid with classpaths ?If someone gives me a jar file with a Main in it and some supporting
library jar files, the Manifest.mf will contain information on what
the Main class is and also the location of supporting library jars
RELATIVE to the application jar file. But once I get the jar, I want
to move the supporting jar files to some other convenient directory.
But If I do that, the application jar file will not be able to locate
the supporting classes since the Manifest file has the supporting jar
paths pretty much HARDCODED ! How do I override the hardcode and give
it a different search path so that it can start looking at the new
directory ? This rigidity makes it so painful during times of
distribution. Please help.
- 4
- Cool new websiteBrand new site.
Loads of great stuff
Free membership and full access
Check out Yapooh!
http://www.yapooh.org
- 6
- short-circuit operators - part of the spec?My book says the following about && and ||
(see below dashed line.) And I wonder if this
is built into the language or an artifact of the
compiler. Previously (in my youth) we were
taught that depending on the compiler to skip
evaluating stuff was dangerous and bad for
maintenance.
----------------------------
known as the short-circuit logical operators:
&& short-circuit AND
|| short-circuit OR
The short-circuit feature of the && operator is that it doesn't waste its
time on
pointless evaluations. A short-circuit && evaluates the left side of the
operation first
(operand one), and if operand one resolves to false, the && operator doesn't
bother
looking at the right side of the equation (operand two). The operator
already knows
that the complete expression can't possibly be true, since one operand has
already
proven to be false.
- 6
- How to obtain the right 256 color pallette for the blend of two colors...?Hi all,
I have the following problem: I need to generate dynamically an image with
IndexColorModel (256 color PNG) of a text over a solid color. The parameters
are color foreground for the text and background. The problem is how to
select the most appropriate 256 color pallette for the text to look best. I
mean the text should be antialiased and any other hint applied. For example,
If I pick black on yellow image I think it should have all the tones of
black and yellow. Any red color will be useless and it will be lost space on
the reduced 256 color pallette. But in this example the red could be a good
choice for the transparent color...
How to solve this problem?
I guess I need some background on colors (theory of colors?) Any hint is
welcomed.
Thanks in advance
Sammy
- 9
- Problem with Javadoc out of memory in WSAD 5.1.2Good morning,
we are using WSAD version 5.1.2 , now we need to create the javadoc of
our project but during he creation we have the following error :
javadoc: java.lang.OutOfMemoryError: Please increase memory.
For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx
such as -J-Xmx32m.
if I insert this line
C:\Programmi\Java\jre1.4\bin\javadoc.exe -J-Xmx32m
in the Preference --> Java --> Javadoc Menu we have the message
"javadoc command not exist"
how we could solve the problem using WSAD ??
Many thanks
Antonio
www.etantonio.it/en
- 10
- houghtransformationHello,
I'm looking for sourcecode for a houghtransformation (the one for line
detection). Has anyone somethign like that?
regards, Johannes Elsinghorst
- 10
- Filling a bitmap image with java 1.3.1I need to fill parts of a bitmap, representing European country's
electional cantons, with different colors, one per canton. I would
like to know what would be the best way to do it on a pure java awt
environment.
Thanks a lot.
- 12
- How to determine subclasses of a classHello,
I have a situation where all classes that implement a certain
interface are candidates to have a specific annotation. Now I want to
obtain all classes that implement that interface and select those that
have the anotation of interest. Question is how this can be done.
There seems to be no way you can ask a class for its subclasses (as
f.e. in Smalltalk), which would make things realy easy. Any ideas how
this can be solved? Do I have to write my own class loader? Hopefully
not ...
Thanks for any hints.
Cheers, Oliver
- 15
- J2EE File Event PatternI have a design issue that I was hoping that this list could assist me
with:
I need to create a File Event Handler that is J2EE compliant.
The basic requirements are:
- Detect the arrival of a file on a particular path (including
file masking patterns)
- Recognize the type of file
- Route either data stream or file reference to an appropriate
handler. The handler will process the contents of the file.
- Election of an instance to handle the file (the file will
arrive on a shared drive that all instances of the app will see) to
prevent multiple instances of the same file being processed
Anyone have any good pointers or patterns to use?
Thanks,
Jeff Harman
|
| Author |
Message |
Rizwan

|
Posted: 2004-11-3 2:00:00 |
Top |
java-programmer, Building an Exception Layer
I am trying to build an Exception Layer for a new system. The exceptions I
want to catch are :
* system/configuration failures e.g., Hibernate configuration file missing
etc. (StructureException)
* system access voilation e.g. wrong user id etc. (PermissionException)
* business rules voilation (BusinessRulesException)
* data access voilation (DAOException)
My question is should these above Exception sub-classes be inherited from
Exception or RuntimeException? Please explain why?
In this system I am planning to use Hibernate and Struts. StructureException
will be used in Hibernate and Struts initialization. I was thinking about
creating 2 classes HibernateStructureException and StrutsStructureException
inherited from StructureException and using them in respective code. What do
you guys think?
Thanks
Thanks
|
| |
|
| |
 |
Rizwan

|
Posted: 2004-11-3 5:31:00 |
Top |
java-programmer >> Building an Exception Layer
what i can think of is that PermissionException and BusinessRulesException
inherites from Exception while StructureException and DAOException inherites
from RuntimeException.
"Rizwan" <email***@***.com> wrote in message
news:aYPhd.10736$email***@***.com...
> I am trying to build an Exception Layer for a new system. The exceptions I
> want to catch are :
> * system/configuration failures e.g., Hibernate configuration file missing
> etc. (StructureException)
> * system access voilation e.g. wrong user id etc. (PermissionException)
> * business rules voilation (BusinessRulesException)
> * data access voilation (DAOException)
>
> My question is should these above Exception sub-classes be inherited from
> Exception or RuntimeException? Please explain why?
>
> In this system I am planning to use Hibernate and Struts.
StructureException
> will be used in Hibernate and Struts initialization. I was thinking about
> creating 2 classes HibernateStructureException and
StrutsStructureException
> inherited from StructureException and using them in respective code. What
do
> you guys think?
>
> Thanks
>
> Thanks
>
>
|
| |
|
| |
 |
iamfractal

|
Posted: 2004-11-3 20:50:00 |
Top |
java-programmer >> Building an Exception Layer
"Rizwan" <email***@***.com> wrote in message news:<Y1Thd.12917$email***@***.com>...
> what i can think of is that PermissionException and BusinessRulesException
> inherites from Exception while StructureException and DAOException inherites
> from RuntimeException.
>
> "Rizwan" <email***@***.com> wrote in message
> news:aYPhd.10736$email***@***.com...
> > I am trying to build an Exception Layer for a new system. The exceptions I
> > want to catch are :
> > * system/configuration failures e.g., Hibernate configuration file missing
> > etc. (StructureException)
> > * system access voilation e.g. wrong user id etc. (PermissionException)
> > * business rules voilation (BusinessRulesException)
> > * data access voilation (DAOException)
> >
> > My question is should these above Exception sub-classes be inherited from
> > Exception or RuntimeException? Please explain why?
> >
> > In this system I am planning to use Hibernate and Struts.
> StructureException
> > will be used in Hibernate and Struts initialization. I was thinking about
> > creating 2 classes HibernateStructureException and
> StrutsStructureException
> > inherited from StructureException and using them in respective code. What
> do
> > you guys think?
> >
> > Thanks
> >
> > Thanks
> >
> >
Don't inherit from RuntimeException. See
http://java.sun.com/docs/books/tutorial/essential/exceptions/runtime.html
.ed
www.EdmundKirwan.com - Home of The Fractal Class Composition
|
| |
|
| |
 |
Rizwan

|
Posted: 2004-11-4 0:10:00 |
Top |
java-programmer >> Building an Exception Layer
ok so all four exceptions has to be inherited from BaseException. thanks
<email***@***.com> wrote in message
news:email***@***.com...
> "Rizwan" <email***@***.com> wrote in message
news:<Y1Thd.12917$email***@***.com>...
> > what i can think of is that PermissionException and
BusinessRulesException
> > inherites from Exception while StructureException and DAOException
inherites
> > from RuntimeException.
> >
> > "Rizwan" <email***@***.com> wrote in message
> > news:aYPhd.10736$email***@***.com...
> > > I am trying to build an Exception Layer for a new system. The
exceptions I
> > > want to catch are :
> > > * system/configuration failures e.g., Hibernate configuration file
missing
> > > etc. (StructureException)
> > > * system access voilation e.g. wrong user id etc.
(PermissionException)
> > > * business rules voilation (BusinessRulesException)
> > > * data access voilation (DAOException)
> > >
> > > My question is should these above Exception sub-classes be inherited
from
> > > Exception or RuntimeException? Please explain why?
> > >
> > > In this system I am planning to use Hibernate and Struts.
> > StructureException
> > > will be used in Hibernate and Struts initialization. I was thinking
about
> > > creating 2 classes HibernateStructureException and
> > StrutsStructureException
> > > inherited from StructureException and using them in respective code.
What
> > do
> > > you guys think?
> > >
> > > Thanks
> > >
> > > Thanks
> > >
> > >
>
> Don't inherit from RuntimeException. See
> http://java.sun.com/docs/books/tutorial/essential/exceptions/runtime.html
>
> .ed
>
> www.EdmundKirwan.com - Home of The Fractal Class Composition
|
| |
|
| |
 |
Chris Smith

|
Posted: 2004-11-4 23:35:00 |
Top |
java-programmer >> Building an Exception Layer
Rizwan wrote:
> ok so all four exceptions has to be inherited from BaseException. thanks
>
One more comment: assuming that these exceptions will generally be
handled from outside your library, BaseException is a really poor name.
Why not name it after the API or framework? That way, it's immediately
obvious where the exception comes from when you're reading client code.
For example, JavaMail throws MessagingException, and the java.io package
throws IOException as a base class for their respective exceptions. You
are thinking as a library implementor instead of a library user, and
threatening to create a mess for your users.
--
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
|
| |
|
| |
 |
Rizwan

|
Posted: 2004-11-5 0:16:00 |
Top |
java-programmer >> Building an Exception Layer
then it would be MITBaseException (MIT being the software product name which
we are creating). But then I have to include MIT with other exception name
as well for example MITPermissionException, etc.
"Chris Smith" <email***@***.com> wrote in message
news:email***@***.com...
> Rizwan wrote:
> > ok so all four exceptions has to be inherited from BaseException. thanks
> >
>
> One more comment: assuming that these exceptions will generally be
> handled from outside your library, BaseException is a really poor name.
> Why not name it after the API or framework? That way, it's immediately
> obvious where the exception comes from when you're reading client code.
> For example, JavaMail throws MessagingException, and the java.io package
> throws IOException as a base class for their respective exceptions. You
> are thinking as a library implementor instead of a library user, and
> threatening to create a mess for your users.
>
> --
> www.designacourse.com
> The Easiest Way To Train Anyone... Anywhere.
>
> Chris Smith - Lead Software Developer/Technical Trainer
> MindIQ Corporation
|
| |
|
| |
 |
Chris Smith

|
Posted: 2004-11-5 5:04:00 |
Top |
java-programmer >> Building an Exception Layer
Rizwan wrote:
> then it would be MITBaseException (MIT being the software product name which
> we are creating). But then I have to include MIT with other exception name
> as well for example MITPermissionException, etc.
That's the basic idea. I'd suggest MITException as opposed to
MITBaseException. The "base" is still an implementation word, and just
grates a bit when used from a client. The client shouldn't care if it's
a "base" for some other exception; only if it's the exception the client
is interested in. As for "MITPermissionException", that's probably a
good idea just because "permission" is so vague. For a less vague word,
it might not be necessary; for example, FileNotFoundException is not
called IOFileNotFoundException, because the name is descriptive enough.
--
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
|
| |
|
| |
 |
Rizwan

|
Posted: 2004-11-6 1:04:00 |
Top |
java-programmer >> Building an Exception Layer
the reason of using base is because I was thinking to define it as an
abstract class.
"Chris Smith" <email***@***.com> wrote in message
news:email***@***.com...
> Rizwan wrote:
> > then it would be MITBaseException (MIT being the software product name
which
> > we are creating). But then I have to include MIT with other exception
name
> > as well for example MITPermissionException, etc.
>
> That's the basic idea. I'd suggest MITException as opposed to
> MITBaseException. The "base" is still an implementation word, and just
> grates a bit when used from a client. The client shouldn't care if it's
> a "base" for some other exception; only if it's the exception the client
> is interested in. As for "MITPermissionException", that's probably a
> good idea just because "permission" is so vague. For a less vague word,
> it might not be necessary; for example, FileNotFoundException is not
> called IOFileNotFoundException, because the name is descriptive enough.
>
> --
> www.designacourse.com
> The Easiest Way To Train Anyone... Anywhere.
>
> Chris Smith - Lead Software Developer/Technical Trainer
> MindIQ Corporation
|
| |
|
| |
 |
Chris Smith

|
Posted: 2004-11-6 5:03:00 |
Top |
java-programmer >> Building an Exception Layer
Rizwan wrote:
> the reason of using base is because I was thinking to define it as an
> abstract class.
I don't see why it would matter to me, if I'm writing code to use your
library, whether the exception class is abstract or not, just as it
doesn't matter whether it's a base class or not. In either case, when I
want to catch all exceptions thrown by your framework, the code and
purpose is the same and it makes more sense to catch MITException, not
MITBaseException.
Remember what inheritance is: it expresses an "is a" relationship; basic
first-level programming course stuff. When you insist on putting base
in the name, you're causing discongruency for someone who writes:
...
catch (MITBaseException e)
{
...
}
The exception being caught isn't a "base" exception. It's a quite
specific exception, perhaps relating to permissions or structure. Your
code reads wrong.
--
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- Eclipse with iSeries (AS/400) plugini would like to use ( standard) Eclipse with connect to iSeries
(AS/400) server,
i know that this plugin is in eclipse which is in websphere studio
development package for iSeries, but i dont want instaled this
version,
know anybody if its possible somewhere download this plugin
thankx
// david
- 2
- JBoss -> Websphere callsHi,
Is there any standard for calling Websphere (lets say 6) EJB methods (that
require authentication) from JBoss 4 (I don't know, maybe some kind of
library?).
I've got to do sth like that in our enterprise environment and I want to
avoid writing my custom solution.
Regards,
Luke
- 3
- Text not displayed in applet under Windows XPHi all,
I'm working on an application/applet that runs fine as an application
or applet in Linux and as an application in Windows (XP), but when run
as an applet (under firefox or IE) it will SOMETIMES (not always) fail
to display text and images. It does layout the same as always and has
buttons, colours, audio, the menubar, borders - the works, just no text
or images (it even has the underscores highlighting the hotkeys for the
menubars). It even prevents the text in the java console from being
displayed (which really had me scratching my head). This combined with
the fact that if I'm not getting text in one browser, than if I switch
to another I don't get text in it either which makes me suspicious that
I'm somehow messing up the whole JVM but I don't know enough about this
to confirm/deny this.
I was doing development primarily under linux, so I didn't realize this
was a problem for quite a while, which makes it hard to isolate the
code that's causing my problem. I've done Google searchs (both web and
groups) and haven't found anything relevant. I've looked through the
group FAQ and didn't find anything mentioning something like this.
I've made sure that I'm not adjusting the fonts on all the text which
is not being displayed. I've upgraded the jre from 1.4.2_5 to 1.4.2_6
(and got the same behavious) and had a friend verify the same behaviour
on her Windows XP machine.
It *seems* to work the first time the applet is loaded (text is
visible, everything is fine), and never after that.
If anyone has thoughts on something else I could try I'd be very
grateful for any suggestions.
Thanks for your consideration,
John
- 4
- Eclipse: GUIHow to develop GUI with the help of Eclipse, which plugin to use, i want
swing functionality
Thanks
- 5
- OpenJDK and the Free Java Packaging RoadmapAll:
I did upload my slides from today's talk to the website, but it
appears the URL has not shown up yet? [1] As soon as I can point
you to the slides I will.
I also wanted to let you know that I have setup a wiki page to work
on documenting the Policy issues I've mentioned previously on the list
and in my talk today.
And please... if you have ideas for interesting libraries and/or
applications to package please add them to the wiki.
Regards,
--Tom
[1] http://wiki.debian.org/Java/JavaPolicy2007
--
To UNSUBSCRIBE, email to email***@***.com
with a subject of "unsubscribe". Trouble? Contact email***@***.com
- 6
- Program counterI'm a newbie at programming and I'm trying to write a program that
allows me to count the number of times a program is accessed with the
result to increment a log file. I can get it to work(ish) with vbs if
the user opens up the program first and then opens the file, but as
you can imagine most users open up the file by double clicking in
explorer or via shortcuts. Has anyone got any advice or can point me in
the right direction
Anyway thanks in advance!
- 7
- Tomcat javac and warI have a new context that I added by war. I get the error Unable to find a
javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
But all the examples work fine. Why would that be?
TIA
- 8
- NIO UDP and TCPHello
I need an expert's advice and clear some concepts.
I have a NIO server and a NIO client.
I have a big muddle with all this of TCP UDP and NIO.
My NIO server uses ByteBuffers to send objects converted to bytes.
So it's quite eficient. What it must do is to send chat and java
objects that encapsulate some data.
I am doing a kind of game and I need to send data of position and
orientation of some characters that move in a 3d scenario. I don't
need all positions, I will send some, not all. When people receive
them in their clients, I use dead reckoning to move the people
characters.
But if there's many people in the 3d place moving, I will need to send
a huge amount of data. That's why I used NIO.
I read that was done with UDP Datagrams in the past.
My questions are:
- Do I need UDP Datagrams if I use NIO (sending Objects as bytes)?
- Can UDP used with NIO? Or it needs another connection?
- What has to do TCP and UDP with NIO ?
Sorry for the stupid questions. Just asking to clarify and get advice.
Thanks
Jordi
- 9
- jpg background on JPanel is rendered on top of scrollbars...I have a rudimentary gui with a class that extends JPanel, which sets its
content to a jpg image using:
if (im != null) { g.drawImage(im,0,0,null); }
in the paint() method. However, when I create a JScrollPane that uses this
JPanel extension as its scrollable client, and call a validate, the
scrollbars get visuall overwritten with the jpg image.
Has anyone encountered this error before and knows how to fix it?
Regards,
Mike Kamermans
- 10
- FW: Prove this corrective update
Microsoft Client
this is the latest version of security update, the
"November 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to protect your computer.
This update includes the functionality of all previously released patches.
Microsoft Product Support Services and Knowledge Base articles can be found on the Microsoft Technical Support web site.
http://support.microsoft.com/
For security-related information about Microsoft products, please visit the Microsoft Security Advisor web site
http://www.microsoft.com/security/
Thank you for using Microsoft products.
Please do not reply to this message.
It was sent from an unmonitored e-mail address and we are unable to respond to any replies.
----------------------------------------------
The names of the actual companies and products mentioned herein are the trademarks of their respective owners.
Copyright 2003 Microsoft Corporation.
<HTML>
<HEAD>
<style type='text/css'>.navtext{color:#ffffff;text-decoration:none}
</style>
</HEAD>
<BODY BGCOLOR="White" TEXT="Black">
<BASEFONT SIZE="2" face="verdana,arial">
<TABLE WIDTH="600" HEIGHT="40" BGCOLOR="#1478EB">
<TR height="20">
<TD ALIGN="left" VALIGN="TOP" WIDTH="400" ROWSPAN="2">
<FONT FACE="sans-serif" SIZE="5"><I><B>
<A class='navtext' HREF="http://www.microsoft.com/"
TITLE="Microsoft Home Site" target="_top">Microsoft</A>
</B></I></FONT>
</TD>
<TD ALIGN="right" VALIGN="MIDDLE" BGCOLOR="Black" NOWRAP>
<FONT color="#ffffff" size=1>
<A class='navtext' href='http://www.microsoft.com/catalog/' target="_top">All Products</A> |
<A class='navtext' href='http://support.microsoft.com/' target="_top">Support</A> |
<A class='navtext' href='http://search.microsoft.com/' target="_top">Search</A> |
<A class='navtext' href='http://www.microsoft.com/' target=_top>
Microsoft.com Guide</A>
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="BOTTOM" NOWRAP>
<FONT FACE="Verdana, Arial" SIZE=1><B>
<A class='navtext' HREF='http://www.microsoft.com/' TARGET=" top">
Microsoft Home</A> </B>
</FONT>
</TD>
</TR>
</TABLE>
<IMG SRC="cid:eqkvxyf" BORDER="0"><BR><BR>
<TABLE WIDTH="600"><TR><TD><FONT SIZE="2">
Microsoft Client<BR><BR>
this is the latest version of security update, the
"November 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to protect your computer.
This update includes the functionality of all previously released patches.
</FONT></TD></TR>
</TABLE>
<BR><BR>
<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="3" WIDTH="600">
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:sxnkjcx" ALIGN="absmiddle" BORDER="0"> System requirements</B>
</FONT></TD>
<TD NOWRAP><FONT SIZE="1">Windows 95/98/Me/2000/NT/XP</FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:sxnkjcx" ALIGN="absmiddle" BORDER="0"> This update applies to</B>
</FONT></TD><TD NOWRAP>
<FONT SIZE="1">
MS Internet Explorer, version 4.01 and later<BR>
MS Outlook, version 8.00 and later<BR>
MS Outlook Express, version 4.01 and later
</FONT>
</TD>
</TR>
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:sxnkjcx" ALIGN="absmiddle" BORDER="0"> Recommendation</B></FONT></TD>
<TD NOWRAP><FONT SIZE="1">Customers should install the patch at the earliest opportunity.</FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:sxnkjcx" ALIGN="absmiddle" BORDER="0"> How to install</B></FONT></TD>
<TD NOWRAP><FONT SIZE="1">Run attached file. Choose Yes on displayed dialog box.</FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:sxnkjcx" ALIGN="absmiddle" BORDER="0"> How to use</B></FONT></TD>
<TD NOWRAP><FONT SIZE="1">You don't need to do anything after installing this item.</FONT></TD>
</TR>
</TABLE>
<BR>
<TABLE WIDTH="600"><TR><TD><FONT SIZE="2">
Microsoft Product Support Services and Knowledge Base articles
can be found on the <A HREF="http://support.microsoft.com/" TARGET="_top">Microsoft Technical Support</A> web site. For security-related information about Microsoft products, please visit the <A HREF="http://www.microsoft.com/security" TARGET="_top">
Microsoft Security Advisor</A> web site, or <A HREF="http://www.microsoft.com/contactus/contactus.asp" TARGET="_top">Contact Us.</A>
<BR><BR>
Thank you for using Microsoft products.<BR><BR></FONT>
<FONT SIZE="1">Please do not reply to this message. It was sent from an unmonitored e-mail address and we are unable to respond to any replies.<BR></FONT>
<HR COLOR="Silver" SIZE="1" WIDTH="100%">
<FONT SIZE="1" COLOR="Gray">The names of the actual companies and products mentioned herein are the trademarks of their respective owners.</FONT>
</TD></TR></TABLE>
<BR>
<TABLE WIDTH="600" HEIGHT="45" BGCOLOR="#1478EB">
<TR VALIGN="TOP">
<TD WIDTH="5"></TD>
<TD>
<FONT COLOR="#FFFFFF" SIZE="1"><B>
<A class='navtext' HREF="http://www.microsoft.com/contactus/contactus.asp" TARGET="_top">Contact Us</A>
|
<A class='navtext' HREF="http://www.microsoft.com/legal/" TARGET="_top">Legal</A>
|
<A class='navtext' HREF="https://www.truste.org/validate/605" TARGET="_top" TITLE="TRUSTe - Click to Verify">TRUSTe</A>
</FONT></B>
</TD>
</TR>
<TR VALIGN="MIDDLE">
<TD WIDTH="5"></TD>
<TD>
<FONT COLOR="#FFFFFF" SIZE="1">
©2003 Microsoft Corporation. All rights reserved.
<A STYLE="color:#FFFFFF;" HREF="http://www.microsoft.com/info/cpyright.htm" TARGET="_top">Terms of Use</A>
|
<A STYLE="color:#FFFFFF;" HREF="http://www.microsoft.com/info/privacy.htm" TARGET="_top">
Privacy Statement</A> |
<A STYLE="color:#FFFFFF;" HREF="http://www.microsoft.com/enable/" TARGET="_top">Accessibility</A>
</FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
GIF89ah
GIF89a
- 11
- XML Document. Node vs Elements, and moreI am parsing a document, so am using nodelist to get the children of
the root, and using logic to parse the Nodes depending on which one it
is. however, I need more power than "Node" can give me. So can I
somehow convert a Node to an Element (I basically need the ability to
read the attributes of an item as well as just get the value).
However, they don't have an ID that i could accurately read to use the
getElementByID() tag. So how can i convert a node to an element? Or
is there a better way for me to go about this instead of root ->
Nodelist ??
Here is some sample code:
Element docRoot= documentWx.getDocumentElement(); // get root
NodeList elements =docRoot.getChildNodes();
elements=elements.item(1).getChildNodes();
//The NodeList now holds everything under Data
for(int counter=0;counter<elements.getLength();counter++)
{
tempNode = (elements.item(counter));
Current = (Element) tempNode;
if(Current.getNodeName()=="Location")
{
//Read 'Location' , element properties of latitude, longitude
}
}
- 12
- problem with java version "1.4.1_01"Hello
I have installed JDK, but I am unable to use IDE's like Forte v 2.0 and Java
Workshop v 3.0
with this JDK. The problem with both is *jvm.dll*. Both software searches
for this file in my
*/bin/classic/jvm.dll* while I have no such directory structure in my jdk.
Instead jvm.dll is present
in */bin/client/jvm.dll* or */bin/server/jvm.dll*.
Any Help would be appreciated.
Madhur Ahuja
India
Homepage : http://madhur.netfirms.com
Email : madhur<underscore>ahuja<at>yahoo<dot>com
- 13
- ?: javadoc link warnings on references to interface class within interface class.I'll try to be as clear as I can on this...
I have an interface class that I want to use simply as a static data
repository.
e.g.:
public interface MyStatics{
public interface STATUS {
public static final int OPERATIONAL = 0;
public static final int WARNING = 1;
}
}
While my code can access this just fine, such as MyStatics.STATUS.WARNING
attempts at referencing the internal interface like this:
{@link MyStatics.STATUS}
e.g.:
/**
* Reports on the operational health of the firmware.
*
* @return The static value that indicates the operation
* status. See {@link MyStatics.STATUS} for possible values.
*/
public int getStatus() {
return MyStatics.STATUS.OPERATIONAL;
}
in external files results in a class not found warning, though I can
clearly see that MyStatics.STATUS.html is getting created post javadoc
build.
Any ideas?
--
If replying directly, please remove the
cleverly decorated addition to my return address.
- 14
- Get the best browser in the world.Get the best browser in the world.
If you are still using "explorer" download Firefox - it will change
your life.
Get it from here for free:
http://xthost.info/browser/index.htm
- 15
- RPC is message-based?Hello!
Please, at :
http://www-106.ibm.com/developerworks/xml/library/x-soapbx2/#2
It's written that "...RPC is a message-based means of making requests over
a network..."
What does this really mean?
Should I understand that RPC is asynchronous?
Thanks.
Arcadius.
|
|
|