my error is
An error occurred at line: 173 in the jsp file: /z.jsp
The method printf(String, double) is undefined for the type JspWriter
173: out.printf("%2. 2f",totals);
and i use tomcat 6.0....
User Profile
Collapse
-
help a simple expressions in jsp
my problem is simple expressions in jsp
like
66.6666666%
and
i want change to
66.7%
it is my jsp coding
out.printf("%2. 2f",totals); -
Help insert SQL query in jsp page
Kindly please anyone here helps me how to check in my program,
i want to insert this SQL query to jsp file:
SELECT COUNT(id) new
FROM annaudio
WHERE id NOT IN (
SELECT annaudio_id FROM annread WHERE annuser_id=1
)
and this is my jsp file's script:
<%
Class.forName ("org.gjt.mm.my sql.Driver");
Connection connection = DriverManager.g etConnection("j dbc:mysql://localhost:3306/ann?user=root") ;... -
Help insert SQL query in jsp file
Kindly please anyone here helps me how to check in my program,
i want to insert this SQL query to jsp file:
SELECT COUNT(id) new
FROM annaudio
WHERE id NOT IN (
SELECT annaudio_id FROM annread WHERE annuser_id=1
)
and this is my jsp file's script:
<%
Class.forName ("org.gjt.mm.my sql.Driver");
Connection connection = DriverManager.g etConnection("j dbc:mysql://localhost:3306/ann?user=root") ;... -
prolem exception org.apache.jasper.JasperException
prolem exception org.apache.jasp er.JasperExcept ion at jsp
the list exception :
org.apache.jasp er.JasperExcept ion
org.apache.jasp er.servlet.JspS ervletWrapper.s ervice(JspServl etWrapper.java: 370)
org.apache.jasp er.servlet.JspS ervlet.serviceJ spFile(JspServl et.java:314)
org.apache.jasp er.servlet.JspS ervlet.service( JspServlet.java :264)
javax.servlet.h ttp.HttpServlet .service(HttpSe rv... -
help find any error jsp connect to mysql
<%@ page import="java.sq l.*" %>
<%
String connectionURL = "jdbc:mysql ://localhost:3306/mysql?user=root ;password=123";
Connection connection = null;
Statement statement = null;
ResultSet rs = null;
%>
<html><body>
<%
Class.forName(" com.mysql.jdbc. Driver").newIns tance();
connection = DriverManager.g etConnection(co nnectionURL,... -
how add plugin real player from mysql
my problem is i know embed the realplayer on the html but how to stream the video or audio from the MySql?? -
this is my coding..
<%
String connectionURL = "jdbc:mysql ://localhost:3306/webaudio?user=r oot";
Connection connection = null;
Statement statement = null;
ResultSet rs = null;
%>
<html>
<head></head>
<body>
<table>
<tr align="center"> <td align="center">
<%
Class.forName(" com.mysql.jdbc. Driver").newIns tance();...Leave a comment:
-
i set the classpath =
C:\Program Files\Java\jdk1 .6.0\jre\lib\ex t\mysql-connector-java-5.0.4-bin.jar;C:\Prog ram Files\Apache Software Foundation\Tomc at 6.0\lib\mysql-connector-java-3.0.8-stable-bin.jar;...Leave a comment:
-
i use mysql-connector-java-3.0.8-stable-bin.jar version of JDBC and
com.mysql.jdbc. Driver...Leave a comment:
-
Servlet SQLException Communication link failure
Servlet SQLException Communication link failure java howto
i can't connect jsp and database(mysql) .
This is the exception:
exception
org.apache.jasp er.JasperExcept ion: javax.servlet.S ervletException : java.sql.SQLExc eption: Communication link failure: java.io.IOExcep tion, underlying cause: Unexpected end of input stream
** BEGIN NESTED EXCEPTION **
java.io.IOExcep tion... -
i can't connect jsp and database(mysql) .
This is the exception:
exception
org.apache.jasp er.JasperExcept ion: javax.servlet.S ervletException : java.sql.SQLExc eption: Communication link failure: java.io.IOExcep tion, underlying cause: Unexpected end of input stream
** BEGIN NESTED EXCEPTION **
java.io.IOExcep tion
MESSAGE: Unexpected end of input stream
STACKTRACE:...Leave a comment:
-
help-connection database and jsp
help find error that connection database and jsp..
<%
String connectionURL = "jdbc:mysql ://localhost:3306/webaudio?user=r oot";
Connection connection = null;
Statement statement = null;
ResultSet rs = null;
%>
<html>
<head></head>
<body>
<table>
<tr align="center"> <td align="center">... -
help - connection database
help find error that connection database and jsp..
<%
String connectionURL = "jdbc:mysql ://localhost:3306/webaudio?user=r oot";
Connection connection = null;
Statement statement = null;
ResultSet rs = null;
%>
<html>
<head></head>
<body>
<table>
<tr align="center"> <td align="center">... -
Help advertising web with audio on jsp
I am facing problem to add a advertising web with audio on jsp. Can show me a example code? Thanks!
No activity results to display
Show More
Leave a comment: