*
The moose likes JSP and the fly likes client-server error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "client-server error" Watch "client-server error" New topic
Author

client-server error

ajithsasi kumar
Greenhorn

Joined: Apr 06, 2008
Posts: 21
//DailyAdviceClient.java

//DailyAdviceServer.java


///server.jsp

//client.jsp

///EEEEEError

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 6 in the jsp file: /server.jsp

Generated servlet error:
[javac] Compiling 1 source file

C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\chat_test\org\apache\jsp\server_jsp.java:53: cannot resolve symbol
symbol : variable advice
location: class org.apache.jsp.server_jsp
out.println(advice);
^
1 error


org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

[ April 28, 2008: Message edited by: ajithsasi kumar ]

[ April 28, 2008: Message edited by: ajithsasi kumar ]
[ April 28, 2008: Message edited by: ajithsasi kumar ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61103
    
  66

Please be sure to use UBB code tags when posting code to the forums. Unformatted code is extermely hard to read and many people that might be able to help you will just move along. Please read this for more information.

You can go back and change your post to add code tags by clicking the .


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
ajithsasi kumar
Greenhorn

Joined: Apr 06, 2008
Posts: 21
Originally posted by ajithsasi kumar:
//DailyAdviceClient.java

//DailyAdviceServer.java


///server.jsp

//client.jsp



///EEEEEError

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 6 in the jsp file: /server.jsp

Generated servlet error:
[javac] Compiling 1 source file

C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\chat_test\org\apache\jsp\server_jsp.java:53: cannot resolve symbol
symbol : variable advice
location: class org.apache.jsp.server_jsp
out.println(advice);
^
1 error


org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
 
Consider Paul's rocket mass heater.
 
subject: client-server error