3,760 Topics

Member Avatar for
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
194
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
267
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
70
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
824
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
129
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
211
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
162
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
218
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
151
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
239
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
213
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
346
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
121
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
261
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
118
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
141
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
130
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
145
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
237
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
232
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
Member Avatar for divyang.parmar

I have a displaytag to display results. But in this displaytag, I want the corresponding occid of the row. But I don't know due to some problem, it is showing me the id of the first row only. It works as follows- when i enter a name and click on …

Member Avatar for divyang.parmar
0
927
Member Avatar for cool_zephyr

I'm trying to deploy an app into tomcat..but after uploading the war file..it the tomcat manager always shows permgen error could anyone help me why is this error occuring..my tomcat server has around 128MB runtime memory and the war file is only around 25MB?? thank you.

Member Avatar for ~s.o.s~
0
227
Member Avatar for nira9

i want to develope a web applin for Repository and Search Engine for Alumni of College as a mini project so what details shld i include means modules and working so my project will small simple but funtionally good...........

Member Avatar for stultuske
0
58
Member Avatar for xxmp

I am using apache james 3 and when i am trying to send a e-mail although it seems that i send the e-mail i have this error at apache james: INFO 00:51:21,527 | james.smtpserver | Id='882742847' User='' Connection established from 127.0.0.1 INFO 00:51:21,608 | james.smtpserver | Id='882742847' User='' Successfully spooled …

Member Avatar for JorgeM
0
331
Member Avatar for yankeefan24

Im having problems with Tomcat on a red hat virtual box. Tomcat is installed and it talks to java. it work localhost to localhost but when I try to open port 8080 from outsite localhost it wont work. Any ideas why? Im new to Tomcat and JSP

Member Avatar for ajaykiet2
0
161
Member Avatar for sankubha

Am doing a client server project..... I have done it with desktop.. how to do the same thing in JSP and Servlets.... Thanks in Advance

Member Avatar for stultuske
0
135
Member Avatar for vimal_3

Hello, I have created below program and program is throwing FileNotFound exception when I pressed the submit button. The problem is coming due to JSP page is not able to find complete path of image. I have debug the JSP program and found that HTML form pass only image name …

Member Avatar for Trap910
0
195

The End.