User Profile

Collapse

Profile Sidebar

Collapse
anilareddy
anilareddy
Last Activity: Jun 29 '07, 04:25 AM
Joined: May 23 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • anilareddy
    replied to Error in my code
    Ya i got this point.
    But after clicking login button, before it goes to next page, the list box value is getting changed to default automatically. Please give me the solution for this.. And one more thing is, Is there any way to make the ajax (or this piece of code) work faster...
    See more | Go to post

    Leave a comment:


  • You can achieve it by doing like this


    <html>
    <script language="text/javascript">
    var test=DValue;
    document.myForm .name.value=tes t;
    </script>
    <body>
    <form name="myForm">
    <inpu type="text" name="name"/>
    </form>
    </body>
    </html>
    See more | Go to post

    Leave a comment:


  • anilareddy
    started a topic Error in my code

    Error in my code

    Sometime back I had a posted an issue here. I was adviced to use AJAX in my application. I was not aware of it, somehow i managed to use it in. Now its working except few small issues. If anyone could find wats wrong, i will be greatful.

    This contains 3 fields username,passwo rd and project. As the user enters his username,it calls the jsp thru ajax to fetch the project names. But the problem here is.. Its fetching the data but teking...
    See more | Go to post
    Last edited by acoder; Jun 22 '07, 02:42 PM. Reason: Code in tags

  • anilareddy
    started a topic How to validate the time here

    How to validate the time here

    I have an application like this. I need to validate the start time in 2nd row against the start row in first row. I mean The start time value entered in the second row must not b the value entered in 1st and the value entered in 3rd must not b the value entered in 1st,2nd etc.. like this. Please tell me how it can be done. I'm sending the code here. Its a html file. Just copy paste the code and run to execute it and see how it works.

    ...
    See more | Go to post
    Last edited by acoder; Jun 20 '07, 11:07 AM. Reason: Code in tags

  • I'm not aware of AJAX. I'm sending you the code i have so far.. Please help me
    Thank you in advance

    [HTML]<%@ page contentType="te xt/html;charset=wi ndows-1252"%>

    <%@ page import="java.sq l.*" %>
    <%@ page import="javax.s ql.*" %>
    <%@ page import="java.la ng.*" %>
    <%@ page import="java.la ng.Object.*" %>
    <%@...
    See more | Go to post
    Last edited by acoder; Jun 20 '07, 10:34 AM. Reason: Code in tags

    Leave a comment:


  • How to get values in the dropdown box

    --------------------------------------------------------------------------------

    Hi all..
    Please read this and help me.

    My application needs to be like this.
    The login page gets the username and in the second page there is a drop down box called project which gets the list of projects the person is involved in.. it fetches this data from the database....
    See more | Go to post

    Leave a comment:


  • anilareddy
    started a topic How to get values in the dropdown box

    How to get values in the dropdown box

    Hi all..
    Please read this and help me.

    My application needs to be like this.
    The login page gets the username and in the second page there is a drop down box called project which gets the list of projects the person is involved in.. it fetches this data from the database. And then there is another drop down box called WBS code. After selecting a particular project, the wbs codes of the selected project are populated in...
    See more | Go to post

  • anilareddy
    replied to How to call a java class from jsp?
    in Java
    right now i'm doing the same but my application has become very slow. Business logic shud b separate from presentation right.. So how it can b done...
    See more | Go to post

    Leave a comment:


  • anilareddy
    started a topic How to call a java class from jsp?
    in Java

    How to call a java class from jsp?

    Hi all,

    Suppose i've my database operations written in a java class, db.java , i want to call this from my jsp page as soon as the data is entered.
    Pls tell me how to do this
    See more | Go to post

  • How to make it as readonly?...
    See more | Go to post

    Leave a comment:


  • I dont want the user to modify it so i'm disabling that field...
    See more | Go to post

    Leave a comment:


  • anilareddy
    started a topic Disabled field's value is reading as null
    in Java

    Disabled field's value is reading as null

    --------------------------------------------------------------------------------

    Hi friends,

    I've got an error in my project.

    <input type="text" name="empname" disabled value=<%=sessio n.getAttribute( "emp_name") %>>

    and after submitting this,i'm trying to retrieve it as
    String emp=request.get Parameter(empna me);

    but it is reading...
    See more | Go to post

  • anilareddy
    started a topic Disabled field's value is reading as null

    Disabled field's value is reading as null

    Hi friends,

    I've got an error in my project.

    <input type="text" name="empname" disabled value=<%=sessio n.getAttribute( "emp_name") %>>

    and after submitting this,i'm trying to retrieve it as
    String emp=request.get Parameter(empna me);

    but it is reading it as null. If i remove the disabled attribute,it reads the value..
    Can anyone tell...
    See more | Go to post

  • anilareddy
    replied to Dynamic drop down boxes??
    Refer to this site
    http://www.webteacher. com/javascript/changing_lists. html
    See more | Go to post

    Leave a comment:


  • anilareddy
    replied to How to save the data to the database
    how to include a jsp page fron javascript? It shud go to jsp and control shud come back to js? how is it possible?...
    See more | Go to post

    Leave a comment:


  • anilareddy
    started a topic Problem in getting the name

    Problem in getting the name

    Hi all,
    I'm creating a text box like this and inside the function i'm trying to valiadte it. But i'm unable to retrieve its value. I think the method i've used may b wrong pls tell me wats the correct way of doing it as soon as possible please please please frends


    var cell2 = row.insertCell( 2);
    var txtInp = document.create Element('input' );
    txtInp.setAttri bute('type', 'text');
    txtInp.setAttri bute('name',...
    See more | Go to post

  • anilareddy
    started a topic How to save the data to the database
    in Java

    How to save the data to the database

    Hi all,
    I have a problem in my project. I have developed a small page like this. Now after the save button is clicked, the data which is entered should be stored in the database. I'm attaching the code here please if someone find the solution send me as soon as possible.

    <%@ page contentType="te xt/html;charset=wi ndows-1252"%>

    <%@ page import="java.sq l.*" %>
    <%@ page import="javax.s ql.*"...
    See more | Go to post

  • anilareddy
    started a topic How to save the data to the database

    How to save the data to the database

    Hi all,
    I have a problem in my project. I have developed a small page like this. Now after the save button is clicked, the data which is entered should be stored in the database. I'm attaching the code here please if someone find the solution send me as soon as possible.

    <%@ page contentType="te xt/html;charset=wi ndows-1252"%>

    <%@ page import="java.sq l.*" %>
    <%@ page import="javax.s ql.*"...
    See more | Go to post
No activity results to display
Show More
Working...