4,248 Topics

Member Avatar for
Member Avatar for xtreamcoder

I have good knowledge of C, and a good knowledge of core Java. Please list out the areas I need to cover for J2EE. There are many technology available in j2ee.. Please tel me which technology is using uptodate.. I have premium account in lynda, vtc, and pluralaight.. There many …

Member Avatar for stultuske
0
247
Member Avatar for djdanjo82

Hello all! Again thanks for viewing my thread. The past couple of days I have been struggling with trying to add JPanels to a JScrollPane. Basically I have data to display that comes in from another application in the form of a JPanel with regular updates. I am trying to …

Member Avatar for ramesh midatana
0
2K
Member Avatar for joelanandraj

in my program a simple shopping application for my lab exercise, i just calculated the price of items inside a for loop but when i try to print it outside it is not getting printed...pls give me some suggestion. for (int i = 1; i < 7; i++) { String …

Member Avatar for stultuske
0
366
Member Avatar for joelanandraj

hi all i have created a jsp page for online exam here i have created a database to store all the question and answers ,used the database to fill all the radio button values,but whenever i retrieve the radio button value and compare it with the database value it is …

Member Avatar for joelanandraj
0
232
Member Avatar for swati1706

hello everyone.. im trying to insert date into mysql..the field is of date type bt when i select a date from datepicker and insert it into database,it takes a random date..not getting where the problem is.. the code is as follow SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); java.sql.Date d = null; …

Member Avatar for pritaeas
0
252
Member Avatar for Ramendra kumar

problem: that is not successful login when we enter email and pass but process going to sorry email id or password error %@page import="bean.LoginDao"%> <%@page import="bean.LoginBean"%> <%@page import="bean.ConnectionProvider1"%> <%@page import="bean.ConnectionProvider"%> <jsp:useBean id="obj" class="bean.LoginBean"/> <jsp:setProperty property="*" name="obj"/> <% boolean status=LoginDao.validate(obj); if(status) { session.setAttribute("session", true); out.println("You r successfully logged in"); } else …

Member Avatar for stultuske
0
149
Member Avatar for dre-logics

I have created an ASP.NET application in vb.net Use a Ubuntu 13.10 Server with Apache Tomcat No i want deploy (install) this application on this server. Is this possible? If so, how? What are the consequences? Thanks, Andre

Member Avatar for pritaeas
0
208
Member Avatar for paichow

i need help..to anyone who expert in servlet & Jsp.. my problem is..i do not know how to upload image via html/jsp.. >before that i already ask mr.google but.. i got sux answer. so, this code work's and upload succesfully but it must manually put the destination file type string …

Member Avatar for stultuske
0
3K
Member Avatar for jethro.njini

i have recently created a database with three tables and the fourth one is a junction table that links all these tables. i want to know how to retrieve data represented by the foreign keys in the junction table using jsp(if it is possible, if it is not, how do …

0
74
Member Avatar for sbhavan

I want to develop a web application. In that I need to implement that the user can't open it in more than one instance in any system. I want to restrict it based on the user and machine. ie. a single user name should be used to login to the …

Member Avatar for rubberman
0
479
Member Avatar for RaniThomas

Hi all, I have created a simple servlet with one one JSP. The files are, index.jsp [code] <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Login Page</title> <link rel="stylesheet" type="text/css" href="css/style1.css" /> </head> <body> <div style="background: LightBlue "> <h1 align="center">Sample Application</h1> </div> <FORM action="/myServlet" method="GET"> What's your name? <INPUT TYPE=TEXT NAME="name"><P> <INPUT …

Member Avatar for stultuske
0
2K
Member Avatar for tr1stina

Please help me. I am trying to search order no from Search2.jsp and display it in a table at Display2.jsp. The **error** is javax.el.PropertyNotFoundException: Property 'OrderNo' not found on type bean.OrderBean at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:223) at javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:200) at javax.el.BeanELResolver.property(BeanELResolver.java:311) at javax.el.BeanELResolver.getValue(BeanELResolver.java:85) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67) at org.apache.el.parser.AstValue.getValue(AstValue.java:169) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:985) at org.apache.jsp.Display2_jsp._jspx_meth_c_005fforEach_005f0(Display2_jsp.java:111) at …

Member Avatar for tr1stina
0
2K
Member Avatar for pallabpal87

hi there, I want to upload a video in my project folder(e.g. uploadedvideo) and save the name of the video in mysql database using jsp servlet. earlier I have found some code in net which required the destination path like c:\...\uploadedvideo etc. I think if I use c: it will …

Member Avatar for cool_zephyr
0
147
Member Avatar for uday_2

In main.html i will have two text fields one is the name of the html page i need to create and another is number of text fields, once i enter number(for example three) in main.html, within the same page dynamically 3 text boxes should be created using javascript... now if …

Member Avatar for uday_2
0
213
Member Avatar for KhubaibQaiser

I want to know how can i use a servlet to generate a table (time table for example) dynamically in a jsp page? The result should come between header and footer inside a div (see the picture) http://img191.imageshack.us/img191/8942/nbo6.png <html> <head> <title>Time Tables</title> <link href="default.css" rel="stylesheet" type="text/css"/> </head> <body> <div id="header"> …

0
125
Member Avatar for <sum>

I am using JQplot and I need to download these in form of image is there any way to convert JQplot to image and simontaniously it save to any folder

Member Avatar for dilang
0
71
Member Avatar for MariannJ

How to Compare a radio Selection in JSP. I want to make radio selection unselectable depending on the another radio selection. Below is Jsp Code. The JSP Page is linked with some Java files where the retrieve and display is done from the database. Below is the link which contains …

Member Avatar for stultuske
0
178
Member Avatar for techyworld

Hi am creating a java web application using jsf framework. I generate report using BIRT report. i create a table but when i view the report the line and border of the table is not displaying. how to make it appears? Anyone can help?

Member Avatar for cool_zephyr
0
166
Member Avatar for cool_zephyr

hey how can I handle no-mapping found exception in spring dispatcher?? so that, if no-mapping to a controller is found in the dispatcher, I would like to redirect the user to a separate Resource not found page Suppose I have only 2 pages in my web application, "/about", "/help" and …

Member Avatar for cool_zephyr
0
1K
Member Avatar for MariannJ

I am trying to connect to a database on button click on a jsp page. The value from the textbox of the html page should be captured and used to satisfy the conditions necessary to display the database values. I am using HTML,JSP,Jquery and Ajax. My database is MySql. I …

Member Avatar for peter_budo
0
2K
Member Avatar for ambikanair

HI, I need to have a captcha in my jsp page. The captcha code is ready and it works perfectly well when the user enters the value. It reloads the same page if the captcha enterd is wrong. I need to navigate to the next page if the value is …

Member Avatar for shadia.mohamed.9_1
0
220
Member Avatar for pankajagar2002

Hi, Recently i upgraded my application java version from jdk 1.5 to 1.7. I am using ajaxanywhere as ajax thirdparty jar for ajax work. After upgrading jdk version, jar is not working properly. It is not updating referesh zone after ajax call. url of ajaxanywhere [Click Here](http://ajaxanywhere.sourceforge.net/) Kindly help me …

Member Avatar for LastMitch
0
201
Member Avatar for ram25244

my problem is that im retriving the values from database and it is a dependent dropdown it will select the name which is compare with id and then will show the next value and stores in db upto that everything is working fine but the id value is storing in …

Member Avatar for stultuske
0
55
Member Avatar for karan_5

I want to store one column value in array because it is auto incremented and also it is a primary key and this values i want to insert into another table where that primary key refer as a foreign key so anyone can help me to come out from this …

Member Avatar for karan_5
0
280
Member Avatar for Varunkrishna

I am learning JSP, and have developed a books application, which displays the book-id,title,author and price. There are seperate text box for each of the field, whenever the user fills the form and hits submit button the value must be inserted into my database. If I try to submit it …

Member Avatar for Varunkrishna
0
2K
Member Avatar for manaila

Hi, I have learned that servlet containers like tomcat handle concurrency in web application. I just want to get a clear comfirmation whether I dont have to multithread my business logic classes/methods(e.g database connections) when I am developing servlet applications. Cheers!

Member Avatar for LastMitch
0
98
Member Avatar for techyworld

Hi i need some help. I am developing a java web application using jsf (front-end) and primefaces. I have a drop down list in my .xhtml page containing Car,Bus,Other. On clicking 'Other', i want a text box to appear.Can you advice me how to do it? i have a java …

Member Avatar for LastMitch
0
198
Member Avatar for Vanquish39

Question regarding concurrency. Imagine 10 different doGet() requests from 10 different users around the world called within milliseconds of each other to a servlet called LoginServlet.java. Inside the servlet's doGet() method is a call to DbUtil.getConnection(). The DBUtil class is static and the method getConnection() is also static. What happens …

Member Avatar for ~s.o.s~
0
271
Member Avatar for techyworld

Hi am new to jsf and primefaces. I have a drop down list which contain high,medium,low,other(please specify) When user select other(please specify), i want a textbox to be displayed. i guess there should be an if statement. anyone can help..i got no idea how to write an if statement in …

Member Avatar for techyworld
0
75
Member Avatar for Navya_1

Hello, I am new to JSP and I have to create a registration form, so when the user fills out all the information and clicks submit, the information should be stored in cookies. I cannot use database to store user information. Also after the user registers, he/she has to login …

Member Avatar for asmira
0
827
Member Avatar for prnjn

Hi , I have a JSP page where i have few checkboxes and i have disabled few of them usign javascript for certain conditions. When i fetch the value from checkbox using `request.getParameterValues("CheckBoxName");` , then do i get the values from disabled checkboxes too or disabled checkboxes are not considered …

Member Avatar for GliderPilot
0
2K
Member Avatar for swapnil.jambe

friends i am trying to redirect from login page to home page....when login is succeeded...but not able to do this. I have tried request Dispather it gives me illigal state exception and by using String site=new String("home.html"); response.setStatus(response.SC_MOVED_TEMPORARILY); response.setHeader("Location", site); not able to redirect....plz help me to overcome this problem

Member Avatar for asmira
0
132
Member Avatar for prnjn

Hi, I dont know javascript and i dont have time to learn it coz i have to submitt the dynamic web project which i am making using jsp,servlet, mysql database. I only need help in this part.Please help. I have a checkbox , i want to use three images in …

Member Avatar for paulkd
0
213
Member Avatar for sasikrishnasamy

Hi, I have a jsp called scan.jsp. It contains struts tags like <html:hidden />, <html :text> etc. Now I would like to parse all the tags. Is it possible to split all the tag separately ? Please give some idea to do.

Member Avatar for LastMitch
0
164
Member Avatar for patk570

Hello, I have 2 functions that I wrote to show a hidden div, I would love to convert this to jquery but unsure how. Also, I want a function that will allow me to change the onclick function to open and close and show an arrow > and arrow down... …

Member Avatar for patk570
0
222
Member Avatar for prnjn

I am making a ticket booking system. I have a databse with a clumn "booking status" I am thinking to use a map of seats ( with pictures controllers as seats) What i want is when the value in booking status is "booked" then the pictures shown as seats should …

Member Avatar for stultuske
0
153
Member Avatar for Suvarna-25

Hi..... I have a java file to read excel file. I have stored all the elements of excel file in a variable. Now i want to show all values of excel file on jsp page in a table format. All elements are displaying on jsp page but in vertical line. …

Member Avatar for Suvarna-25
0
244
Member Avatar for patk570

Hello, I have one input field that is collecting some information like this: <label>Tax Rate</label><br><input type="text" class="input" name="taxrate" id="taxrate" onblur=" return getTaxrate()" value="<? echo $row['taxrate'] ?>"> what I am wanting to do is onblur convert from say 7.63 to .0763 for the tax rate. I am only using one input …

Member Avatar for patk570
0
216
Member Avatar for salemula

Hi professors, can you please help me out by saying an usefull and fast learning text book name with author for jsp(java server pages). Thanks in Advance for helping me. regards Salem.

Member Avatar for knsiwu
0
369
Member Avatar for rithish

is form validation impossible using jsp???because i surfed google all are using servlet or javascript none of them is using jsp??? whats the reason???

Member Avatar for stultuske
0
125
Member Avatar for sasikrishnasamy

Hi, I have a problem while reading a jsp file. I have a jsp file called scan.jsp. It is a very big file having 9000 lines. It has java script codes, some imported files etc. Unable to read all lines of data when I try the following code. public static …

Member Avatar for sasikrishnasamy
0
261
Member Avatar for abinmathews

hey i want to create two *buttons* namely** submit** and **update** button in one page,but i need to knw wheather both the actions of the button can be performed in the same page or in diffrent page,if it is to be performed in diffrent page,how do i do it??

Member Avatar for stultuske
0
271
Member Avatar for vijaykumar_b

I hava created one table with columns in html in which i had customername and some columns, now myrequirement is when i click on any customer name of the customerName column from my created table i want to get particular customer details in new jsp page plz help me,Thanks in …

Member Avatar for silvercats
0
121
Member Avatar for irhs

its my code for printing array of buttons with values R and B but i m not getting the output.. first of all i want to askk can we use random method in value field of button i,e value="<%=Math.floor(Math.random() * ('R','B'))%>" if no then is there any other way to …

Member Avatar for stultuske
0
145
Member Avatar for irhs

how can we form a 2d array in jsp so that we can select its element just by clicking on the particular element..

Member Avatar for irhs
0
131
Member Avatar for boykaa

since three days I try to insert many record in DB , I m using struts 2 and hibernate 3.I have 3 tables: 1 Evaluationglobale (id_eval ,label) 2 SousEval(id_eval ,SousItem_ID), 3 SousItems(SousItem_ID,label) my issue is how to insert many record in table SousEval when using the last insert id_eval in …

0
147
Member Avatar for techyworld

Hi i need some help on jsf/primefaces layout. i created 3 tabs, but the labels and text box in tab1 is not displaying.instead it is being displayed in tab2, and content of tab2 in tab3... I would like to know why am having this issue and how to solve this? …

Member Avatar for techyworld
0
241
Member Avatar for mareham.shafik

Hi, I have been working over the summer to create a very simple login page that just has the userName and the Password and all what I did is that this page printes the information entered in a new page. I have successfully done this part. My second project is …

Member Avatar for stultuske
0
1K
Member Avatar for techyworld

Hi, I am developing a web app and when i deploy on tomcat 7, it gives me this error in my template.xhtml: Unknown attribute (contentType) and in browser, it give me this: exception javax.servlet.ServletException: org.hibernate.exception.GenericJDBCException: Cannot open connection javax.faces.webapp.FacesServlet.service(FacesServlet.java:321) com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) root cause javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection …

Member Avatar for techyworld
0
235
Member Avatar for prnjn

Hi, I am learning struts 2 framework and i have also used OGNL in it for data transfer. The problem is when i run the Login.jps page on apache tomcat server through Eclipse Indigo , i get the error "HTTP Status 404 - /Priyanjan_banking/Login.jsp" Please help me out . The …

Member Avatar for LastMitch
0
1K

The End.