User Profile

Collapse

Profile Sidebar

Collapse
jerald m
jerald m
Last Activity: Jul 6 '11, 06:29 AM
Joined: Dec 30 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jerald m
    started a topic How read the data from cube(Business Inteligence)?
    in Java

    How read the data from cube(Business Inteligence)?

    Hi

    I'm new to Business Intelligence.

    I know How to connect to the database.

    But i need know how to read the data from cube.

    I'm using Mondrian.Mondri an has cube and datasource.xml

    i need create chart using cube data.

    i did not know how to read the cube data.
    Please help me i did not how to start the program itself.

    Please Help me.
    See more | Go to post

  • jerald m
    started a topic How to integrate XML in java ?
    in XML

    How to integrate XML in java ?

    Hi,

    i'm new to Business Inteligent.

    in our company already they are created product.

    that product using mondrian cube it retrieving data from the database.

    now in that code through the image it move node item to up and down.

    But after changed the node item to up user pressing ok button that change effect in the side panel.

    After changes made by the user in...
    See more | Go to post

  • jerald m
    started a topic How to use Single Sign On in Tomcat 6 .?
    in Java

    How to use Single Sign On in Tomcat 6 .?

    in server.xml
    what i need to change....


    server.xml
    Code:
    <?xml version='1.0' encoding='utf-8'?>
    <!--
      Licensed to the Apache Software Foundation (ASF) under one or more
      contributor license agreements.  See the NOTICE file distributed with
      this work for additional information regarding copyright ownership.
      The ASF licenses this file to You under the Apache License,
    ...
    See more | Go to post

  • jerald m
    started a topic How to clear IOException ?

    How to clear IOException ?

    Hi,

    i have created Jsp form to save the data into the database.
    it is entering for two time in thrid time it is throwing an erro

    Io exception: Connection refused(DESCRIP TION=(TMP=)(VSN NUM=169869568)( ERR=12519)(ERRO R_STACK=(ERROR= (CODE=12519)(EM FI=4))))

    what i need to do to fix this error.?
    please Help me...
    See more | Go to post

  • jerald m
    started a topic How to clear a data in dynamic combo box?

    How to clear a data in dynamic combo box?

    Hi,

    In my Form(JSP) using ajax i done dynamic combo box.3 combo box is in my Form.

    In database country,State,A rea is available

    Country-->India,Russia,A ustralia
    State---> TN,Del,LL for India.HH,SO for Russia.JO,KO for Australia

    Area --->Aa,Bb for TN....

    Now if i select Russia in 1st combo box the appropriate state is loading.

    But India having...
    See more | Go to post

  • jerald m
    started a topic How to fix Face context Error in JSF?
    in Java

    How to fix Face context Error in JSF?

    login.jsp
    Code:
    <%@ page contentType="text/html"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <f:view>
    	<html>
    		<head>
    			<title>JSF Login Application</title>
    		</head>
    		<body>
    			<h:form>
    ...
    See more | Go to post

  • jerald m
    replied to How to call servlet from JSP FORM ?
    in Java
    I got the Result(output).
    Thanks for keeping me in ur mind.
    Thanks.,Thanks for ur help..,

    my programs are coming below..,


    AuthenticationL ogin.jsp

    Code:
    <%@ page language="java" %>
    <html>
    <head>
    <title>Login Page</title>
    <script language = "Javascript">
    function Validate(){
    var user=document.frm.user
    ...
    See more | Go to post

    Leave a comment:


  • jerald m
    started a topic How to call servlet from JSP FORM ?
    in Java

    How to call servlet from JSP FORM ?

    Hi,

    For Login authentication.
    i create JSP Form.
    login.jsp(webap ps/loginsystem/login.jsp)
    Code:
    <form method="POST" [B]action ="http://localhost:8085/loginsystem/lo"[/B]  name="login">
    
    <font color="#FFFFFF" face="Bauhaus 93" size="4"><-- BACK</font></a></p>
    <div align="center">
      <center>
    ...
    See more | Go to post

  • jerald m
    replied to What is the use of prepareStatement?
    in Java
    Hi Nathan,
    Thanks i completed that form.i used setAttribute and getAttribute to display the alert msg in client side itself.once again thanks to u for helping me.
    change's of the code are following

    Server Side Code
    Code:
    try{
      DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    
    con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","username","password");
    ...
    See more | Go to post

    Leave a comment:


  • jerald m
    replied to What is the use of prepareStatement?
    in Java
    hi nathj,

    Now i change my idea in coding.
    Form Code
    Code:
    <form name="form1" action="http://localhost:8085/NewForm/dil_ProjectMaster.jsp" method="POST" onsubmit="return checkform(this) && Dat(this);">
    <javascript>
    Code:
    <%
    if(request.getAttribute("jerald")!=null)
    {%>
    alert("Project Code is Already
    ...
    See more | Go to post

    Leave a comment:


  • How to pass the user input value (text box field) to another JSP in url?

    Hi,

    how can i pass the user input value of ( in text box field) to the another Jsp in url?

    Form Code
    Code:
    <td>
    <input type="text" name="dil_ProjectCode" id="dil_ProjectCode">
    </td>
    JavaScript Code
    Code:
    function loadContent(formj)
    {
    
     xmlhttp=GetXmlHttpObject();
    
      if (xmlhttp==null)
      {
    ...
    See more | Go to post

  • jerald m
    replied to What is the use of prepareStatement?
    in Java
    Hi nathj,
    Sorry 4 disturbing u again..,

    i need to get input from the user(text box field value) and check whether the input is given by the user is in the database or not.

    if the user entered the input in the database i need to give the alert msg as "value is already exist's" else {
    it needs to save into database..(this is i want),
    any IDEA..,



    Existing...
    See more | Go to post

    Leave a comment:


  • jerald m
    replied to What is the use of prepareStatement?
    in Java
    Hi Nathj Thanks for ur reply.I'm newly joined in the Company.
    i need complete this form as soon as possible.
    i stick with this error for 3 day's.
    all the steps are completed in the Form. this one ERROR ONLY.., please help me Out..

    No Boss ur Code is not working..
    But now i Found out the error.,
    Same code only..
    in Code.jsp here i'm not getting any value i don't Y..,
    But this is the ERROR...
    See more | Go to post

    Leave a comment:


  • jerald m
    replied to What is the use of prepareStatement?
    in Java
    Hi Nathj thanks for ur reply..,

    now i'm getting no error,but it display a blank window
    it is not entering into while(rs.next){ please help me

    JavaScript Code
    Code:
    function loadContent(formj)
    {
    
     xmlhttp=GetXmlHttpObject();
    
      if (xmlhttp==null)
      {
       alert ("Your browser does not support Ajax HTTP");
       return;
      }
      
        var stateValue
    ...
    See more | Go to post

    Leave a comment:


  • jerald m
    started a topic What is the use of prepareStatement?
    in Java

    What is the use of prepareStatement?

    Hi,
    i have written jsp for retrieving the responseText for Javascript but it throw error as

    ERROR
    Code:
    Type mismatch: cannot convert from String to int
    while(rs.next())
     {
       ProjectCod = ""+ rs.getInt(1);
        	}
       out.print(ProjectCod);
    my Code comes below

    Code:
    stateId = Integer.parseInt(request.getParameter("dil_ProjectCode"));
    ...
    See more | Go to post

  • jerald m
    started a topic How to validate Unique Field in JSP ?
    in Java

    How to validate Unique Field in JSP ?

    Hi,
    i'm creating Form.in form ProjectCode is one of the Field name.in database i fixed as unique key for project code.so there is no possibilities to occur duplicate values.

    if i enter already exists Project code it wants to throw alert.

    How can i give..,

    Form Code
    Code:
    <td><input type="text" name="dil_ProjectCode" id="dil_ProjectCode" ></td>
    ...
    See more | Go to post

  • jerald m
    replied to What is the use of rs.getString(1) in jsp?
    in Java
    Rabbit i got the output for past post
    corrected lines r coming down and i have last doubt please help me Rabbit
    old code
    Code:
    var boxLength = document.form1.City.length;
     document.form1.City.options[boxLength] = new Option(s[indx]);
    i changed here
    Code:
    //var boxLength = document.form1.City.length;
    document.form1.City.options[indx] = new Option(s[indx]);
    now i need another...
    See more | Go to post

    Leave a comment:


  • jerald m
    replied to What is the use of rs.getString(1) in jsp?
    in Java
    now i'm getting all the city. Thanks for Reply Rabbit.

    another doubt please help me..,

    This code is javaScript
    Code:
    //Here i'm getting all the City
     var result = xmlhttp.responseText;
    //Split the responseText  
    var s = result.split(" ");
     
     var indx = 1;
     for(indx=1; indx < s.length; indx++)
    	{
      var boxLength = document.form1.City.length;
      document.form1.City.options[boxLength]
    ...
    See more | Go to post

    Leave a comment:


  • jerald m
    started a topic What is the use of rs.getString(1) in jsp?
    in Java

    What is the use of rs.getString(1) in jsp?

    Hi,

    i need help in JSP.
    Code:
    String stateId = request.getParameter("State");
    	
       String query = "select distinct CITY from STATES where STATE = '"+stateId+"'";
       
    	stmt = con.prepareStatement(query);
    	
    	rs = stmt.executeQuery();
           String City=null;
    	while(rs.next())
    	{ 
             City=""+rs.getString(1)'
    ...
    See more | Go to post

  • Hi,

    U Know JSP..,
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...