Hi,
Thanks for your kind reply.
I have one more dout..
In my jsp file I am getting data from database and I am storing into
vector.. after that I have to pass this vector data to applet.. I am using
jsp:plugining.. like this..
<jsp:plugin type="applet" code="TickerApplet.class" codebase="/applet"
jreversion="1.2" width="800" height="700" >
<jsp:params>
<jsp:param name=tickerData value="v"> // here v is my Vector declaration
in my JSP.
</jsp:params>
<jsp:fallback>
Plugin tag OBJECT or EMBED not supported by browser.
</jsp:fallback>
</jsp:plugin>
I am getting this error..
com.sun.jsp.compiler.ParseException: C:\jswdk-1.0.1\examples\jsp\ticker.j
8) Attribute value should be quoted
at com.sun.jsp.compiler.JspReader.parseToken(JspReader.java:335)
If u know please let me know, I will thankfull to u.
Thanks & Regards,
Malla Reddy Choodi
>From: "Doug Turner" <[EMAIL PROTECTED]>
>Reply-To: "Doug Turner" <[EMAIL PROTECTED]>
>To: "A mailing list about Java Server Pages specification and reference"
><[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>
>Subject: Re: No constructor matching Ticker() found in class Ticker.
>Date: Sat, 9 Dec 2000 15:36:04 -0500
>
>Well, the constructor isn't marked as "public"...try that.
>
>----- Original Message -----
>From: fau k <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: No constructor matching Ticker() found in class Ticker.
>Date: Sat, 9 Dec 2000 10:48:27 -0800
>
>Hi,
>
>Can any one help me,, I am getting this error for past two days.. but till
>now I am unable to solve this problem.
>
>Here I am giving the application.. Please look into this and reply at
>[EMAIL PROTECTED]
>
>
>Please help me in this regard.. This is simple.. I am unable to import a
>file.. this is problem with my computer or program..
>
>Please reply to this mail, I will thankfull to u.
>
>Thanks,
>Malla Reddy Choodi
>[EMAIL PROTECTED]
>=================================================================
>I am getting this error..
>com.sun.jsp.JspException: Compilation
>failed:work\%3A8080%2Fexamples\ticker_jsp_
>1.java:89: No constructor matching Ticker() found in class Ticker.
> Ticker tic = new Ticker();
> ^
>1 error
>
> at com.sun.jsp.compiler.Main.compile(Main.java:347)
> at com.sun.jsp.runtime.JspLoader.loadJSP(JspLoader.java:135)
> at
>com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspS
>ervlet.java:77)
> at
>com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.j
>ava:87)
> at
>com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:218)
> at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:294)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
> at
>com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155
>)
> at com.sun.web.core.Context.handleRequest(Context.java:414)
> at
>com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)
>HANDLER THREAD PROBLEM: java.io.IOException: Socket Closed
>java.io.IOException: Socket Closed
> at java.net.PlainSocketImpl.getInputStream(Unknown Source)
> at java.net.Socket$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.Socket.getInputStream(Unknown Source)
> at
>com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:161)
>
>
>=============================================================
>
>Here is my source code..
>
>This is my class file..
>
>
>import java.io.Serializable;
>import java.lang.*;
>import java.sql.*;
>import java.util.Vector;
>
>public class Ticker extends java.lang.Object
> implements Serializable
>{
>
> public String aTickerid = "";
> public String aType = "";
> public String aCol1 = "";
> public String aCol2 = "";
> public String aCol3 = "";
> public String aCol4 = "";
>
> Ticker()
> {
>
> }
>
>
> Ticker(ResultSet rs) throws SQLException
> {
> aTickerid = rs.getString ("TICKER_ID") .trim();
> aType = rs.getString ("TYPE") .trim();
> aCol1 = rs.getString ("COL1") .trim();
> aCol2 = rs.getString ("COL2") .trim();
> aCol3 = rs.getString ("COL3") .trim();
> aCol4 = rs.getString ("COL4") .trim();
> }
> public String PrintName(){
> System.out.println("Malla Reddy");
> String asd = "Malla Reddy";
> return asd;
> }
>}
>
>=====================================================
>
>my jsp file..
>
>
><!-- This page was loaded on <%= (new java.util.Date()).toLocaleString() %>
>-->
><%= (new java.util.Date()).toLocaleString() %>
>
>
><%@page language="java" import="java.sql.*, java.lang.*,
>java.util.Vector,"%>
><%@page import="Ticker"%>
>
>
>
>
>
>
>
>
>
><% String asd = "Malla Reddy"; %>
>
>
>
><%
>Vector V = new Vector();
>Ticker tic = new Ticker();
>======================================Here I am getting error..===
>%>
>
>
><html>
><head>
><title>Untitled Document</title>
><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
></head>
><body bgcolor="#FFFFFF">
>
>Name is <%= tic.PrintName() %>
>
>
>
>
><table width="75%" border="1">
> <tr>
> <td> </td>
> <td> </td>
> <td> </td>
> <td> </td>
> <td> </td>
> <td> </td>
> </tr>
></table>
></body>
></html>
>
>
>_____________________________________________________________________________________
>Get more from the Web. FREE MSN Explorer download :
>http://explorer.msn.com
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>http://java.sun.com/products/jsp/faq.html
>http://www.esperanto.org.nz/jsp/jspfaq.html
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
_____________________________________________________________________________________
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets