Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!

John Smith

Greenhorn
+ Follow
since Jan 12, 2002
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 John Smith

Stick this in your web.xml file
for each jsp
<servlet-name>test</servlet-name>
<display-name>test</display-name>
<jsp-file>/test.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>test</servlet-name>
<url-pattern>/qwerty</url-pattern>
</servlet-mapping>
now instead of: localhost:8080/name/jsp/test.jsp
used localhost:8080/name/qwerty
15 years ago
JSP
sholud it not be setString(1,"'lin'");
You can use an applet to call the java classes
//syntax might be incorrect
<script>
function doit(){
appletframe.applets[0].callClassMethod();
}
</script>
<html>
<input type="submit" value="click" on_Mouse_Over="doit()">
</html>
||
The applet could return an object
var object = appeltframe.applets[0].getObjecctMethod();
16 years ago
Applets are run on the client machine.
You are using the jdbc dbc bridge the datasource
sampleDSN you set up on your machine is not set on
the machine of the client.
As you are using the jdbc dbc bridge I assume you are using access or some local Database if you
want to run Jdbc code in an applet it must connect to a proper database server.
The servlet class are in the file j2ee.jar.
Located in c:\j2sdkee1.3\lib
type in windows)
set classpath=c:\j2sdkee1.3\lib\j2ee.jar;%classpath%
I can run cloudscape but have problems connecting to it using jdbc I can see the database in cview but cannot connect to it.
e.g. Using cview I can open by name testDB
Using jdbc:cloudscape:testDB it fails
I think it is a ME problem.