3,760 Topics
| |
[B]hi! i have installed tomcat newly on windows 7.i have got the following error in browser. Please help me out. thanks in advance. [/B] 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: java.lang.IllegalStateException: … | |
hey, i have an applet project in the project i am trying to create an applet, applet draws a line line is drawn from coordinates which are stored in mysql database. in my other project which is web project which is created using tomcat servlets i added my applet project … | |
hi, i need calc the time that left for a job terminate. for example i know the total of the value and the value that is done per second and minute. with this values i can calculate the remaing time, anyone know the formula that i need to calc the … | |
hi, im quite new to this jsp. i want to know how to pass parameters from a java file to a jsp file? we can do this through java servlets, yet i have a doubt regarding passing the parameters. could you help me? | |
how to catch mysql MysqlDataTruncation exception? | |
Hi all, I have added the below 2 lines in my JSP file: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> I got the below Error while opening the Jsp in the browser: org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: The absolute uri: [url]http://java.sun.com/jsf/html[/url] cannot be resolved in either web.xml or the jar … | |
Hi everyone, I have a question. I m using iterator to loop my jsp such as code below in my jsp [CODE]<%Iterator itr;%> <% List data=(List)request.getAttribute("data");%>[/CODE] I use servlet as my engine to proceed my sql statement. below is my sql statement [CODE]select * from a natural left join b … | |
Hello every one, I have small problem. Can any one tell me how to get the url from an anchor tag dynamically. That is when i click on link the next coming url i need to send to a script can any one help me... My problem is when i … | |
Hi, I am using netbeans 7.0 beta IDE and I have iinstalled jdk 1.6 and tomcat 7. I tried to run simple jsp program through IDE, but I got *"Must select some files in the IDE or set javac.includes"* this error message. I set java_home classpath, I have tried without … | |
How to upload file with oracle database 10gR2?? i can't find how to upload.. i've tried to create a procedure in oracle and execute in netbeans but the file save in directory and then from directory save to database. it means the file save in 2 location, in directory and … | |
I have to populate simple combobox,so on Submit button <option values > for combobox should be carried through request global,and action should stay on same page. But when I debug jsp I see that request stays empty??? Also combobox behave funny,it changes value when pressed any button on page??? form … | |
this is my problem my jsp page is [code]<%@ page import="java.sql.*"%> <%@ page import="java.util.*"%> <% Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:truth","sa",""); Statement st=con.createStatement(); String cate=request.getParameter("T3"); String user=request.getParameter("user"); String pass=request.getParameter("passwd"); String reenter=request.getParameter("rpasswd"); String mail=request.getParameter("mail"); String credit=request.getParameter("credit"); String address=request.getParameter("add"); String city=request.getParameter("city"); String state=request.getParameter("state"); String country=request.getParameter("country"); String mobile=request.getParameter("mobile"); out.println(user+pass+mail+mobile+address+city+state+country); st.executeUpdate("insert into usertable values('"+user+"','"+pass+"','"+mail+"','"+mobile+"','"+address+"','"+city+"','"+state+"','"+country+"')"); response.sendRedirect("Index.jsp"); %>[/code] this … | |
is it possible to use a jsp page with a java bean to get values dynamically. ie: the name is incremented each time but i need the gets and sets for each property to get their values and set them on the bean, can i do this dynamically? Thanks [CODE]<td><p … | |
is there any way to find browser location based on city ,state or country....to switch home page accordingly | |
Hi, I am updating a Web Service server from JBoss 4.2.2 to JBoss 5.1, however when I began to use JBoss 5.1 I've got an error saying that one of my properties files could not be loaded. I have put this file in the following path: C:\Servers\jboss-5.1.0.GA\server\default\conf And I am … | |
Hi All, I don't know if I'm asking it right. I have a jsp for monthly report that calling java class and passing date parameter (year and month) into that java class. The java class has a statement that call procedure in database. It's so time consuming to show the … | |
How to upload file to server ..when form has text field and file field.......... wht is role of form's enctype property..... i Know wht to upload file when enctype is multipart but when using thin i can not fied the value of requert.getParatner("text "); Need code | |
I am getting the following error.................. [QUOTE]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: An error occurred at line: 9 in the generated java file Only a … | |
Hi, I have to insert data into a database table using jsp and jdbc, query the table data and convert it into an xml file. I am using NetBeans IDE. I'm really stuck and i have a project due. Please do help:'(. Thanks in advance. | |
| How can I retrieve an entire database in JSP and compare the first record with the first parameter obtained from a HTML form, the second record with the second parameter obtained from the HTML form and so on..?? Here is my code: MS-ACCESS database:- database name: question table name : … |
i made a jsp page, now i made a LAN named "ar", and connected another computer with "ar" network. Now i want that the client computer i.e. computer 2 should access my jsp page which is arsh.html , how to do this????? My approach: i set my IP as 192.16.1.44 … | |
I have retived dats from database..by using JSP to design tables..i wanted to downloaded it..how plz help me..Plz reply.. | |
I need a bit a help to randomly select a radio button on an page to answer questions. I am doing some Selenium / Java / webdriver development and sort of new to this. Below is a some code to find the number of radio buttons. any help that someone … | |
I am trying to write a simple servlet program. But getting the error The requested resource (/servletexam/LoginServlet) is not available. I have created two servlet classes as follows - [B]LoginServlet[/B] [CODE] public class LoginServlet extends HttpServlet { Hashtable<String,String> users = new Hashtable<String,String>(); public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, … | |
Hello, I'm developing a jsp web site, I'm creating a form to register school projects, the thing is that the projects can have many students in them and I want to keep the information of all of them, so basically I want the user to tell me how many students … | |
[CODE] Class.forName("oracle.jdbc.driver.OracleDriver"); Connection connect =DriverManager.getConnection("jdbc:oracle:thin:@172.17.0.14:1521:develop","username","password"); String qry=("update sample set one=2 where two=3"); PreparedStatement ps = null; ps=connect.prepareStatement(qry); int i=ps.executeUpdate(); if(i==1) out.println("success"); else out.println("failed"); [/CODE] The above code is not working The table is create table (one number,two number); i tried some other queries like select and delete and insert is … | |
Hello , I am new to jsp as well to wml too .. Problem is with Session variable . the page on which session variable are made , they are extracting on that page easily .... but on other pages ...they contain null values ...i am not able to get … | |
Hi all, I have a problem with jsp. I created jsp and there is a table within this page. The columns are based on query from database. When the datas are not too many, the table looks fine. But when it has so many datas the table got messy. But … | |
I know to implement progress bars in Java, is it possible in JSP? | |
Hello, to the forum. I have stuck on a point for my coursework. I have a xml file that containts 4 category tags (but with different attribute name), inside i have 4 item and inside any item i have <name><price>...etc. There is a way to take those tags (<name><price ..etc.>) … |
The End.