3,760 Topics
| |
hi every1 i m able to print the first record of the database on the page. but i m not able to go to next record which i want to show on click of a button. i dont want to use while(rs.next) as i dont want to show all the … | |
Hi all, I saved my connector/j jar file into this location C:\ ... \Java\jre6\lib\ext as well as in $CATALINA_HOME/common/lib and i am using this code in the JSP : Class.forName("com.mysql.jdbc.Driver").newInstance(); I am getting below driver error message. Somebody please help me out. javax.servlet.ServletException: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver My jar file name is … | |
Hi all, I saved my connector/j rar file into this location C:\ ... \Java\jre6\lib\ext and i am using this code in the JSP : Class.forName("com.mysql.jdbc.Driver").newInstance(); I am getting below driver error message. Somebody please help me out. javax.servlet.ServletException: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver | |
this error was displayed after i package and deployed my jsp file. i dont know any help? [CODE] HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP … | |
Hi guys, I have this assignment to do: Synchronize access to the instance variable, accBalance. Because accBalance is a double and not an object, it cannot be used as the monitor. Use synchronized methods or synchronized blocks of code, as appropriate. Simultaniously test two threads. Because the threads can complete … | |
hi all ! In my web application for bus ticket booking i want to use session. Here i m describing the flow of my application briefly------------ (1) My first jsp page is index.jsp and after submiting this page it will go to servlet SenndBusInfo.java for processing. Here i am creating … | |
hi! How to get session object so that it can be used as Double. | |
Hi, I m working in jsp project in which I have problem is, Whenever click on different images then some values entered in input text and here I want to when I clicked again any some image that particular value removed from input text. Thank's in advance | |
hi.. Is it ok to add more than 10 attributed on session object or it will slow down my application? | |
hello team, i have a problem with accessing previous url in jsp. let suppose i am at page1,and a link in pagr1 will redirect to page2, i have to access the previous url which is in that case page1. any help thanks in advance. | |
HI, I am currently working on a project to develop a webpage using jsp. I need to include some css properties in the jsp file. But it doesnt work even though I am not getting any errors. My jsp code is [CODE] <% String captcha = (String) session.getAttribute("captcha"); String code … | |
[CODE] FileInputStream fs = new FileInputStream("/opt/Abhishek/software/tomcat/webapps/AMS/listpass"); DataInputStream in1 = new DataInputStream(fs); while (in1.available() !=0) { String str1=in1.readLine(); StringTokenizer st1 = new StringTokenizer(str1); String node=st1.nextToken(); if (node.equals(sports[i])) { String pass=st1.nextToken(); out.println ("<b>"+sports[i]+" <b>"); out.println("**Your Required Password**"); out.println(pass); out.println("<br></br>"); [/CODE] Hi , I have a text file (named listpass in the above … | |
Hi, I just installed Tomcat 5.5 and could see the default index page (with images missing) Upon running the sample JSPs, I get the following- HTTP Status 404 - Servlet default is not available In the logs, I can see a Root Cause saying something like- "java.lang.NoClassDefFoundError: org/apache/naming/resources/Resource" Basically, I … | |
my friend:my name is gopal krishan..me and my friend doing project on j2ee.here we are using netbeans as a frontend,mysql as a backend and tomcat server.tell me from scratch how to use netbeans and mysql. | |
Hi I am very new to jsp. i have an XML file stored in a txt file. I am reading that XML file using Java and placing XML content into text area in a jsp page. my requirement is, when i read the XML file into jsp page text area, … | |
Hello everybody, I worked long hours this evening trying to unthread the whole thing and still not working... I don't know why. The page display the results using normal code in JSP (no jstl tags). When using jstl tags the page results in blank screen, no posts. Here is the … | |
Hi, guys. badly need your help. still a newbie in programming. seems like i cannot display some data on the browser from the database. i was able to create a login page. but when i tried adding another servlet and tried calling its jsp, error message appears: HTTP STATUS 500 … | |
Hi there guys, I got this assignment where I need to set a session attribute. Although I'm having problems since I cant set attribute that is of type double? I got these hints but since I've worked with doubleValue() or downcasting, the hints didn't help me much.. Hints: -Recall that … | |
hello everybody, I'm new to jsp.I have to develope web portal for my company but i had problem with my login page. I hope that you can help this problem. Here is the code: <%@ page contentType="text/html" import="java.sql.*, java.util.Date, java.io.*" %> <%! String CheckLogin(String Login, String Password) throws Exception { … | |
[code=text]Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the … | |
Hi, I'm having a jsp where I'm comparing two customer beans and display diffs in red color and similarities in green. I'm trying to achieve it like this: ------------------------------------ [code]<% color = "green"; %> <tr> [COLOR="Red"]<logic:notEqual[/COLOR] name="customer1Customer" property="status" [COLOR="Red"]value="<bean:write name='customer2Customer' property='status' />"[/COLOR]> <% color = "red"; %> [COLOR="Red"]</logic:notEqual>[/COLOR] <td height="22" … | |
Please tell me, how to remove value from input box at the click event in jsp. suppose input box contain A,B,C values and whenever user click button then B should have to removed. Thank's in advance. | |
Suppose we have function foo() in Servlet A. From Servlet B how can we call this foo() function of servlet A? both servlet are from same application and in same context.... | |
HI I am trying to pass a value from dropdown list on onchange event fo the dropdown in a jsp page through AJAX to servlet. The servlet then returns the value back to the jsp page and displays it in dropdown list. the problem I am facing is that the … | |
Hi, I have a page where I include another page passed via url Url is something like [B][url]http://www.daniweb.com/newthread.jsp?page=24[/url][/B] and I get the variable as [CODE=JAVA]String thePage = request.getParameter("page") ;[/CODE] Now I want to include it in my page and the code below doesn't work. I have googled and I cannot … | |
Plz tell me, how to display number of value get form javascript function at every call on the jsp page. suppose in following code I m displaying IdNo var on jsp page in input text at call changeImage(IdNo) and here when next time call this fun then aganin overlaps value … | |
I have a jsp file a.jsp which has b.js now i want to pass a value from a.jsp which is come from a java function like <% patientmodel.getpatient()%> I need to pass the value of this function to a function in b.js any one suggest me plz | |
I'm struggling with a servlet that's suppose to represent an "online banking service". Once you run the servlet you'll see it's an extremely simple example... You enter an amount in the textfield provided, then click on the apropriate button depeding what action you want to perform e.g. "deposit","withdraw" and "balance". … |
The End.