35,618 Topics
![]() | |
my vista home premium system success apache and IIS JSP InstalleR HELP | |
Hi, i want to upload a excel file and insert those data into mysql. i did in core java , just displayed excel sheet data into output. can you plz tell me how to do in jsp.. if possible send me the code | |
Hi, I am new to programming in java...can you recommend me some study material from which i can practice and get started.I want some reference where there are basic sample codes from which i can learn and start applying them in problems | |
Trying to retrieve the OS environmental variable for a user... I looked at this code [code] import java.io.*; import java.util.*; public class ReadEnv { public static Properties getEnvVars() throws Throwable { Process p = null; Properties envVars = new Properties(); Runtime r = Runtime.getRuntime(); String OS = System.getProperty("os.name").toLowerCase(); // System.out.println(OS); … | |
How to read file from https post with certificate. This is my code public static void postHttp(String Linknya) throws MalformedURLException, IOException { File source=new File(path+"hasilnya.csv"); if (!source.isFile()) { source.createNewFile(); } source.setWritable(true); if (source.canWrite()) { BufferedInputStream bis = null; BufferedOutputStream bos = null; try { URL url = new URL(Linknya); URLConnection … | |
I am wondering if there is a way to load up a image and trim the white space of it? like imagemagik for php have that feature but for java wonder if there is anything that can trim white space | |
I really need help understanding this, I have to write 200-300 words due this week though I can not seem to understand what little my book tells me about it. Sadly this is all i got from my book...Multiple parameters can be declared by specifying a comma-separated list. Arguments passed … | |
I'm trying to make a PhotoAlbum using JApplets.I write a Java code for it and then compile to make a .class file and then made a html file in the same directory which have .class file.But while running it on Web -Browser it doesn't load the applet and shows that … | |
I am trying to just compile a very back program and it compiles but when I run it I get errors: Java version = java version "1.5.0_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03) Java HotSpot(TM) Server VM (build 1.5.0_09-b03, mixed mode) Program HelloJava.java public class HelloJava { public … | |
hi i'm a new member for this site. i'm a student. i would like to create some small java application softwares. so i need some support from you. | |
I want to send value from Asp textbox to Javascript function on Button 1 click how i can have that . pls help This is my code <head runat="server"> function callserver(txt1) { //Here i have to receive the value var nm=txt1 alert(txt1); } </script> <asp:TextBox ID="TextBox1" runat="server" Style="z-index: 100; left: … | |
Are there, in any way, shape, or form, pointers in java like there are in C and C++? If so, do I declare them the same way as in C++? My 873 page book doesn't explain pointers. | |
when you use floating points and do the coding normally you get 4 decimal points. . but if i want to make it to 2 decimal points. how can the program should be. please help me out here is the program i did /** * @(#)Average.java * * * @author … | |
i have created a code which takes username pass etc from the user and then pts them in the database which is made using MSaccess the program complies very well but when i open my database no entries have been entered in there can u plz help [code] <%@page contentType="text/html"%> … | |
As the title says. I have a Application that takes in user input and saves it to a text file. I am trying to just make a simple JSP to display the text file now, but I am having problems. Anyone have a code snippet that could get me started? | |
HI To All, I want small help ,How can we send multiple dropdown selected values to database using jsp as multipart form data is it possibleif yes how can we do that please help me its very urgent any body help me Advance Thanx TO One and all | |
Hi, I have a requirement to popup an alert message in a jsp page, I could achieve this. But I need to display this message on top of all the windows (for example, the user is in Email browser, the message should be displayed on it). Is it possible to … | |
Hi, In main.jsp i wish to display the data from the database( user information stored in user table ). my codein main.jsp is: [code=JSP]<h2> description about user:</h2> <% Statement st = null; ResultSet rs = null; rs = st.executeQuery("Select description from user "); %> <option value = "<%=rs.getString("description")%>" > </option>[/code] … | |
I am having difficulty setting my computer up in order to do JSP. Some people are telling me to use Jakarta others are saying Apache Tomcat. When I try to find the things to download there are so many options with little or not tutorials accompaining it. Could someone provide … | |
Is it possible to generate something like the following-- [code=java] public interface Reference{ // Returns a reference of the provided type (in theory) public <E> E getReference(int num); // Set the reference of the type public <E> void setReference(int num, E ref); } [/code] [code=java] public class ClassFullOfReferenceVariables implements Reference{ … | |
Hi All, I had created application where once you log in into index.jsp page, the next validateuser check for validation. but when i fill the form of username and password the error shows like: [COLOR="Red"]The requisted resources are not available[/COLOR] Here my context.xml [code=xml]<?xml version="1.0" encoding="UTF-8"?> <Context path="/student" docBase="student" debug="5" … | |
I need help adding tables in the payment area that shows the full payment plan. Also my months start high to low. I want the months to start with month 1 [CODE]import java.io.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.lang.Math; import java.text.NumberFormat; import javax.swing.table.*; //Setup lables and buttons public … | |
Basically, I need to write a program that takes a user input for multiple text files, and then prints them out into one file. I usually try not to pose questions here back to back, but alas, I need the help this time round. What really has me baffled is … | |
Hello, i'm attempting to create a splash screen using the code snippet posted on this site(i.e. DaniWeb) - [URL="http://www.daniweb.com/code/snippet697.html"]http://http://www.daniweb.com/code/snippet697.html[/URL] However, I'm having some difficulty. It appears that the splash screen will continue to run w/out disposing itself. That is, the screen hangs and does not go away. Also, the screen … | |
hi , i have a simple problem here, that is how can i convert an Decimal integer into Hexadecimal integer and not in Hexadecimal string. I have wrote the following code and managed to get the output from the program. But for a certain reason i cant use it again … | |
The project is completed, the report is working in the JCreator, but not when i run jar file.. I've searched the forum but i couldn't find to my requirements. I want to know to how to make the jar file that the report should also work.. Help needed plz.. | |
[CODE]FLAG MANAME SUM(SUM_AMT) -------- ---------------------------------------- ------------ Credit Advance From Others 999 Credit Audit Expenses 567 Credit Bank of Maharashtra 100 Credit CASH 2766 Credit SBI 555 Credit State Bank Of India 3777 Credit Sundry Creditors 1111 Credit salaries payable 444 Debit Advance From Others 13332 Debit Advance Travelling 3000 Debit … | |
Hey all I recently picked up the book "Java the first semester". It uses the EasyIn class to get user input. I have downloaded the file EasyIn.java but I dont know how to make the class accessible from my programs. [QUOTE]As long as the EasyIn class is accessible you can … | |
Hi everyone ! This is my first new post, I have a problem with my Java code. I am trying to make a first applet, and have gotten this code from a book, "Java - An Introduction To Problem Solving & Programming", by Walter Savitch and Frank Carrano : [code] … | |
[B]generate a 5-day timetable for a school (multiple classsrooms) be able to assign students to specific courses to certain rooms/teachers at a specific time interval (without clashing with other classes) it must use a database as a medium (ODBC) this is a project that i need some drastic help in … |
The End.