No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
what is wrong in following code [code] <form name="log" method="post" action="login.htm"> <% try { //Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); //String url="jdbc:odbc:ODVS"; Connection conn=null;//DriverManager.getConnection(url,"downtime","downtime"); Class.forName("oracle.jdbc.driver.OracleDriver"); conn=DriverManager.getConnection("jdbc:oracle:thin:@10.10.10.2:1521:PLMDM","vvv","vvv"); String uid=request.getParameter("username"); String pwd=request.getParameter("password"); String sqlQry=("select * from USR_PASS_TB where username='"+uid+"' and password='"+pwd+"'"); Statement stmt=conn.createStatement(); ResultSet rs=stmt.executeQuery(sqlQry); if(rs.next()==true) { //response.sendRedirect("../HTML/index_group.htm"); %> <jsp:forward page="login_cae.htm" /> <% } else { //response.sendRedirect("..HTML/invalid_login.htm"); … |
|
Re:
Hi can any help me how to call a Crystal report 10 in JSP? Please provide me sample codings if you have. [B]Thanks[/B] in advance |
|
I am using one jsp page. In that page there is a field to select a date this value will go to the report and report contain one selection formula. Which value we are passing on that basis the report should display with date which we are passing from GUI. |