User Profile

Collapse

Profile Sidebar

Collapse
Naha
Naha
Last Activity: Nov 20 '07, 11:17 PM
Joined: Feb 7 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Naha
    started a topic What does this exception mean?
    in Java

    What does this exception mean?

    Hi,

    Can anyone help me please?

    My code throws this error:

    Code:
    init:
    deps-jar:
    compile:
    run:
    java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
            at java.util.Vector.elementAt(Vector.java:427)
            at camera.jmfexample.main(jmfexample.java:58)
    BUILD SUCCESSFUL (total time: 6 seconds)
    What does this mean?
    See more | Go to post

  • Naha
    started a topic how to analyse images using Java Advanced Imaging
    in Java

    how to analyse images using Java Advanced Imaging

    Hi,

    I am starting a new project where I have to create a office monitoring system, whereby I need to capture images from a webcam and analyse these images using Java advanced imaging in order to determine if there are people in the images. Can someone please give me some guidance on how to do this, I am completely new to Java Advanced imaging!!!! Please...
    See more | Go to post

  • Naha
    started a topic Displaying video footage on a website
    in Java

    Displaying video footage on a website

    Hi,

    I have been given a task of creating a office monitoring system, whereby the live video footage from the web cam has to be displayed on my website. How would i go about doing this? can anyone help please?
    See more | Go to post

  • Naha
    started a topic Displaying video footage on a website

    Displaying video footage on a website

    Hi,

    I have been given a task of creating a office monitoring system, whereby the live video footage from the web cam has to be displayed on my website. How would i go about doing this? can anyone help please?
    See more | Go to post

  • Naha
    started a topic my servlets not working
    in Java

    my servlets not working

    hi, my servlet is not linking with my jsp, when i click on submit it does not load up the page. and i have mapped to the DD.

    Code:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    
    
    public class Servlet1 extends HttpServlet {
    
    
    
    public void doPost(HttpServletRequest req,
    HttpServletResponse res) throws ServletException, IOException
    ...
    See more | Go to post

  • Naha
    replied to My functions not working!!!
    ok, i have created the function checkemail2, and its also giving me errors.

    Code:
    <html>
    <head><title>Registration Details</title>
    <SCRIPT LANGUAGE="JavaScript">
    
    
    
    /**
    
    
    function processForm1() {
    var form1 = document.formOne;
     if (form1.firstname.value==""){
     alert("you must fill in your first
    ...
    See more | Go to post

    Leave a comment:


  • Naha
    started a topic My functions not working!!!

    My functions not working!!!

    Hi, Can some one help me? I dont know why my checkEmail function is not working, it gives errors.

    Code:
    <html>
    <head><title>Registration Details</title>
    <SCRIPT LANGUAGE="JavaScript">
    
    
    
    /**
    
    
    function processForm1() {
    var form1 = document.formOne;
     if (form1.firstname.value==""){
     alert("you
    ...
    See more | Go to post

  • Naha
    started a topic storing data in an array.
    in Java

    storing data in an array.

    Hi Guys,

    this is the code that reads the data from a text file and displays it in a jsp.
    iam trying to put the data in a array so that each time the code readfs the data the previous data is stored, however this is not working can someone please help.


    Code:
    <HTML>
    <HEAD>
    <TITLE>The result.....</TITLE>
    </HEAD>
    <BODY>
     
    <%@
    ...
    See more | Go to post

  • Naha
    replied to Validations not working!!!
    I made the changes but its still no working.





    Code:
    <html>
    <head><title>Registration Details</title>
    <SCRIPT LANGUAGE="JavaScript">
    
    function processForm1() {
    var form1 = document.formOne;
     if (form1.firstname.value==""){
     alert("you must fill in your first name")
     formOne.firstname.focus();
    ...
    See more | Go to post

    Leave a comment:


  • Naha
    replied to Validations not working!!!
    no, the remaining functions still are not working.
    See more | Go to post

    Leave a comment:


  • Naha
    replied to Validations not working!!!
    With the code you gave only the first function works the others do not.



    Code:
    <html>
    <head><title>Registration Details</title>
    <SCRIPT LANGUAGE="JavaScript">
    function processForm1() {
    var form1 = document.forms.formOne
     if (form1.firstname.value==""){
     alert("you must fill in your first name")
     formOne.firstname.focus();
    ...
    See more | Go to post

    Leave a comment:


  • Naha
    started a topic Validations not working!!!

    Validations not working!!!

    Hi guys,

    I have a problem, can someone help me? I'm not sure why but none of my validation functions are working!!!!




    Code:
    <html>
    
    <head><title>Registration Details</title>
    
    <SCRIPT LANGUAGE="JavaScript">
    
    function processForm1() {
    
    form1 = document.forms["formOne"] 
    
    	if (form1.firstname.value==""){
    ...
    See more | Go to post

  • Naha
    started a topic if/else statements inside jsps
    in Java

    if/else statements inside jsps

    The if else statement inside my jsp is not working, it gives me the following error:

    Code:
    type Exception report
    
    message 
    
    description The server encountered an internal error () that prevented it from fulfilling this request.
    
    exception 
    
    org.apache.jasper.JasperException: Unable to compile class for JSP
    
    An error occurred at line: 51 in the jsp file: /website/weather.jsp
    ...
    See more | Go to post

  • Naha
    replied to Help-My table does not get displayed
    in Java
    The computer does not freeze, but it does not load up, however when i take the if statement away it loads up fine.
    See more | Go to post

    Leave a comment:


  • Naha
    replied to Help-My table does not get displayed
    in Java
    no nothing, its like the screens frozen.
    See more | Go to post

    Leave a comment:


  • Naha
    replied to Help-My table does not get displayed
    in Java
    I added the if statement but the page does not load up.

    Code:
    
    <%@ page import="java.util.*,java.io.*" %>
    
    
    
    <html>
    <head>
    
    <LINK REL="stylesheet" TYPE="text/css" HREF="stylesheet1.css">
    
    </head>
    
    <body>
    
    <hr></hr>
    
    <center>
    ...
    See more | Go to post

    Leave a comment:


  • Naha
    replied to Help-My table does not get displayed
    in Java
    Hi there,

    i made alterations to the code, whereby i have created to separate tables for light and temperature, which reads two different files, although both the tables and data gets displayed, each table has two addtional empty rows printed to it, like below. How do I stop this from happening??


    Code:
            Todays Temperature  
    
    Outlook: image1.gif  
    Temperature: Todays temperature
    ...
    See more | Go to post

    Leave a comment:


  • Naha
    replied to Help-My table does not get displayed
    in Java
    Hi guys,

    Having a problem, my table does not get displayed, when i load the page it gives me the following error(p.s-the codes below):

    Code:
    HTTP Status 500 - 
    
    --------------------------------------------------------------------------------
    
    type Exception report
    
    message 
    
    description The server encountered an internal error () that prevented it from fulfilling
    ...
    See more | Go to post

    Leave a comment:


  • Naha
    started a topic Help-My table does not get displayed
    in Java

    Help-My table does not get displayed

    Hi guys,

    Having a problem, my table does not get displayed, when i load the page it gives me the following error(p.s-the codes below):


    Code:
    <%@ page import="java.util.*,java.io.*" %>
    <%@ page import="testBean.TestBean" %>
    
    
    <html>
    <head>
    
    <LINK REL="stylesheet" TYPE="text/css" HREF="stylesheet1.css">
    ...
    See more | Go to post

  • Naha
    started a topic Cannot find symbol (constructor)
    in Java

    Cannot find symbol (constructor)

    Hi Guys,

    Can come one help me with this code, i am getting an error on line 14:Cannot find symbol constructor Details java.lang.strin g.java.lang.str ing.


    Code:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    
    public class scl implements ServletContextListener{
    	
    	public void contextInitialized(ServletContextEvent e)
    	{
    		ServletContext
    ...
    See more | Go to post
No activity results to display
Show More
Working...