User Profile

Collapse

Profile Sidebar

Collapse
shanmukhi
shanmukhi
Joined: Jan 10 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • shanmukhi
    started a topic calling jrxml from jsp...plz urgent
    in Java

    calling jrxml from jsp...plz urgent

    hi All,

    i got a problem while running jrxml file from jsp page.
    i have written code to compile jrxml file, run the file and export to pdf.
    the code is running fine, pdf file is also generating...bu t pdf is not displaying while sending the request, it is not taking the path of pdf file...
    i have given exact path.....but it is not taking....
    i tried in somany ways but no use.......
    please help me..i...
    See more | Go to post

  • shanmukhi
    started a topic run jrxml file with jsp
    in Java

    run jrxml file with jsp

    Hi All,

    i have written a code to run jrxml file from jsp page...
    but im not able to run the report
    please check my code
    Code:
    
    <%@ page language="java" import="java.util.*,java.sql.Connection,java.sql.ResultSet,java.sql.Statement" %>
    <%@ page import="java.sql.*,net.sf.jasperreports.view.JasperViewer,net.sf.jasperreports.engine.xml.JRXmlLoader,
     net.sf.jasperreports.engine.JasperCompileManager,net.sf.jasperreports.engine.JasperFillManager,
    ...
    See more | Go to post

  • shanmukhi
    started a topic ireports in jsp
    in Java

    ireports in jsp

    Hi All,
    can anybody tell me how to run ireports(jrxml file) from jsp page.
    i tried a lot...but no way..
    but it is urgent for me please help me
    i tried like this...
    Code:
    <%@ page language="java" import="java.util.*,java.sql.Connection,java.sql.ResultSet,java.sql.Statement" %>
    <%@ page import="java.sql.*,net.sf.jasperreports.view.JasperViewer,net.sf.jasperreports.engine.xml.JRXmlLoader,
    ...
    See more | Go to post

  • shanmukhi
    started a topic running crystal report from jsp
    in Java

    running crystal report from jsp

    Hi All,
    i am very new to crystal reports..
    how can i run crystal report(rpt file) from a jsp page..
    i tried somthing by getting code from google
    my applicaction structure is like this

    AppReports

    Reports
    *.rpt
    Pages
    *.jsp
    src
    *.java
    WEB-INF
    classes
    ...
    See more | Go to post

  • shanmukhi
    replied to Radio button selection in jsp
    in Java
    it's working fine now..
    thank u...
    See more | Go to post

    Leave a comment:


  • shanmukhi
    started a topic Radio button selection in jsp
    in Java

    Radio button selection in jsp

    Hi All,

    how to control the selection of radio buttons in jsp.
    i think i have to write java script for that..
    my code is like this
    Code:
    <form name="form1">
    <input type="radio" name="male">Male
    <input type="radio" name="female">Female
    <input type="submit" value="submit">
    </form>
    ...
    See more | Go to post

  • shanmukhi
    replied to action class is not executing in struts
    in Java
    Thank u for your reply

    but that is not the problem with my code..
    i solved it.
    the problem is with parameters of execute method in action class
    i changed the sequence of parameters in the execute method..

    The sequence should be
    Code:
    execute(
    	ActionMapping mapping,	ActionForm form, HttpServletRequest request, 
    		HttpServletResponse response)
    ...
    See more | Go to post

    Leave a comment:


  • shanmukhi
    started a topic action class is not executing in struts
    in Java

    action class is not executing in struts

    hi all,
    i got a problem with struts.
    iam unable to find it.
    i have written an action class, form bean class and a jsp page
    on submitting form, request is going to action class but it is not executing action class iam unable to solve it...
    here is my code
    FormLogin.java
    [CODE]
    public class FormLogin extends ActionForm{
    private String username=null;;
    private String password=null;;...
    See more | Go to post

  • create form in jsp page like this
    Code:
    <form>
    ordernumber<input type="text" >
    <input type="submit" value="submit">
    </form>
    ...
    See more | Go to post

    Leave a comment:


  • shanmukhi
    started a topic jsp
    in Java

    jsp

    hi all,

    i got a doubt in jsp.

    how can i send a string value from a jsp page to back end java class.
    with out using servlets.
    See more | Go to post

  • shanmukhi
    started a topic jsp and jdbc
    in Java

    jsp and jdbc

    Hi All,
    I written a code for one scenario,
    let me explain that...

    i created a jsp page with two combo boxes.
    in first combo box i took values from data base using jdbc imagine
    those values are
    India
    America

    if i select India in first combo box it should show the states of india in second combo box...
    if i select America it should show states of America.
    ...
    See more | Go to post

  • shanmukhi
    replied to Onclick get text
    Thank you very much...
    i got the result..iam able get the selected link value now...
    thanks a lot....
    See more | Go to post

    Leave a comment:


  • shanmukhi
    replied to Onclick get text
    sorry iam not getting result again it is showing in alert box as undefined.
    selected value is not comming...
    and then if click on ok for alert box it is going to previous directory list also
    please help me...
    See more | Go to post

    Leave a comment:


  • shanmukhi
    replied to Onclick get text
    where can i use this.
    can u provide the complete code please.
    i wretten a code for link like this
    Code:
    <a id=<%=customer%> href="#" onClick=subwindow(this.id)> <%=customer%> </a>
    i written script function like this
    Code:
    function subwindow(v) {
     var sel = document.getElementById(v);
    var d=sel.text;
    please help me...
    See more | Go to post

    Leave a comment:


  • shanmukhi
    started a topic Onclick get text

    Onclick get text

    Hi All

    i posted this query already... but i didnt get any solution for my problem..
    please anybody can provide solution for this

    i written a code in my jsp page like this
    Code:
    <a id=<%=customer%> href='javascript:subwindow(this.id)'> <%=customer%>  </a>
    my java script function in head section is
    Code:
     function subwindow(id) {
     var sel = document.getElementById(id);
    ...
    See more | Go to post

  • shanmukhi
    replied to Get selected value into variable
    Code:
    out.println("<a href="#" onclick='subwindow()'>" +customer+ "</a>");
    i was unable to get the value of clicked link that mean i want to get the value of customer (which i selected as link in browser) into java script variable of subwindow() function..

    can you tell me how can i get it...
    See more | Go to post

    Leave a comment:


  • shanmukhi
    started a topic Get selected value into variable

    Get selected value into variable

    hi all
    i got a problem with java script

    i written a href tag in jsp page
    i was not able to get selected value into a variable in java script function.
    see my code here. here iam taking customer value from database.
    Code:
     <BODY>
    <table>
    <td>
    out.println("<a href='#'  onclick='subwindow()'>" +customer+ "</a>");
    .
    .
    ...
    See more | Go to post

  • thank u very much for your reply...
    but this code was not worked for me...

    some how i got it...

    but i got another problem

    how can get a selected hyper link value into java script function
    for eg:
    in my jsp page
    [CODE]
    out.println("<a href='javascrip t:subwindow()'> "+customer+ "</a>");
    [CODE]
    what i can write in subwindow()...
    See more | Go to post

    Leave a comment:


  • thank u very much for your reply...
    but this code was not worked for me...

    some how i got it...

    but i got another problem

    how can get a selected hyper link value into java script function
    for eg:
    in my jsp page
    [CODE]
    out.println("<a href='javascrip t:subwindow()'> "+customer+ "</a>");
    [CODE]
    what i can write in subwindow()...
    See more | Go to post

    Leave a comment:


  • please provide a good solution for my problem.
    thank u
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...