3,760 Topics

Member Avatar for
Member Avatar for cacorat

I keep getting an error where the symbol cannot be resolved and the arrow pointing to where i have written statement.ExcecuteUpdate Am not able to insert any data into my database, can anyone see where i may have gone wrong. thanx heres the code: <%@ page import="java.sql.*" %> <%@ page …

Member Avatar for masijade
0
351
Member Avatar for shweta797

Dear sir In my project i have to show amount of all the months i.e if user enter first due date and expiry date then it calculate the amount of all the months which are between first due date and expiry date in reports. in Jsp how a month can …

Member Avatar for masijade
0
300
Member Avatar for kiran kumar
Member Avatar for luxmi_gee

hi how to develop customtag with methods like onload,onclik. can any one help. thanks

Member Avatar for jwenting
0
62
Member Avatar for nadius

Hello everyone, I realise this may seem like a log winded way of doing it but I need to insert data from a JSP into a database, here is the set up. I have an HTML form, that passes it's data to a JSP. The JSP acts as a bridge …

Member Avatar for ~s.o.s~
0
106
Member Avatar for C_E_H

hello I'm new at jsp , I want to use paging to display all of my data base table tecord but I didn't knew how... can any one help my?

Member Avatar for Thirusha
0
48
Member Avatar for ceyesuma

[icode]String str="<table border=\"0\" cellpadding=\"5\">";[/icode] I believe \ this is an escape caracter?Y,N, but what is * doing? Thanks -Steve

Member Avatar for masijade
0
46
Member Avatar for afflictedd2

Hi everyone, I'm having a hard time trying to create an object only once in a JSP file that I know works already, except that it always creates the object again with each page reload or submit request. I've tried session, not sure how it works.. but haven't figured it …

Member Avatar for jwenting
0
78
Member Avatar for ceyesuma

I recently deployed a program [icode]http://www.netbeans.org/kb/61/web/hibernate-vwp.html#01[/icode] in a pakage containing *.hbm.xml's and backing beans a HibernateUTIL.java class was created. in the IDE the table describes proper primatives that populate colm and rows. yet (deployed) a table displays column headers in browser with no data. an exception states HibernateUTIL [icode]System Messages …

Member Avatar for jwenting
0
177
Member Avatar for ashish1234

hi, i am doing a project in jsp.and i am new in this .As a part of it i have to take some reports.i can use either crystal report or ireport.My roblems is that i installed both reports in my system and dont know how to proceed.I can connect the …

Member Avatar for ashish1234
0
110
Member Avatar for ceyesuma

There are elements in this code I would like for someone explain if possible. Please. _int(); and the ? and the : in the code [icode] throw e instanceof FacesException ? (FacesException) e : new FacesException(e);[/icode] [code] public void init() { // Perform initializations inherited from our superclass super.init(); try …

Member Avatar for ceyesuma
0
85
Member Avatar for MonkeyGarage

I get the following when attempting to view a project I have, I have MySQL 5.0 and Tomcat 6.0. Both services are running. As far as MySQL connectors, I have both "mysql-connector-java-5.0.7-bin" and "mysql-connector-java-3.0.8-stable-bin". This has not worked with either one. HTTP Status 500 - type Exception report message description …

Member Avatar for dnanetwork
0
154
Member Avatar for ceyesuma
0
62
Member Avatar for ceyesuma
Member Avatar for ceyesuma
0
145
Member Avatar for Swetadri

hi all, I have a website.In that website, that site basically takes collect rss feeds depending on user's choice and convert it to audio.Now, I want to add an functionality in website. I want to add one form in which user will give their google-reader username and password.I have to …

0
48
Member Avatar for ceyesuma

I created a nbproject,webapplication,visual web java Server Faces Glashfish,deployed it.(netbeans6.1) I have written a couple of them and they do not show up in a browser. Below is the one I just started. Can someone explain what needs to be done to run this in a browser? [code] <%-- Document …

Member Avatar for ceyesuma
0
174
Member Avatar for hussainzim

hi..im using ajax to send some data according to the name selected from the combo box to the servlet..i hav managed to get the necessary values from the database to the servlet as a LIST but im clueless on how to send those values to jsp and print in the …

Member Avatar for Thirusha
0
170
Member Avatar for surekhavk

i want to insert values selected from multiple selected listbox in to a single column seperated by a delimiter(,) along with this values there are some other rows too in which some other values are inserted a table has prdt_id, empiid 1,3,4,5 45,23 values shld be in this way how …

Member Avatar for jwenting
0
68
Member Avatar for vanipriya

Hi all, I have two MS-Access Databases. 1.Comp with fields CID, CName, CMarks. 2.Stud with fields SID,SName,SMarks. I use JSP to build the form in NetBeans. I want to create a form which would allow me to choose a CName from a drop down menu. When I submit, it should …

Member Avatar for jwenting
0
486
Member Avatar for Rahul17

I have written this code in Jsp file . [code=JSP]<% Connection con=null; Statement st=null; PreparedStatement ps; String nm=request.getParameter("tnm"); String loc=request.getParameter("tlc"); try { Class.forName("com.mysql.jdbc.Driver"); con=DriverManager.getConnection("jdbc:mysql://localhost:3306/rahul","root","root"); st=con.createStatement(); try { ps=con.prepareStatement("insert into dept(deptname,location) values(?,?)"); ps.setString(1,nm); ps.setString(2,loc); ps.executeUpdate(); out.println("Value inserted "); } catch(SQLException e) { out.println("sql is not executed"); } } catch(Exception ex) { …

Member Avatar for jwenting
0
132
Member Avatar for peter_budo

I have some webspace that I used so far for university assegnments. I would like to to convert it to blog website where I will place some rants, codes and some maybe for somebody interesting info that I find along the research path of my MSc project. Website will be …

Member Avatar for jwenting
0
80
Member Avatar for kitsune

Hello, Is there any simple way to add a bar chart in jsp, I have a question and answers tables for a survey and I want to show the result for it like this: QuestionText.............................Result aaaaaaaaaaa............................Yes 70% ------------ ...............................................No 30% ----- Can anyone Help Me....

Member Avatar for jwenting
0
96
Member Avatar for Hockey-nut

I'm new to JSP and trying to do a parameterized query. I've been able to do single stream queries to existing tables without any problem. I'm trying to build a search mechanism to do selective reporting. I've tried many hours to get the combination of different items to get by …

Member Avatar for sinan.yk
0
191
Member Avatar for punitdam

I m trying to use <jsp:include page> with apache tomcat 5.5.26 as follows [code] 679:</table> 680: </td></tr> 681: <tr><td colspan=2 width="100%"> 682: <jsp:include page="html/policy.html" flush="true"/> 683: </td></tr> 684: <tr><td colspan = 2 align="center"> 685: <input type="hidden" name="hide" value="3"> [/code] where policy.html is html file to display policy. while trying to …

Member Avatar for sinan.yk
0
844
Member Avatar for sonu_net

i have a code written in jsp to enter and edit user accounts. But for fields like Name its taking numeric values also, and also how to check an enter only valid format of e-mail in the e-mail id field. Is there any function in jsp like isAlpha, isAlphanumeric to …

Member Avatar for jwenting
0
43
Member Avatar for afflictedd2

Hi everyone, I've been trying to use an RMI Service from a JSP page, but whenever I try it I get an error of not finding the object. I've started the rmiregistry service, and the Services Implementations registers it, and when I run a class client I have for it, …

Member Avatar for ~s.o.s~
0
91
Member Avatar for priyav

hai everybody, i have a problem in jsp that i should access my application only by login. in my project when i give this url in my address bar "http://localhost:8080/jsp-examples/InvMgmt/test/stockrequisition.jsp". it directly goes to the stockrequisition page. i dont know how to use the session variable. here i am sending …

Member Avatar for peter_budo
0
127
Member Avatar for Sandeep_12in

Below is the code in Jsp out.println("<td>" + rset.getInt("Credit_Limit") + "</td>"); out.println("<td>" + rset.getInt("Curr_Os") + "</td>"); out.println("<td>" + rset.getInt("Per_Utilised") + "</td>"); I want to have "Credit_Limit" & "Curr_Os" dispalyed as 1,23,000 While "Per_Utilised" as 12%

Member Avatar for jwenting
0
41
Member Avatar for shytr

hi......... i am having 13 jsp pages.in the first page i have to select any one radio button and then i have to go to the next page,there also i have to click any one radio and then i have to go to the next page,likewise i have to go …

Member Avatar for masijade
0
115
Member Avatar for ajithraj

haii friends... i have to highlight selected block in textarea in jsp..is any way to highlight the block.. thankzzz...

Member Avatar for jwenting
0
41

The End.