3,760 Topics
| |
hi everyone, Am doing project for profit and loss account,I need to display daily expediences in graph format for that am using jquery bar graph its working separately when i integrate its not working properly. i used the following code for forward .. [CODE] request.setAttribute("listvalue", list); RequestDispatcher dispatcher = request.getRequestDispatcher("/ViewProfitLoss.jsp"); … | |
Hi,I Am writing JavaScript to display JSP pages in JavaScript tabs,all JSP pages displays dynamic data,all JSP pages are working fine if i run individually,when i try to make it as tabs jsp pages are not working.can any one help me to solve this problem. my JS code: [code] var … | |
Hi, I'm new to jsp, and right now I'm doing a school project. I want to change the part of my page that has the login fields to say the username of the person who logs in (as opposed to just leaving them there and having the person wonder whether … | |
I have had a working jsp web applicationg for the last 2 months. All of a sudden, the application was not allowing users to log into it. After monitoring the logs upon a manual restart of glassfish, I saw the log output below: [CODE][#|2011-06-25T15:58:55.376+0300|WARNING|glassfish3.0.1||_ThreadID=26;_ThreadName=Thread-1;|Error sending syslog packet java.net.SocketException: Too many … | |
hi all, I am accessing the database by MVC model now i need to create list box , list options already in database .What should I do should i connect database with jsp directly or any option available. Thanks | |
Hello, I'm not able to access jar files from servlet. Although I have imported all the class file and made the jar file available in build path. [CODE] protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintWriter out = response.getWriter(); cmd = request.getParameter("cmd"); System.out.println(cmd); String output = runCommand(cmd); … | |
Hello Guys! Posting this thread based on the topic of NumberFormatException null... This is how it goes. Im calling records from the db into a JSP. [CODE]String FirstName = Results.getString("FirstName"); String MiddleName = Results.getString("MiddleName"); String LastName = Results.getString("LastName"); int BorrowerID = Integer.parseInt(Results.getString("BorrowerID"));[/CODE] When i try to call it in the … | |
hi, I need to draw bar graph in jsp. give me some suggestion for this. which one will be best whether drawing in java script in or Jfree chart . Thanks in advance | |
Hi all , I need to transfer data from jsp to servlet.. am accessing db from servlet .. I need to tranfer those db content to my jsp page how can I achieve that . thanks in advance | |
Hello Friends! Want to Post something i know might be very weird but this is how it goes. In Java we use [CODE]RS.getString("FirstName");[/CODE] to get the value of the column FirstName from the database. If the valueis not detected then it shows null in the Text Box. [CODE]RS.getInt("StudentID");[/CODE] to get … | |
Hey Guys, I'm just trying to set up my Virtual Host file to set up an alias URL. I've configured my Windows\System32\drivers\etc host file to include the following: [CODE]127.0.0.1 internal.test[/CODE] this works well, however I want to be able to do the following: Have this: [B][U]internal.test:8080/Test/[/U][/B] Look like this: [B][U]internal.test/[/U][/B] … | |
After installing tomcat 6.0 server into my machine iam not able to find "start up and shut down" files under bin directory pls tell how to solve this issue | |
[CODE] <%-- Document : Login1 Created on : Jul 1, 2011, 1:16:12 AM Author : Dharmendra --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@page import="java.sql.*" %> <%@page import="com.p1.*" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body><center> <form action=""> <br>UserID : <input type="text" … | |
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.IndexOutOfBoundsException: Index: 0, Size: 0 org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:500) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:428) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 java.util.ArrayList.RangeCheck(Unknown Source) java.util.ArrayList.get(Unknown Source) com.mhub.ocs.dataaccess.MhubuserDAO.findByProperty(MhubuserDAO.java:106) com.mhub.ocs.dataaccess.MhubuserDAO.findByUsername(MhubuserDAO.java:125) com.mhub.ocs.aas.DelegateLoginAuthenticator.authenticate(DelegateLoginAuthenticator.java:25) … | |
Hello, I want to know how to implement an authentication system. I know how to use HttpSession, but how will I ensure that an user cannot create false cookies to access protected area? Is it safe to keep the password as a session attribute? | |
I am starting a new project and the certain requirements will be: JSF, JPA, JMS, WebServices Rest and EJB3.1. There will be at least 4 servers. Probably this will be the division: first server for backing beans and JSF. Other two servers for EJB cluster and the last server for … | |
Hi, I am using eclipse: 3.4.1 and tomcat 5.5.25. I run the application on tomcat server created inside eclipse. Until 3 days back I could sunccessfully use tomcat server inside eclipse but now I get following message 'Starting Tomcat v5.5 server at localhost' has encountered a problem Server Tomcat v5.5 … | |
Sir, I am not getting any fault in my code but the code is not executing with the demands which I have. I just want to insert values into the database using jsp ,execcuteUpdate() is not working. please help me out. [B]HTML CODE[/B] [CODE] <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; … | |
I am a final year student ,I have taken up this social network as my final year project. I want to make a video conferencing social network,Much like Omegle, searched the whole internet but didin't found it Is there a way of doing it using java applets,Or through any other … | |
Hi, I have a JSF application. There is page parent.jsp which opens a popup using javascript (window.open() function) I want the data on the parent.jsp page to be available on the popup window as well. Any idea how this can be done. The application also uses JSF Portlets. | |
Hi I want to pass the data from one JSF page to another without using query string. Any idea how this can be done?? | |
Hello, I am new to web development. I have a page file1.jsp with a form, the submitted data is handled in file2.jsp, and I want to show the answer in the same page, file1.jsp. After the data be handled in file2.jsp, I want to reload file1.jsp and show the answer. … | |
hi every1 i m new to website development. just learning it. i have made a code in which i access my database(MS Access). 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 … | |
Hi all, I need to hide or change my jsp URL. i tried with following code with xml but still its not working.Any pls help me for this.. [code] <servlet> <servlet-name>User</servlet-name> <jsp-file>User.jsp</jsp-file> </servlet> <servlet-mapping> <servlet-name>User</servlet-name> <url-pattern>/UserPage</url-pattern> </servlet-mapping> [/code] | |
I can't seem to get my innerHTML to display my content. This works fine, if I was to put it all in one line. [CODE]document.getElementById('addedText').innerHTML = '<table><tr><td>'+"My text goes here"+'</tr></td></table>';[/CODE] If I was to break it up, which I wanted then nothing seem to show up. [CODE] document.getElementById('addedText').innerHTML = '<table><tr><td>'; … | |
I have created the following code to display some records from a database : [code] <table id="productTable"> <c:forEach var="product" items="${categoryProducts}" varStatus="iter"> <tr class="${((iter.index % 2) == 0) ? 'lightBlue' : 'white'}"> <td> <img src="${initParam.productImagePath}${product.name}.png" alt="${product.name}"> </td> <td> ${product.name} <br> <span class="smallText">${product.description}</span> </td> <td>€ ${product.price}</td> <td> <form action="addToCart" method="post"> <input type="hidden" … | |
Hello Everyone! A new thread i have started and this is how the problem goes... I want to display record of a user something like profile details based on the user who has logged in to member's page! So when the user has logged in and clicks on the view … | |
i have the folowing code in my jsp page: [CODE]String[] name = null; String[] manufacturer = null; String[] description = null; String[] category = null; String[] price = null; String result = null; String connectionURL = "jdbc:mysql://localhost:3306/syte"; Connection connection = null; Class.forName("com.mysql.jdbc.Driver").newInstance(); connection = DriverManager.getConnection(connectionURL,"root",""); Statement statement = null; statement … | |
hi all, I am having 1 combo box and 3 text boxes in my jsp page. combo box is empid and and the other are name,desig and dept. when i select the empid, need to come all other values into text box fields from database. any ideas please share with … | |
My case: I have several webapps running on my tomcat server like this: demo.myserver.com/application1 demo.myserver.com/application2 demo.myserver.com/application3 This is what I want: Application1.mydomain.com to point to demo.myserver.com/application1 Application2.mydomain.com to point to demo.myserver.com/application2 Application3.mydomain.com to point to demo.myserver.com/application3 This is what I have done: 1. I have set my DNS server to … |
The End.