Win a copy of Head First Android this week in the Android forum!

Vazzdoin Rocko

Ranch Hand
+ Follow
since Feb 24, 2010
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
3
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vazzdoin Rocko

Hi,
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.
Thanks.
9 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
Hi,
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(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.Util.getInstance(Util.java:384)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3562)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3494)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1960)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2114)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2696)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2105)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2398)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2316)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2301)
at temp1.copyFile.main(copyFile.java:45)




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.
9 years ago
JSP
Hi.
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.
9 years ago
JSP
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

JAVA CODE



JSP PAGE



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
screenshot
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.
Hello,
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"

PRINT STACK :

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(AbstractChartDefinition.java:161)
at de.laures.cewolf.taglib.ChartImageDefinition.ensureRendered(ChartImageDefinition.java:137)
at de.laures.cewolf.taglib.ChartImageDefinition.getSize(ChartImageDefinition.java:146)
at de.laures.cewolf.CewolfRenderer.doGet(CewolfRenderer.java:153)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Hello,
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.
Thanks.