3,760 Topics
| |
Hi, I'm using Netbeans 6.9, Glassfish v2, and Hibernate 3.2.5 (I think). I Basically have a very simple web-app that reads from a database. I can run the web-app in Netbeans locally under glassfish v2 without any problems. Now I'm trying to get the web-app to work on actual web-server … | |
hello everyone i want to know how i can store the image in my database(PostGreSql pgadmin iii) using jsp and glassfish as a server. i have the following code but it go to exception at pst.setBytes(2,b)....... thnx [code] con = getConnection(); String exsistingFileName= "C:\\temp\\myimage.gif"; File file = new File(exsistingFileName); FileInputStream … | |
Hi all, I am having trouble with a prepared statement in my Java Servlet's data manager where it inserts a member into the database. I believe the syntax is correct, but I always seem to get the error: [CODE]SQLException: You have an error in your SQL syntax; check the manual … | |
hello guys here is the situation am new to struts and jsp see i have a screen in which i have to enable the delete button which i did later in the corresponding code it was present in the business delegate now when i press the bbutton am getting this … | |
Hi all, First, apology if we created duplicate thread. we try to find relevant topic but no luck to find match and sorry we newbie with ireport but have basic with java. Here is my case. We manage to read ireport generated from jsp file with below code. The report … | |
Hi, I have to retrieve data from database and create a XML file, then i have to parse this file and display output in browser. Creating XML file works fine. But parsing is not working. No errors. But output is not displayed in browser. Have submission tomo. Please Please help. … | |
Hi, I have to retrieve data from database and create a XML file, then i have to parse this file and display output in browser. Creating XML file works fine. But parsing is not working. No errors. But output is not displayed in browser. Have submission tomo. Please Please help. … | |
hello guys am new to jsp and struts i have an issue in jsp struts consider there are two jsps 1 is genmenudetails where it contains the buttons (getdetails,add,delete) 2 is another jsp which consists of genmenudetails jsp initially delete button was not enabled then i went to businessdelegate of … | |
I have made two programs in servlet....one for setting attribute and another for getting that attribute.... Here are those programs... /* For Setting Attribute */ [code=Java]import javax.servlet.*; import java.io.*; public class SettingCntx extends GenericServlet { ServletContext ctx; public void init(ServletConfig cfig) { /*Obtain the ServletContext object*/ ctx = cfig.getServletContext(); } … | |
//servlet [CODE] if(rs.next()) { String s1 = rs.getString("pname"); String s2 = rs.getString("remarks"); String s3= rs.getString("cnt"); String s4 = rs.getString("bsponsor"); String s5 = rs.getString("bprowner"); String s6 = rs.getString("priority"); list.add(s1); list.add(s2); list.add(s3); list.add(s4); list.add(s5); list.add(s6); } session.setAttribute("list",list); RequestDispatcher rd=getServletContext().getRequestDispatcher("/project.jsp"); rd.forward(request,response); [/CODE] //jsp page [CODE] <% ArrayList arr = (ArrayList) session.getAttribute("list"); String myString=""; … | |
Hello EveryBody, I am having problem in uploading servlets in my server. The servlet works fine in my locanhost. But when i upload it it does not work. Can anyone help? | |
Hi friends, I am trying to develop a web application in which I have provided a facility for login and logout. I can allow user to log in succesfully, but when user clicks on the logout link and comes to login page and after that if he presses the browser's … | |
Ok I'm stuck on my school work. No I don't want someone to do the work for me but I need a good tutorial or pointers on how to get this assignment done. Write an Java Server Faces application using a MySQL database driver that connects to the registrar database … | |
Hey there, I'm in somewhat of a predicament. Can you send HTML form data to a servlet on another computer over the net or something? If so, what would one put in the <form action="_"> attribute? Thanks! | |
Hi. I am using TinyMCE editor in my web but when I submit the form the text is save in the database without format. Could you tell me please How I can submit formatted text with JSP?? NOTE: *i am using netbeans 6.9 *the form is "multipart/form-data" *the tinymce version … | |
can u please tell me how to make a graph or say what is a logic behind designing graph in jsp | |
Here's the thing, I need to create three dropdown lists each for day, month, year. Once these are selected, after clicking a button, the three selected values need to be concatenated and bound to a date column in a database table. String month=request.getParameter("month"); String date=request.getParameter("date"); String year=request.getParameter("year"); how to concat … | |
What I would like to do is print the current jsp filename without the ".jsp" extension. I can print the absolute url, or the relative url, but I can't figure out how to print just the filename without the file extension. | |
Hi, I have a list of record which I got from database. I've placed the checkbox on the right, how do I get the value from it? [CODE] <form action="editOrder.jsp"> <tr> <td><%= ord.getOrderID() %> </td> <td><%= ord.getRemarks() %> </td> <td><%= ord.getOrderDate() %></td> <td><%= ord.getMailingAdd() %> </td> <%--<td><%= ord.getStatus() %> </td>--%> … | |
Hello Everyone !!!! [COLOR="Red"][B]Is It Possible To Create JSP at A runtime ?[/B][/COLOR] It Means Can we Get The Data From One JSP And then Show it on another JSP which is Generated [B]By Coding [/B]Through Runtime ? Please Help......:S | |
Hello, i am develop website in jsp as per our final year project rule of college.my project is public transportation.i am creating site for it. now my problem is to create database for bus train and flight ticket reservation.. how can i create database for it and also journey table … | |
I have a form in my application in which I want to validate the user inputs. It has a combo box which is populated from db table. So I have to go to the action class first to populate it(for eg: populateFormAction). Then it will go to form.jsp page. But … | |
Hello, I'm kind of new with JSP and I'm developing an school project. So far I have my web application configured to work with a database. Now I have a form that receives a user and a password, then when the user clicks enter, it calls a servlet which checks … | |
i am implementing a client server arch on LAN, what's more suitable for me to use, jsp or servlets????? let there be max 4 clients for a server...... i m done wid the designing part using AJAX and embedding those in jsp pages. made the database using sql server 2008. … | |
Hi, I have a web application that allows users to schedule a group of Emails to be sent out. I am using Quartz to do this. I've set up the quartz.properties file, coded all the back end java business logic, but I believe to get this to work on a … | |
hey, i have jsp file that contains drop-down list once the value is selected from drop down list one of the javascript methods gets invoked that alerts me with what has been selected. what i need is once the value has been selected it would be sent to a my … | |
Hi all, I'm facing problem while with invalidating session. Actually I want to redirect a user to the login page if the session is invalid either he presses back button or enters a url. Plz help me. Thanks. | |
hi, i am a newcomer in jsp. straight to the matter, my problem is, i have a parent page. one child pop-up is loaded from it say child1, and then next child child2 is loaded from child1. the problem is at the session out i need to close these two … | |
i am designing a small client server system for a hospital, in this system a receptionist will forward the details of patients as they come to the particular doctor, like i go with a problem related to skin disease, my case would be transferred to that particular doc, I am … |
The End.