3,760 Topics
| |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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. | |
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... … | |
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 … | |
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. … | |
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 … | |
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. | |
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??? | |
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?? | |
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 … | |
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 … | |
how can we form a 2d array in jsp so that we can select its element just by clicking on the particular element.. | |
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 … | |
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? … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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........... | |
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 … | |
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 | |
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 | |
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 … |
The End.