35,618 Topics

Member Avatar for
Member Avatar for computerwizard

What I would like to do is print the current jsp filename without the ".jsp" extension. I can print the absolute url, or the relative url, but I can't figure out how to print just the filename without the file extension.

Member Avatar for javaAddict
0
171
Member Avatar for Hockeyfreak889

i need to make a program that implements a heapsort using a binary tree. i understand the algorithm for how to do the sort, and i understand how it would be done using an array, but for my class i have to use a binary tree. The problem i am …

0
83
Member Avatar for ggyyree

Hi there, I am considering develop something use a Access database, which has been formed earlier by other my colleagues. However, I am trying to develop a cross-platform application, and I believe Access is MS related and is not friendly to Linux. There are many options of the database like …

Member Avatar for Ezzaral
0
169
Member Avatar for lynnajoe

Hi, I am confused as to all the posts by newbies. If they are new (which I am) how do they know all this code they post? I have a question and it is very basic. All I want to do is to get one JButton to pull up an …

Member Avatar for yancouto
0
136
Member Avatar for yosi501r

Hi everybody, I want to get the HTML source code of a page like: [url]http://morfix.mako.co.il/default.aspx?q=connection&source=milon[/url] (the page is in hebrew) But, after entering a hebrew page the characters I get are like � ׳�׳ ׳’׳�׳™ ׳¢׳‘׳¨׳™ ׳¢׳™׳‘׳¨׳™, ׳�׳™׳�׳•׳� ׳�׳ ׳’׳�׳™ I want to see the Hebrew as it is. The current code: …

Member Avatar for mKorbel
0
183
Member Avatar for nard23

[CODE]public class Tokenizer{ public static void main(String args[]){ String Arr[] = new String[20]; Scanner scan = new Scanner(System.in); System.out.println("Enter a String: "); String st = scan.nextLine(); Tokenizer tk = new Tokenizer(); tk.makeToken(st, Arr); } public void makeToken(String st, String Arr[]){ int i=0; StringTokenizer Tokens = new StringTokenizer(st); while(Tokens.hasMoreTokens()){ Arr[i]=Tokens.nextToken(); i++; …

Member Avatar for nard23
0
88
Member Avatar for stupid guy

hi all, i m trying to insert a textfield's value in a table through applet.The table name is samp and it has only one column named 'name'.I did following control panel->admin tools->data source->and then i have added a 'bike2' as new data source. I have 4 files created. 1.Entry.java 2.Bikinfa.java …

Member Avatar for mKorbel
0
396
Member Avatar for tracydo

I have this problem with given answer but don't understand why. May someone help explain? Thanx if (x>5) y=1; else if (x<5) { if (x<3) y=2; else y=3; } else y=4; ----------------- what is the value y if x=3? answer was: y=3

Member Avatar for JamesCherrill
0
120
Member Avatar for unkn0wnStu

Hi, I'm trying to create a highscore database for my game, and would like to start off with a view high score frame. When the user clicks this frame will pop up, but for some reason I can't set the player and score information to my JLabels. I'm not sure …

Member Avatar for JamesCherrill
0
3K
Member Avatar for tinachan

I was surfing net for updates and I found Mobile Hands-on Lab v1.5. It has modules that cover Qt, Web Development and Java Me. It give an outline to the module contents, explains the Development Environment, describes the key aspects of the programming language, also provides with an optional brief …

Member Avatar for peter_budo
0
145
Member Avatar for kako13

Hi, I am trying to copy the selected jTree elements on the left to the jTree on the right. However, I had been unable to acomplish it even when I had been looking at some books, google, forums... I had attached a screenshot. Thanks.

Member Avatar for mKorbel
0
98
Member Avatar for Jessurider

can anyone tell me what's the error in this rmi calculator program....... especially the clint.java......... here when i run the rmi calculator.........i gets an applet calculator.....but for all the mathematical addition,sub,div,mul......i'm getting the null value.......i also doubt at whether the try catch is placed wrongly............

Member Avatar for jwenting
0
128
Member Avatar for scarletfire

System Specification A local football club wishes to store information on its current squad of players: Each Player’s personal information (first name, last name, age, height and weight) should be recorded in a class Person. Each Player’s record for the season should be stored in a class Player. The information …

Member Avatar for scarletfire
0
159
Member Avatar for deviliq

Hello there! :) How should i solve for x in this equation: p*e^-x + q*sin(x) + r*cos(x) + s*tan(x) + t*x^2 + u = 0 with the user to input the values of p,q,r,s,t and u. i'm thinking of looping from 0.0001 until i-dont-know-what and then testing each value of …

Member Avatar for deviliq
-1
242
Member Avatar for deviliq

hi there [B]how do i determine the average Number of Queue Items that leave the queue (example: processes leaving the ready queue in order to be Running in the CPU) per second?[/B] i need this value to calculate for the average waiting time. the formula is: w = n/X where …

Member Avatar for deviliq
0
1K
Member Avatar for germaine.tay

Hi, I have a list of record which I got from database. I've placed the checkbox on the right, how do I get the value from it? [CODE] <form action="editOrder.jsp"> <tr> <td><%= ord.getOrderID() %> </td> <td><%= ord.getRemarks() %> </td> <td><%= ord.getOrderDate() %></td> <td><%= ord.getMailingAdd() %> </td> <%--<td><%= ord.getStatus() %> </td>--%> …

0
43
Member Avatar for ea25

Hi all, my first post here :) I'm new to java so please bare with me. I'm writing a very simple applet to get my skills going in Java. Practically my applet fetches an image from an external URL (using java.net.URL) and paints it in my applet. So far so …

0
86
Member Avatar for sj5536

hi i want to create swing application that has google map i searched on net but i hanot got any useful resource

Member Avatar for peter_budo
0
313
Member Avatar for sumprit

Hi..., i have a problem. if anyone can please give me some suggestion then i could able to proceed further. My problem is that i need to show database values in JTable. i have two database table and i query to display data in a JTable. I am just sending …

Member Avatar for javaAddict
0
157
Member Avatar for bhattpratik

Hello Everyone !!!! [COLOR="Red"][B]Is It Possible To Create JSP at A runtime ?[/B][/COLOR] It Means Can we Get The Data From One JSP And then Show it on another JSP which is Generated [B]By Coding [/B]Through Runtime ? Please Help......:S

Member Avatar for masijade
0
106
Member Avatar for Chitru

i was coding GUI in Java. i'm just a beginner and i can't figure out on what program is mistaken please help me on this: [B]Compilation error is:[/B] helloworld\FourthApp.java:38: class, interface, or enum expected public static void main(String[] args) { ^ helloworld\FourthApp.java:40: class, interface, or enum expected } ^ 2 …

Member Avatar for masijade
0
648
Member Avatar for bharathisankhya

Hello everyone, Can anybody tell me how to call javascript in Reasonable Servlet Faces(RSF).

0
67
Member Avatar for sumprit

hello everyone, i am using OSM in a swing application. Now what i needed is that when i clicked the mouse then it must perform Zoom in/out on the OSM. i could not able to perform the actionClick action for the mouse. How can i able to do it. If …

Member Avatar for sumprit
0
111
Member Avatar for gekkoswave

Hi in this program i want it to run for 720 loops but it keeps stoping short for some reason. There is no compilation error or runtime error. [CODE]import java.util.LinkedList; import java.util.Random; public class Simulation { private LinkedList<Customer> customerList; private int minutesThatHavePast; private int customerNumber; private int customerProcessTime; private int …

Member Avatar for jon.kiparsky
0
158
Member Avatar for ubi_ct83

Hi all, i'm developing a web-base system.user enter the data in mysql.my main system retrieve the data using jdbc.my problem is, i dont know how to make the system keep on checking the new data in database.i want it always check the mysql for any new data. i need your …

Member Avatar for ubi_ct83
0
105
Member Avatar for SMITA6076
Member Avatar for rosey_fci

hi everybody I have a little problem I can not fill all the cells in the table that I made by java swing can anyone help me

Member Avatar for mKorbel
0
61
Member Avatar for ladybug24

Hi Daniweb community! I started learning javascript in school, and the best way to learn is to get into it. So I found a Sudoku game online "http://iphone.janjanousek.cz/isudoku/" and download the files on to my hard drive with much success (all the scripts). The game and site is very well …

0
129
Member Avatar for ubi_ct83

Hi all, my assignement is developing an API. my API should be used by developer in 2 ways.1 is computer base developer and another 1 is web developer.im using java application.the problem is, i dont know what must i have to develop an API for web user

0
66
Member Avatar for rajvaishnav1989

Hello, i am develop website in jsp as per our final year project rule of college.my project is public transportation.i am creating site for it. now my problem is to create database for bus train and flight ticket reservation.. how can i create database for it and also journey table …

Member Avatar for brynFlew
0
258

The End.