3,760 Topics

Member Avatar for
Member Avatar for cms271828

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 …

Member Avatar for cms271828
0
148
Member Avatar for 080346

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 …

Member Avatar for kvprajapati
0
103
Member Avatar for rushhour2

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 …

Member Avatar for masijade
0
157
Member Avatar for vikram97

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 …

0
51
Member Avatar for red_ruewei

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 …

0
128
Member Avatar for shruwin

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. …

Member Avatar for peter_budo
0
709
Member Avatar for shruwin

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. …

0
68
Member Avatar for pramod lekkala

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 …

Member Avatar for peter_budo
0
79
Member Avatar for sneha mehta

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(); } …

Member Avatar for sneha mehta
0
97
Member Avatar for shwetabhardwaj

//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=""; …

Member Avatar for majestic0110
0
3K
Member Avatar for kailash999

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?

Member Avatar for peter_budo
0
68
Member Avatar for vishalbhavsar

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 …

Member Avatar for javaAddict
0
67
Member Avatar for kayba

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 …

Member Avatar for dononelson
0
86
Member Avatar for Dean_Grobler

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!

Member Avatar for masijade
0
65
Member Avatar for jhonilson

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 …

Member Avatar for jhonilson
0
72
Member Avatar for bhallarahul

can u please tell me how to make a graph or say what is a logic behind designing graph in jsp

Member Avatar for peter_budo
0
89
Member Avatar for nHulk

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 …

Member Avatar for nHulk
0
231
Member Avatar for computerwizard

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.

Member Avatar for javaAddict
0
169
Member Avatar for germaine.tay

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>--%> …

0
42
Member Avatar for bhattpratik

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

Member Avatar for masijade
0
105
Member Avatar for rajvaishnav1989

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 …

Member Avatar for brynFlew
0
255
Member Avatar for joseph.roy9

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 …

0
56
Member Avatar for MrCapuchino

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 …

Member Avatar for masijade
0
132
Member Avatar for arshi9464

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. …

Member Avatar for arshi9464
0
72
Member Avatar for JaseAU

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 …

Member Avatar for SoftwareHead
0
511
Member Avatar for raephel
Member Avatar for gedas

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 …

0
51
Member Avatar for raephel

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.

Member Avatar for raephel
0
400
Member Avatar for arjuncc

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 …

Member Avatar for youwill
0
128
Member Avatar for arshi9464

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 …

Member Avatar for arshi9464
0
161

The End.