User Profile

Collapse

Profile Sidebar

Collapse
techbytes
techbytes
Last Activity: Jan 3 '12, 10:37 AM
Joined: May 14 '10
Location: chennai , India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • techbytes
    started a topic converting xml string to java object
    in Java

    converting xml string to java object

    hi,

    I have written a xml string for my project.I have to convert the xml string to java objects.

    help me.
    XML string is as follows.
    Code:
      <?xml version="1.0" encoding="UTF-8" ?> 
    - <PageLayout>
      <pagename>de</pagename> 
      <layout>layout.jsp</layout> 
      <foldername>E:\\shanthi\Marketing\Marketing\Applet Source\com\marketing\applet</foldername>
    ...
    See more | Go to post

  • techbytes
    replied to Object to Xml in java
    in Java
    hi,
    Iam attaching error stack trace ,now don't consider the widget.
    Code:
    15:29:47,843 ERROR [STDERR] com.sun.xml.bind.v2.runtime.IllegalAnnotationsExcept
    ion: 1 counts of IllegalAnnotationExceptions
    java.sql.Date does not have a no-arg default constructor.
            this problem is related to the following location:
                    at java.sql.Date
                    at public java.sql.Date com.cmssuite.businesslayer.core.DataObje
    ...
    See more | Go to post

    Leave a comment:


  • techbytes
    started a topic Object to Xml in java
    in Java

    Object to Xml in java

    In my project,Iam converting object into xml.Iam using jaxb marshal method to do the conversion.
    In running the program ,i got 1 counts of Illegal Annotation Exceptions.
    how to solve this problem .
    thanks in advance
    Code:
    //Method for converting
      public static ReturnObject getXmlValue(HttpServletRequest httpRequest)
    {
     ReturnObject  xRetObject = new ReturnObject();
            xRetObject.setReturnCode("0");
    ...
    See more | Go to post

  • Code:
     
    
    //to display insert page
     function pageDisplay(divid,path)
    {
      alert("divid ...."+divid);
      alert("path ..."+path);
      var pathvalue =document.getElementById(path).value;
      alert("pathvalue ...."+pathvalue);
      searchReq.open('GET','../templates/pagelayout.jsp?path='+pathvalue);
      searchReq.onreadystatechange = function()
                {
    ...
    See more | Go to post

    Leave a comment:


  • Calling Javascript function returned from AJAX Response

    Hi,

    I have a Page, where i get the response through ajax.In that Page iam calling a javascript function for css purpose of the screen.
    when the response is displayed ,the javascript fn is not invoked.

    help me
    See more | Go to post

  • techbytes
    started a topic Replace function not working

    Replace function not working

    In my project,iam passing file path as a parameter to a javascript function.

    On replacing the separator with escape character, iam passing this parameter to another function that is called in my previous function.
    But in my second function, iam getting the blank spaces without the separator.

    Code:
    function linkFolderHTML(isTextLink) 
    { 
      var docW = "";
    ...
    See more | Go to post
    Last edited by Niheel; Aug 24 '11, 05:44 AM. Reason: use code tags, easier than downloading files.

  • How to retain textbox value in forefox 3.5.15 using javascript?

    hi,

    Iam generating dynamic textboxes in jsp using javascript.
    onclick of button,iam generating a row of textboxes.

    Once i click the button,i lost the information in the previous textboxes in firefox 3.5.15 but it is working in Internet Explorer.

    I have to retain the textbox value in firfox 3.5.15 also.

    Suggestions required.
    See more | Go to post

  • techbytes
    started a topic Dynamically create textboxes
    in Java

    Dynamically create textboxes

    hi,


    Iam working in jsp.In that,Onchange of the dropdown ,I have to create dynamic textboxes.

    I will get the value of rows to be created from the dropdown.

    I don't have any idea whether to create the textboxes in jsp or javascript.

    Regards,
    techbytes
    See more | Go to post

  • how to load two divs in a single function call in ajax

    hai,

    I have three dropdowns.In that ,if i select first dropdown it should populate second drop down and some details should be displayed below the dropdown.

    I have given two divs in that page.On ajax call,value should be loaded in a single ajax call in two divs.

    how to do so?


    regards and thanks in advance
    See more | Go to post

  • how to avoid that entire page gets loaded in div in ajax

    hai,


    In my project,iam using ajax to populate dropdown values.
    In that ,instead of loading that dropdownvalues the entire page gets loaded in the dropdown.

    how to load that particular dropdown values in that dropdown.

    thanks in advance
    See more | Go to post

  • techbytes
    started a topic how to retain selected value of dropdown in jsp
    in Java

    how to retain selected value of dropdown in jsp

    hi,

    I have 2 dropdowns ,after populating the dropdown with selected values,the page is refreshed.
    so the selected value in the dropdown is not retained in the dropdown list.
    I want to retain the selected value in the dropdown after the form is submitted.
    See more | Go to post

  • hai,


    thanx.

    can u tell me how to particular response in the div in contrast to entire page in the div.
    See more | Go to post

    Leave a comment:


  • hai,

    I used ajax to populate the values,but the entire page is written as response in the dropdown.
    I donotknow how to write the particular value in the dropdown in ajax.
    See more | Go to post

    Leave a comment:


  • hai,

    yes,Depending on the selected value,another dropdown is populated.
    For that ,I want to get the selected id of the first dropdown and submit the form .
    Based on the id,values are fetched from the displayed on the second dropdown.

    I donotknow ,how to submit the form on onchange and get the selected id and passit to java function.

    suggestions req.
    See more | Go to post

    Leave a comment:


  • techbytes
    started a topic Onchange submit the form in javascript

    Onchange submit the form in javascript

    hai,


    I have a form in which there is a dropdown list.
    When i change the value of dropdown,the form should be submitted and the selected value should be also be passed on form submission.
    Depending on the selected value another set of values is displayed.


    i donnot know how to do this.


    suggestions required.
    See more | Go to post

  • hi,

    In the first drop down i called the pass the second div as param.It works and populates the second dropdown.
    Like that in the second dropdown,I passed the div id of the content to display and id of the second dropdown.
    But the ajax function itself is not called.
    ?I donot know what to do.
    See more | Go to post

    Leave a comment:


  • how to get Dynamic values in 2 dropdown in ajax

    hi,


    In my Project,i have an 2 dropdowm.Based on the value of the first,second dropdown is populated.

    Based on the output of the 2 dropdown ,I have to display details below the dropdown.

    I have populated dynamic value in 2 dropdown.
    I donotknow how to get the details based on the 2 dropdown.

    give suggestions.
    See more | Go to post

  • techbytes
    started a topic dynamic value of dropdown in ajax

    dynamic value of dropdown in ajax

    hai,


    I have a dropdown which has dynamic values.When I select a particular value in the dropdown,i want to diaplay
    corresponding details .

    I donot know how to get the dynamic value from the dropdown using ajax and how to display the details.

    give suggestions to do it.
    See more | Go to post

  • techbytes
    started a topic Error in Displaying Image
    in Java

    Error in Displaying Image

    Iam trying to display a image(Blob) from oracle database to jsp page.

    Iam getting error in displaying the image.
    the error file is attached.
    It shows getOutputStream () has already been called for this response.

    I donot what to do....
    See more | Go to post

  • techbytes
    replied to Ajax Refresh
    I donot want delete the message or display the message.

    Iam getting the message "Successful ly Inserted".

    But after few seconds the div should be refreshed.
    I know how to refresh the div.

    I donot konw how to refresh the div after particular time interval.

    This should happen whenever the message is displayed and after few seconds the div should be refreshed....
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...