35,618 Topics
![]() | |
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, … | |
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] | |
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 … | |
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. … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 ? | |
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 | |
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 … | |
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); … | |
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. */ … | |
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 | |
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 … | |
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 … | |
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 . | |
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 … | |
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 … | |
hello friends, plz give the kinks where I can download simple jsp projects Thank you | |
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 … | |
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] … | |
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 … | |
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 … | |
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 … | |
i want to print date like 1st dec 1983,2nd,3rd 4th can any body tell me thanks | |
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... | |
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) … | |
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, … | |
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 … |
The End.