4,248 Topics

Member Avatar for
Member Avatar for shobha1335

When I select one city out of many from dropdownbox and submit it will store in database, when updating the form iam displaying the same values from the database, so how I have to display the selected city in the dropdownbox from the database in jsp. Please help me out …

Member Avatar for ~s.o.s~
0
55
Member Avatar for samarinder

HTTP Status 405 - HTTP method GET is not supported by this URL I m getting this error when i m clicking on logout button here is the code for it............. import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; public class LogoutServlet extends HttpServlet{ public void …

0
80
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
355
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
306
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
64
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
111
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
52
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
49
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
81
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
184
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
113
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
88
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
156
Member Avatar for ceyesuma
0
63
Member Avatar for ceyesuma
Member Avatar for ceyesuma
0
154
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
50
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
176
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
174
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
71
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
488
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
133
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
83
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
98
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
199
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
847
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
46
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
93
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
130
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
43
Member Avatar for neerajsharma

Hi! I'm Neeraj & my computer also was infected but now it's free from viruses. I don't have that Hijackthis. I've run Vundofix. exe & combofix.exe. But I think after executing combofix.exe some files are missing and that's why some application is not running. Even I downloaded Java 6 but …

Member Avatar for gerbil
0
165
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
118
Member Avatar for SwtAznStar

I was running my avast antivirus and it detected this trojan: Win 32: agent UEI [Trj]. I noticed my internet loading really slowly and websites that usually load in couple of seconds taking up to 30 seconds or more. Sometimes it doesn't even load and gets the error of "page …

0
32
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
43
Member Avatar for Dolly-Sweety

Hello friends, I want some help. If anybody can help me out for my problem. I am new to JSP. I am using NetBeans6.0 IDE , MySQL server for the database. I have differentiated my work between servlets,Javabeans and JSP. The logic of my project is stored in the servlet …

0
87
Member Avatar for Kusno

Dear all, I filter my query select with parameter from previous page. SQL = "select a.KodePenyanyi, p.NamaPenyanyi, p.WebSite, a.KodeAlbum, a.NamaAlbum, NamaLabel, Tahun, a.Kaset, a.CD, a.CDImport, a.DVD, DaftarLagu, ReviewAlbum FROM masterpenyanyi p inner join masteralbum a on a.KodePenyanyi=p.KodePenyanyi inner join masterlabel on masterlabel.KodeLabel = a.KodeLabel where a.KodeAlbum='" + kodeAlbum + "'"; …

Member Avatar for ~s.o.s~
0
109
Member Avatar for ullasvk2000

Hi everybody. I am currently doing my 6th sem project in jsp. My project title in Online Shopping.I am very much need of the code. Please can any help me........:(

Member Avatar for peter_budo
0
115
Member Avatar for to.prakashg

Hi, Following is the code snippet of the JSP file which is gettting populated with all its field data when the application runs into IE7 but does not populated when using FireFox. I am using spring frame work for developing the application. Note: This is not the complete jsp code …

Member Avatar for Thirusha
0
143
Member Avatar for punitdam

I m trying to connect MYSQL 4.1.1 from JSP using java. and I m getting error as described below. javax.servlet.ServletException: Extra bytes at the end of class file org/gjt/mm/mysql/Driver org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774) org.apache.jsp.Login100408_jsp._jspService(Login100408_jsp.java:697) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) plz help me I m not getting any solution.

Member Avatar for peter_budo
0
202
Member Avatar for Java_tyro

Hello, I have a html form in which there are 4 fields and 1 button. 1. Employee Number 2. Employee Name 3. Salary 4. Address 5. Retrive button And I have a table in database named "employee". I want to retrieve employee information in the above text fields to be …

Member Avatar for peter_budo
0
73
Member Avatar for ambarish510

wen i write the following codes in a jsp file it is not working prperly the code is [code=JSP]<body> <p> <jsp:plugin type="applet" code="fphover.class" codebase="./" width="120" height="24"> <jsp:params> <jsp:param name="textcolor" value="#FFFFFF"> <jsp:param name="text" value="page name"> <jsp:param name="color" value="#808000"> <jsp:param name="hovercolor" value="#FFFFFF"> <jsp:param name="effect" value="glow"> <jsp:param name="url" valuetype="ref" value="p1.jsp"> </jsp:params> </jsp:plugin> </p> …

Member Avatar for ~s.o.s~
0
467
Member Avatar for Visualogic
Member Avatar for Gunjan Bhatt

I have tried my level best to complete the project within 2 months but I am not able to do that. I am getting the problem in retriving the data from combo box and displaying it on nect page and inserting it in MySQL database. I dont know the procedure …

Member Avatar for ~s.o.s~
0
137
Member Avatar for Kusno

Dear all, I'm newbie in Java/JSP. I have created project with Java Desktop for university lecture subject. But I still have one task, still with Java but in Web environment. I have this class. This class is used to get connection to MySQL. I create it for Java GUI [code=JSP]import …

Member Avatar for ~s.o.s~
0
141
Member Avatar for drama

Hi Guys, Does anyone know how a jsp page can call an xls file that resides in tomcat. For example, I am accessing xxx.jsp, and on xxx.jsp, there is a link - when I click on the link, it brings up the excel file. Does anyone know if this is …

Member Avatar for jwenting
0
60
Member Avatar for Java_tyro

Hello, plz help me retrieving a textfield value from from2 to form1. I have a textfield in form1 to retrieve Employee No. When I click a button in form1, form2 opens which contains list of employee numbers. In form2, I select a employee number and click a button. How should …

Member Avatar for peter_budo
0
65
Member Avatar for sylo

hey all, first post, im a real n00b at this.. its just part of my first yr at uni and dont even need it for the 2nd yr and never done it before.. its such a small part of my coursework and all it does is get me a D …

Member Avatar for jwenting
-1
86
Member Avatar for oshadee

Hi, I am writing a validation class in Java which validates the input data from a JSP form. As far as the date validation is concern I have a bit of a trouble. According to this application the system must only accept dates till the end of the year from …

Member Avatar for jwenting
0
103
Member Avatar for sadafs

Hi i have a code that runs really well.. unfortunately im really new and to get to here was also quite time consuming.. however i am on a short time line now and need help fast!. can someone please tell me how i can get my page to list results …

Member Avatar for jwenting
0
99
Member Avatar for anonymous_cutie

ok. first of all, i just reread the community rules so i hope i'm posting in the right forum. if not, please inform me and tell what i can do about it. i know that you don't like people posting about this particular topic. but i have searched the entire …

Member Avatar for jbennet
0
246

The End.