35,618 Topics
![]() | |
I am going to do a project on JSP.Can anybody tell me some names of good books on JSP,SQL,ORACLE & J2EE.I really want to learn to do a best project.plz reply soon.... | |
Hello all. I am looking for some guidence please. At the place I work, there is a database which is accessible by three users. They have a front end exe file which connects to a MS Access database with several tables in it. The info is used for logging incomming … | |
I need some help with my classpath I think. My project compiles yet the jsp can not find the classes. What can I check to make sure the classes are going to the right folder? | |
I have a ComboBox defined as follows: [B][COLOR=#7f0055]private[/B][/COLOR][COLOR=#000000] String[] [/COLOR][COLOR=#0000c0]months[/COLOR][COLOR=#000000] = {[/COLOR][COLOR=#2a00ff]"Month"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#2a00ff]"01"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#2a00ff]"02"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#2a00ff]"03"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#2a00ff]"04"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#2a00ff]"05"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#2a00ff]"06"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#2a00ff]"07"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#2a00ff]"08"[/COLOR][COLOR=#000000], [/COLOR] [COLOR=#2a00ff]"09"[/COLOR], [COLOR=#2a00ff]"10"[/COLOR], [COLOR=#2a00ff]"11"[/COLOR], [COLOR=#2a00ff]"12"[/COLOR]}; [B][COLOR=#7f0055]private[/B][/COLOR] JComboBox [COLOR=#0000c0]jComboBoxMonth[/COLOR] = [B][COLOR=#7f0055]null[/B][/COLOR]; and down further I have: [COLOR=#0000c0]jComboBoxMonth[/COLOR][COLOR=#000000] = [/COLOR][B][COLOR=#7f0055]new[/B][/COLOR][COLOR=#000000] JComboBox([/COLOR][COLOR=#0000c0]months[/COLOR][COLOR=#000000]);[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]Now i am trying to do run an if statement … | |
Hello I am at a work computer (firewall) I need to add to the CLASSPATH and the PATH to use apache tomcat. Though I know this addition won't disrupt anything I do not have a administrative password. Is there a way to add to these enviornmental system variables? DOS maybe? | |
[code] <form action="interface.jsp" method="post"> <input type="text" name="accttxtbox" value="Enter Account number"> <% if(request.getParameter("createacct" != null)){%> <jsp:useBean id= "creditCardBean" class = "creditcardproject.CreditCard"/> <%long AccountNo=getNewAccount()%> <%accttxtbox.value(AccountNo)%> <% double CreditLimit =creditCardBean.CreditLimit %> <% double TotalCharges =creditCardBean.TotalCharges %> <% double TotalPayments =creditCardBean.TotalPayments %> <tr><th>Account</th><th>CreditLimit</th><th>TotalCharges</th><th>TotalPayments</th></tr> <tr> <td><%= AccountNo %></td> <td><%= CreditLimit %></td> <td><%= TotalCharges %></td> <td><%= … | |
[B]This class was given to me. I need to work with JSP. Am I correct in thinking that I need to make the methods setters and getters for each method I need data from. And if so could you give me an example of one? Lets say I needed to … | |
Hi, im having trouble with a code, it doesnt do what its supposed, theres something wrong with it but i cant find what, maybe you could help me find the problem and fix it. heres the code: public static byte[] runlengthencoding(byte[] m) { byte[] copia = new byte[m.length+9999999]; for(int w … | |
hello friends, I'm doing a project with JSP, MySQL and Tomcat. I need a code to calculate the execution of a JSP page. Its V.V.V.Urgenttt... plzzz help mee out | |
[code] <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <context-param> <param-name>webmaster</param-name> <param-value>webmaster@myeducationonline.com</param-value> </context-param> <context-param> <param-name>jdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </context-param> <context-param> <param-name>dbURL</param-name> <param-value>jdbc.odbc.clientDB</param-value> </context-param> <session-config> <session-timeout>30</session-timeout> </session-config> <welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list> </web-app> [/code] so this file as to be put in my "workspace" where my projects are ? | |
You really do not have to open the netbeans project. However you can. Does anyone know why when I comple the jsp's can not find the bean because the class file is in the build/classes file and not the src file. Does it not need to be there? Or I … | |
How to solve stack over flow? In my application no recursive function call. It is a [B]J2EE application (web)[/B] In the application one Applet is calling. This applet having many pages and many records, and the records arranged in different pages. While going to next page it taking too much … | |
I can only get 2 of the buttons to work - what am I doing wrong? I have been working on this for 5 days. I also cannot get my icon to work - do I need more of an address? [CODE] import java.util.ArrayList; //For ArrayList public class Product implements … | |
I would like to use netbeans, and a tomcat server with a suitable jvm I am uninstalling all of the above because it does not seem to be working together. Is there some where I can get a download that will set me up to all these things with out … | |
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]%> … | |
I am using a example in a book to build my own program (java server pages) I can not even get the example to run. Is there someone to take a look at the program? (netbeans package)? [EMAIL="ceyesuma@hotmail.com"][/EMAIL] | |
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. error: Invalid class file format in C:\Program Files\Java\jdk1.6.0_02\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '49.0' is too recent for this tool to understand. I'm not sure what to do to fix this error tomcat 4.0; any help? | |
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.*; … | |
Hi All I want to implement "FIX protocol" The Financial Information eXchange (FIX) protocol using java technology can any of you please guide me what are the things i need to know in java to implement this. and any further help from where i can get to know more about … | |
HI alll I need help to send the link values to the action class.More precisely, i have many links in my jsp page,now i want the value of the link selected in the action class. I am using <html:link> tag in jsp and request.getparameter() in action class.kinldy help with a … | |
i want to do a compiler but, now i am stuck in the compilation part, suppose that i want to compile "cool.java" that is located in the bin directory, what shold i do?? help please | |
Hi all i have a table having 2 columns inside a jsp page.i want this table to be put in a list box.Is this possible? if yes,please do provide a syntax for the same.Thanks in advance Umadas | |
validations is not work properly,directly goes to failure page.The error page ie properties file is not taken&validation.xml is not taken,what can i do pls tell.ok bye | |
Hi All, Thanks to everyone who helped work out my probs last semester. Ended up with a B in Computer Science class. Even though I thought I was going to fail. Anyway, New semester another new problem. I have done the assignment and keep running it. I keep getting an … | |
Hello, Well guys, I consider myself a beginner in Java generally and in JMF in particular, and actually I am student at the University and doing my project which creating Multi-video-Players (kindly check out my code in the bottom), so I have 6 different players and each one plays different … | |
I have two questions 1. How do I use a Replace() function in JSP e.g. String strName = "My name is"; String strName2 = replace(strName, "is", "is Michael"); 2. How do I make a string to start with a capital letter e.g. I want [COLOR=red]d[/COLOR]avid to be [COLOR=red]D[/COLOR]avid Thank you. | |
I have an idea how to do this, but never did it before heres my code: <label for="weatherCity">City:</label> <select name="weatherCity" id="Cities"> <option value="0"> </option> here's my query: SELECT distinct state FROM ols_weather_current ORDER BY 1 asc; [code=java] Connection connection; PreparedStatement pstmt; ResultSet rst2; try { // execute the query connection … | |
Dear all, I was stored the gif/jpg image into the MySQL Database as a buffered image. But when i was retrive the image from database and display in jsp page, it will not working well. The image is not displaying. The content get from the database, but it's type is … | |
Could not upload the files. Please make sure they have a correct extension. File Status : EuroMan Easter.jar Was Not Uploaded! Name: EuroMan Easter.jar Type: application/x-zip Size: 88653 Tmp: EuroMan Easter.jar When i uplaod games on Rannat, i will get following error , it's ince 7 days i got this … | |
I want to install JForum on sun apserver However during installation I found the following problem [B][U]Please give write access for the user who is running the webserver to the file 'index.htm' and for the directory 'WEB-INF/config' and its subdirectories before continuing. [/U][/B] Tell me how can I troubleshoot this … |
The End.