Vazzdoin Rocko

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

Recent posts by Vazzdoin Rocko

I am working on a Swings application in which i've created a static Container which is used to enter some form fields. When i submit on this form the control is sent back to login frame which is aseparate
container. But the form Container doesn't go invisble. i've used the following code to make it invisble :

but it is not going invisible and remains intact in the background. Please suggest me how can i make it invisible.
12 years ago
Thanks Mr. Martin.
My problem has been resolved. i already knew that Binary is a keyword but never thought that it would affect column names too.. i thought it's scope is upto Table names only. Well , it's not a problme any more as i've renamed the column and my code is working fine now. Thank you very much for the guidance
I'm trying to insert an .exe file into mysql blob field in the database. I;ve tried to both ways i.e LOAD_FILE method and FileInputStream method at the local and remote Database server,
but it is consistently giving an error.The stacktrace of the error is : :

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary) values('abc','19541a2746e08a6b8f5145bdbaa23e45','http:jadhjkhdf/dasdas',' at line 1
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at com.mysql.jdbc.Util.handleNewInstance(
at com.mysql.jdbc.Util.getInstance(
at com.mysql.jdbc.SQLError.createSQLException(
at com.mysql.jdbc.MysqlIO.checkErrorPacket(
at com.mysql.jdbc.MysqlIO.checkErrorPacket(
at com.mysql.jdbc.MysqlIO.sendCommand(
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
at com.mysql.jdbc.ConnectionImpl.execSQL(
at com.mysql.jdbc.PreparedStatement.executeInternal(
at com.mysql.jdbc.PreparedStatement.executeUpdate(
at com.mysql.jdbc.PreparedStatement.executeUpdate(
at com.mysql.jdbc.PreparedStatement.executeUpdate(
at temp1.copyFile.main(

The code i'm using is given below :

Please help me in resolving this issue. I guess my code is all correct and there is some ado with the Mysql version.
The current mysql version shown by my RHEL machin is :

mysql Ver 14.12 Distrib 5.0.22, for redhat-linux-gnu (i686) using readline 5.0

Sorry for the use of abbreviations. And yeah, i was also thinking that JSP's not gonna help. I must try with applets. Thanks for the reply.
12 years ago
I want to ping some IP from my webpage and want to display the ping result in command prompt on the client side. i.e. when a client would b accessing my jsp page from any location,the DOS prompt should pop up on his screen and should start pinging the given IP which would be provided as parameter from the previous JSP page.
12 years ago
The range axis is showing a number count with respect to the dates on the domain axis. And i don't understand what do you mean by "Is plot a category plot?" Please brief it a bit so that i can answer it.
Okay Here is the code



I think that should make you more clear where the problem is... Thanks in advance.
Exactly.. the problem is the same.I'm unable to get the line graph :-(
Well it's an error message in the image. can't copy it. And i tried to put the screenshot and previewed it before posting it but the screenshot is shown kind of broken and not opening that's why
i put the URL. anyways i'm trying to put the screenshot let's see if it opens.
Wohh...Thanks for the advice, here i was on mistake. I had put the cache="true". now changed it to "false" and the cache problem is over now. But now i'm again not able to draw line graph again though
i'm pretty much able to draw bar graph but when i try to plot line graph it comes up with the error image instead of graph image as below
May be some problem with the de.laures.cewolf Library ?? please help.
Well the problem has been resolved. Now the line graph is getting plotted but when i try to plot graph with some other values/parametres(date,to-from) then it again shows the graph with the previously provided parametres only... unless i logout and login again and come to the graph page and provide new values. I'm unable to understand where the problem is.
Then do it requires to type cast first.. if yes then how can i do it ?? i can also post my Java code if you require to review it., just ask.
Thanks for the reply.
I'm trying to plot a line graph using cewolf library in my JSP page. But i'm getting the error and the stack trace is mentioned below in the end.
The datasource is being fetched from a java file where all the processing is being done.
The bar graph is plotted when i use the same code with the following tag

But this code gives error whenever i replace "verticalbar3d" with the "line" in the 'type' parameter. i.e.

i can't figure out where the problem is.
The below written is the JSP code i'm using.

Whenever i execute this code , no line graph comes up and the graph area is replaced by an error image showing text "de.laures.cewolf.PreProcessingException raised"


SEVERE: CewolfServlet: java.lang.ClassCastException raised by post processor 'graph.Dbdataprovider@15e2075'.
Post processing of this post processor has been ignored.
de.laures.cewolf.PostProcessingException: java.lang.ClassCastException raised by post processor 'graph.Dbdataprovider@15e2075'.
Post processing of this post processor has been ignored.
at de.laures.cewolf.taglib.AbstractChartDefinition.getChart(
at de.laures.cewolf.taglib.ChartImageDefinition.ensureRendered(
at de.laures.cewolf.taglib.ChartImageDefinition.getSize(
at de.laures.cewolf.CewolfRenderer.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
i am working on a JSP,Servlet based web site and i want some chart library through which i can show some live monitoring information,from the values fetched from databas, using line graphs. Please help me by suggesting some Linux based Java(JSP,Servlet) graph library( Paid/Free ) which should be agile,easy to use and with as less dependencies as possible.