Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~10.7K People Reached
Favorite Tags
Member Avatar for apontutul

[CODE]<html> <head> <title>Pie Chart Demo</title> </head> <jsp:useBean id=[COLOR=red]"myChart"[/COLOR] class=[COLOR=red]"classes.beans.votepie"[/COLOR] scope=[COLOR=red]"session"[/COLOR] /> <body> <h2>Vote Results Pie-chart</h2> <%String chartViewer = myChart.getvoteserve(request, response);%> <img src=[COLOR=red]"<%=chartViewer%>"[/COLOR] border=0 usemap=[COLOR=red]"#imageMap"[/COLOR]> </body> </html> [/CODE] accessing this above viewrst.jsp file shows the following error: [CODE][B]HTTP Status 500 - [/B] [B]type[/B] Exception report [B]message[/B] [B]description[/B] [U]The server encountered an …

Member Avatar for victabk
0
2K
Member Avatar for apontutul

hi friends.......i'm using XP sp2....when I open cmd the it shows the current directory ie: "D:\Documents and settings\user>" which is fine and I was able it change the directory using, cd e: or CD E: but from yesterday i'm not able to do that...during that i only reinstalled java i.e …

Member Avatar for loveuloads
0
551
Member Avatar for arkaprava

Accorting to MySql manual and web site I modified the environment variable for installing JConnector for mysql as follows : CLASSPATH C:\Program Files\Java\mysql-connector-java-5.0.7\mysql-connector-java-5.0.7-bin.jar where my MySql connector Folder is placed on Java folder in program files (I put there willingly) But actually when I want to do any testing program …

Member Avatar for peter_budo
0
160
Member Avatar for apontutul

[code] <h3>Administrator Login Here:</h3> <p>ENTER USER NAME : <input type="text" name="text2"> </p> <p> ENTER PASSWORD : <input type="password" name="text1"> <input type="submit" value="Check In" name="Submit" onclick=javascript:validate(text2.value,"admin",text1.value,"admin") > </p> </form> <script language = "javascript"> function validate(text1,text2,text3,text4) { if (text1==text2 && text3==text4) load('http://localhost:8080/vote-0.3/admin/'); else { alert("You should'nt be there"); } } function load(url) …

Member Avatar for bruceshining
1
193
Member Avatar for apontutul

There is no operator overloading in JAVA, but operator + is used as arithmetic addition and concatination operator. why ? please clarify this

Member Avatar for Ezzaral
0
71
Member Avatar for apontutul

suppose there's a bean file (.java) consisting of SQL query, and a servlet (.java) used to show an image, and lastly a jsp page when clicked shows the image.............can you please explain how does this function,how the logic flows,what happens step by step.......... I really need to understand this, thankz.

Member Avatar for jwenting
0
88
Member Avatar for apontutul

I want to get a parameter from the URL to another jsp page. for eg: [URL="http://localhost:8080/vote-0.3/view-poll.jsp?poll_id=4"]hxxp://localhost:8080/vote-0.3/view-poll.jsp?poll_id=4[/URL] get this(poll_id=4) in my new jsp & then pass this parameter to its bean & servlet. the link to the new jsp is in this page. what do I need to do in my …

0
83
Member Avatar for apontutul

i want to show a image using servlet,which is being called by a java file (beans). in that java how will i get the parameter eg: poll-id=1,2 or 3...n from that jsp page?....here what i've done(.java file) but the its not showing the image(error: data not available): [CODE] package myapp.webwork.beans; …

0
73
Member Avatar for apontutul

hi guys......i want to view a piechart extracting items from a mysql database. i've created a button on a jsp page(view.jsp) which is calling another jsp page(viewrst.jsp) when i click that. the code for (viewrst.jsp) is given below: [code] <%@ page language=[COLOR=red]"java"[/COLOR]%> <%@page import=[COLOR=red]"org.jfree.chart.*;"[/COLOR]%> <%@page import=[COLOR=red]"java.sql.DriverManager;"[/COLOR]%> <%@page import=[COLOR=red]"java.sql.*;"[/COLOR]%> <%@page import=[COLOR=red]"org.jfree.data.jdbc.*;"[/COLOR]%> …

Member Avatar for peter_budo
0
200
Member Avatar for apontutul

I want to generate a code that will automatically take the poll-id..of which the user wishes to view the result of that poll. there's the code:using mysql & java & another thing i wish to use this on a jsp page: [CODE] package votepiepack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; …

Member Avatar for apontutul
0
94
Member Avatar for apontutul

I want to generate a code that will automatically take the poll-id..of which the user wishes to view the result of that poll. there's the code:using mysql & java & another thing i wish to use this on a jsp page: [code] package votepiepack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; …

Member Avatar for lookof2day
0
115
Member Avatar for apontutul

what I mean is that, when I click a hyperlink on a webpage it will call a .java file which will then show "text or image"..is it possible? if yes how?....please suggest.......thanks

Member Avatar for lookof2day
0
95
Member Avatar for apontutul

I want to generate a code that will automatically take the poll-id..of which the user wishes to view the result of that poll. there's the code:using mysql & java & another thing i wish to use this on a jsp page: [code] package votepiepack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; …

Member Avatar for apontutul
0
107
Member Avatar for apontutul

I want to make: when i click a button after I've given some input it checks & if successful it opens a new window/page i.e I want to create a link....till now I've done [CODE] import javax.swing.JOptionPane; public class inputwindow { /** * @param args */ public static void main(String[] …

Member Avatar for Ezzaral
0
215
Member Avatar for apontutul

1st'ly i whould like to know whether web programming & designing are 2 diff career options? cant one pursue & become these two simultaneously?:confused: secondly what should one know to jump into this web industry ie (what technologies like html,.net,dreamweaver etc) please give a step by step details of it.:idea: …

Member Avatar for chunky1318
0
166
Member Avatar for apontutul

hi guys..........this is the code I'm trying to run [CODE] package dbpack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; import org.jfree.chart.*; import org.jfree.data.jdbc.*; import org.jfree.data.general.*; public class chartdb { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub //private void readData() //} private PieDataset …

Member Avatar for apontutul
0
6K
Member Avatar for apontutul

hi friends.....I created a folder under webapps put 2 files 1html & 1jsp. though the html one is running the jsp one isn't. the error message: [B]HTTP Status 404 - /helloJSP/hello.jsp type Status report message /helloJSP/hello.jsp description The requested resource (/helloJSP/hello.jsp) is not available. I've set the JAVA_HOME (environment variable>user …

Member Avatar for ~s.o.s~
0
171
Member Avatar for apontutul

hi.....when i try to view the page [code] http://localhost i've also tried 127.0.0.1[/code] i get this error msg: both with IE & mozilla firefox. [B]The page cannot be displayed[/B] [COLOR=#000000]There is a problem with the page you are trying to reach and it cannot be displayed.[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR][COLOR=#000000]Please …

Member Avatar for Exelio
0
134
Member Avatar for apontutul

hi.....i'm doin my masters & was luking for a site just like daniweb:mrgreen:...thankz mate for this forum!!!!!!!!

Member Avatar for stymiee
0
37