35,618 Topics

Member Avatar for
Member Avatar for petzoldt01

I currently have a small Java project on my local setup (Im using Tomcat). I want to get this out on the internet, but not many hosts offer Java. Im not really looking for the cheapest host out there, but Im not very rich either. I just want something reliable, …

Member Avatar for peter_budo
0
77
Member Avatar for idgeitman

Hello, I've been trying to figure this out but still no luck, can anyone see what im doing wrong here?, the if statement just isn't working! Thanks, [code] <% String name = request.getParameter("username"); %> <% if ("name" == null) { %> <jsp:forward page = "invalid.jsp"/> <% } %> [/code]

Member Avatar for masijade
0
83
Member Avatar for galanshi

Hello: I am working with the Lempel Ziv algorithm which is a data compression algorithm. I have to read text from an input file and create a dictionary and a sequence of code numbers. Then I have to decode the generated sequence of numbers and generate the original text. I …

Member Avatar for jwenting
0
43
Member Avatar for ceyesuma

Could someone find an obvious reason this while loop performs once and then breaks? I don't think the condition on the while loop is dropping it out. I must be when I call the formatted writers but I 'm not sure how to make it stay in the while loop. …

Member Avatar for sb7000
0
95
Member Avatar for Hyiero

Well I did not have a problem with my last program assignment which involved me making the Student class that I attached below, But in my new assignment i have too Write a program that will use the Student class developed in the previous assignment to provide a menu-based interactive …

Member Avatar for galanshi
0
121
Member Avatar for Gregory Mieczni

Hi, I am relative new to Swing development, so please be patient... I have created a scrollable table and would like to add (at runtime) a JComponent (for example a chart linked to the table) that would sit on top of the table and would also scroll aong with the …

Member Avatar for iamthwee
0
103
Member Avatar for mimsc

Can anyone see it..I can't find it [code] <% RequestDispatcher dispatcher = request.getRequestDispatcher("/jsp/ErrorPage.jsp"); UserDataVO userData = null; String username = request.getParameter("username"); String password = request.getParameter("password"); boolean loginOkay = false; boolean trialOkay = true; boolean pageError = false; boolean hasBlanks = false; String menuType = null; String adminServer=request.getServerName(); String javaAdminServer=request.getServerName(); if …

0
79
Member Avatar for thejunkie

I'm new at Java and I'm tryin to create a Login screen that prompts the user to enter a username and a password and then allows them into the program. Is it true that I cant use the "switch" on a string and only if else statements? If it is …

Member Avatar for ~s.o.s~
0
3K
Member Avatar for kc8pdr

I was on sprint today and when you click on a phone the page get's see through and a windows open's open can someone tell me how to do it ?

Member Avatar for kc8pdr
0
57
Member Avatar for itsjustme82

Hi I want to implement a program where client sends a file to server and server displays the message from the file. I have attatched my java files for reference

Member Avatar for masijade
0
119
Member Avatar for TCMIMS16

What in the world am I doing wrong? Can someone please help me. I am especially lost on the last method. I am supposed to use two classes to perform one of three math operations depending on the user's choice. Use if statements to allow the user to choose which …

Member Avatar for jwenting
0
110
Member Avatar for #1Basser

I am newer to java and working with JFrame for the first time. This is what I have wrote so far. import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; public class contact extends JFrame implements ActionListener { public contact() { ImageIcon usIcon = new ImageIcon("image/usIcon.gif"); JTextField First = new JTextField(10); …

Member Avatar for jwenting
0
84
Member Avatar for #1Basser

I am new to java and having issues. package components; import java.awt.*; import java.awt.event.*; import javax.swing.*; /* FrameDemo.java requires no other files. */ public class ContactApp { /** * Create the GUI and show it. For thread safety, * this method should be invoked from the * event-dispatching thread. */ …

Member Avatar for #1Basser
0
104
Member Avatar for balagangadharm

hi everyody,i need ur help.I am able to send subject and text as mail to the recepient but iam unable to send hyperlinks in th text.plz suggest me how to send

Member Avatar for Paul.Esson
0
1K
Member Avatar for smzuber

Hi, We have a client-server application wherein the server has a pooled connection to an Oracle 10i database. The application is developed in Java and we are using Oracle OracleConnectionCacheImpl API to manage the connection pooling( DYNAMIC pooling with a pool size of 5 and we are using ojdbc14.jar) On …

Member Avatar for jwenting
0
446
Member Avatar for xs.gautam

Hi Floks, This is Gautam here...i've recently completed Core Java+Advanced(Desktop tech.) + JDBC with oracle & MS Acess...Im going to submit a project work in next 6 months so i need newer topics for Making useful project either standalone or with DB connectivity 1.One that i've in mind is remote …

Member Avatar for xs.gautam
0
108
Member Avatar for Alekha

Hello Friends Could any one please help me in doing a project in java using JSF and Portlets, Eclipse Tools ,The Project is HR Recruitment system .

Member Avatar for Ezzaral
0
109
Member Avatar for munna_dude

hi all i am new to jsp i am looking in to this example first... [CODE] <html> <head> <title>My first JSP page </title> </head> <body> <%@ page language="java" %> <% out.println("Hello World"); %> </body> </html> [/CODE] and save as helloworld.jsp at present am using linux machine i.e. fedora7. when i …

Member Avatar for masijade
0
62
Member Avatar for Jrock

Hey everyone. Brand new to the forums. I have been looking all over and could not find much help. I have found one instance of the problem but it always occurs in JBoss and I am running Tomcat. I am pretty new to JSP, XML, and servlets so bare with …

0
49
Member Avatar for shajiuddin

hello friends, plz give the kinks where I can download simple jsp projects Thank you

0
33
Member Avatar for Rajesh.D.N

Hi, I am new to mysql connectivity using jsp. but i have tried it with MS Access nd it worked out for me. I have installed jdk1.4, Tomcat5.0, mysql 4.1 and mysql_connector_odbc_3.51.21_win32.msi. For the following code i am getting error code 500.. I have set the Env paths as path …

Member Avatar for masijade
0
204
Member Avatar for rwagnes

I am compiling a program with an ant build script. I have a fileset with several include files that looks like this: [code] <copy todir="Packaging/Core/web/webapps/cwa/help" > <fileset dir="${webhelp}" > <include name="*.*" /> <include name="images/**/*" /> <include name="scripts/**/*" /> <include name="ug/**/*" /> <include name="wwhdata/**/*" /> <include name="wwhelp/**/*" /> </fileset> </copy> [/code] …

Member Avatar for rwagnes
0
435
Member Avatar for balgarath

Its been years since I've used Java, this one is stumping me... I implemented my own Observer/Observable interfaces for use with a 2-way RMI setup(I'm sure theres a better name but I don't know it yet). I have 2 interfaces ToyStore and ToyFactory. ToyStore extends Remote implements Observer, ToyFactory extends …

Member Avatar for masijade
0
164
Member Avatar for gvi

Hi Everyone, I have the following xml from which I need a particular output . [code=xml] <items> <item id="film"> <category>entertainment </category> <category>drama</category> <category>music </category> </item> <item id="sitcom"> <category>entertainment </category> <category>tv</category> </item> </items> [/code] Output I would like film|entertainment film|drama film|music sitcom|entertainment sitcom|tv But the code I have displays the output …

Member Avatar for jwenting
0
114
Member Avatar for Czechie

Ok, I need help getting started. I know the rules and such so I'm not asking for anyone to tell me answers or anything like that. I can do Dijkstra's algorithm no problem on paper with a graph, but when it comes to the java implementation I have a harder …

Member Avatar for ithelp
0
95
Member Avatar for pawan_1983

i want to print date like 1st dec 1983,2nd,3rd 4th can any body tell me thanks

Member Avatar for mickinator
0
82
Member Avatar for danieldear

hi guys can anyone tell me wat is delegate and what is the difference between delegates in java and c++ please guys i need to understand this very soon.... :'( thanks...

Member Avatar for darkagn
0
40
Member Avatar for spick

Hi guys I'm trying to do this java exercise and I'm getting nowhere with this So I was wondering if anyone can help me out with this. 1. Create a PizzaOrder.java class with the following attributes and methods: PizzaOrder -size: String -toBeDelivered: boolean -count: int +PizzaOrder() +PizzaOrder(size: String, toBeDelivered: boolean) …

Member Avatar for mickinator
0
155
Member Avatar for DeadJustice

I need help with enums. I don't get them. This is part of a larger assignment, so all I need to do is fix this. I'm trying to assign year levels of school to constants. [code=java] public class Student extends Person { public Student( String name, String address, String phone, …

Member Avatar for DeadJustice
0
190
Member Avatar for rrm089

B]I need to do this:[/B] In the Hi-Lo game, the player begins with a score of 1000. The player is prompted for the number of points to risk and a second promt asks the player to choose either High or Low (1 or 2). The player's choice of either High …

Member Avatar for Ezzaral
0
236

The End.