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...
User Profile
Collapse
-
calling jrxml from jsp...plz urgent
-
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,
-
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,
-
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
... -
it's working fine now..
thank u... -
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>
-
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)
Leave a comment:
-
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;;... -
create form in jsp page like this
...Code:<form> ordernumber<input type="text" > <input type="submit" value="submit"> </form>
Leave a comment:
-
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. -
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.
... -
Thank you very much...
i got the result..iam able get the selected link value now...
thanks a lot....Leave a comment:
-
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...Leave a comment:
-
where can i use this.
can u provide the complete code please.
i wretten a code for link like this
i written script function like thisCode:<a id=<%=customer%> href="#" onClick=subwindow(this.id)> <%=customer%> </a>
please help me...Code:function subwindow(v) { var sel = document.getElementById(v); var d=sel.text;Leave a comment:
-
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
my java script function in head section isCode:<a id=<%=customer%> href='javascript:subwindow(this.id)'> <%=customer%> </a>
...Code:function subwindow(id) { var sel = document.getElementById(id); -
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..Code:out.println("<a href="#" onclick='subwindow()'>" +customer+ "</a>");
can you tell me how can i get it...Leave a comment:
-
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>"); . . -
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()...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()...Leave a comment:
-
No activity results to display
Show More
Leave a comment: