Bob Hendry

Greenhorn
+ Follow
since Sep 21, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bob Hendry

Hi,

In a new install of WSAD 5.1.2, I get no console messages when starting a server. Also, I see that I have no stdout.txt file, although not sure if one has to do with the other.

TIA.
19 years ago
Hi,

I need a servlet to be able to find a file in the default WebContent folder. It does work if I type in the entire path. I would rather use a relative path..

xsl = new StreamSource(new File("/wapsheet.xsl"));

TIA.

Bob
19 years ago
Tx that seemed to do it..... Now to get all the class files into a JAR...

Best,

Bob...
20 years ago
Hi,

Trying to use a custom tag butting getting the following error in development:

XML parsing error on file WEB-INF\TagLib.tld Document root element "tabLib" must match DOCTYPE root 'null'

Here is the TLD file
<?xml version="1.0"?>
<tagLib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>Samples</shortname>
<tag>
<name>products</name>
<tagclass>SimpleTag</tagclass>
<bodycontent>JSP</bodycontent>
</tag>
</tagLib>
20 years ago
Hi,

If I put the bean in a package it works fine. Tx for your help. Now I can't find the JDBC-ODBC bridge. When I try to load it my bean throws a ClassNotFoundException

"java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver"

Funny thing is, the same code works on another WS machine. Any ideas would be welcome.

Best,

Bob...
[ May 20, 2004: Message edited by: Bob Hendry ]
20 years ago
Sure. Here's the classpath for the project. I had to remove the start and end tags to be able to post it.

?xml version="1.0" encoding="UTF-8"?
classpath
classpathentry kind="src" path="JavaSource"
classpathentry kind="var"
path="SERVERJDK_50_PLUGINDIR/jre/lib/rt.jar"
rootpath="SERVERJDK_SRCROOT" sourcepath="SERVERJDK_50_PLUGINDIR/src.jar"
classpathentry kind="var" path="WAS_50_PLUGINDIR/lib/j2ee.jar"
classpathentry kind="var" path="WAS_50_PLUGINDIR/lib/servletevent.jar"
classpathentry kind="var" path="WAS_50_PLUGINDIR/lib/ivjejb35.jar"
classpathentry kind="var" path="WAS_50_PLUGINDIR/lib/runtime.jar"
classpathentry kind="output" path="WebContent/WEB-INF/classes"
classpath


Error is in the browser:
Error 500: Unable to compile class for JSP An error occurred at line: 1 in the jsp file: /FirstBean.jsp Generated servlet error: C:\Documents and Settings\Administrator\My Documents\IBM\wsappdev51\workspace\.metadata\ (AND SO ON)


Like I said, it compiles fine. Here is the JSP Page:

jsp:useBean id = "theBean" class = "PopulateName" scope = "session"
HTML
BODY
FORM
theBean.populateName() within a scriptlet
FORM
BODY
HTML
20 years ago
One thing you may want to remember, you cannot create EBJs using MySQL. At least that's what IBM support told me after I spent days trying....
20 years ago
Your book looks pretty cool. I'll pick it up.

Your advice sort of worked. At design time, WSAD sees the bean. But not at run time. Looks like the classpath may be different between design and when it is deployed and 'run on server'. Does this sound right?

I'm starting to like WS... Been using caveman tools for the past eight years.
20 years ago
Hi,

I'm trying to do a 'usebean' in my JSP page. I can't see quite how to get this to work in WSAD. In other servers, you put the Java file in the 'classes' right under the web-inf folder and the JSP page finds it.

How can I get my JSP page in WSAD to find my bean???

Best,
20 years ago
The 'search' button is a wonderful thing... The following code solved my problem...
<td>
<xsl:element name="input">
<xsl:attribute name="type">radio</xsl:attribute>
<xsl:attribute name="name">req</xsl:attribute>
<xsl:attribute name="value">
<xsl:value-of select="ReqNo" />
</xsl:attribute>
</xsl:element>
</td>
Hi all,
I need to get an XSL value into an HTML table. Like:
<xsl:for-each select="Jobs/Listing/Requisition">
<tr>
<td>
<input type="radio" value= "<xsl:value-of select="ReqNo"/>" name = "radio"></input>
</td>
</xsl:for-each>
In the above non-working code, I need the value of each radio button to be equal to the value of the ReqNo tag.
I've been looking and looking but am stumped on this one.
TIA
Bob....
Hello,
I am using forms with GUI components on Palm devices. It seems that there is no Layout Management. Is there a way I can specifiy x/y coordinates for (say) when I add a Textbox or Images?
Tx!
Bob...
22 years ago
Hi,
It is a good way to go. To get started go to
http://java.sun.com/products/j2mewtoolkit
to get the wireless toolkit. This is a great place to start

Bob...
Send me an e-mail. I have a doc I can give you to get you started
22 years ago