3,760 Topics
| |
I have a List <Food> , which contains values such as food_id, food_catergory, food_detail etc. There is a java file call 'Event.java' it contain the List <Food> as a variable. Now there's a JSF page called event.xhtml. I need to print all the items in the List<Food> in a table … | |
Hi, Can any one tell me, can i use a value in the entire site? That means, i need to use that value out site project in the same site. Please help me. i got a value in my jsp page, need to forward that value into a different war … | |
Hi all, I have 2 JSP Pages, page 1 contains attachment button for (attachment to be uploaded) and Done button for navigating to second JSP page. Currently Done button is not wait for the attachment to be uploaded .When user clicks on Done Button if attachment is in processing I … | |
I am doing a project title "video chat" on web based application. Is there any java framework available to access webcam ? | |
Hie good friends! I have got a Jsp form for creating a database record for students. The form has got a drop down box for Countries, but the countries are too many that a user may spend a lot of time scrolling to locate his/her country. The drop down is … | |
hi friends, This is Anand, am beginner to jsp, now am trying to connect jsp with mysql. Is this possible to code connection code separately and include each and every page. am trying the following code.I code these lines in separated.and I want to use it other pages.at the same … | |
Hi there guys! I've been stuck with this problem for quite a while now. I wanted to create a jsp which would upload files to sql database. I've used this code for my upload_page.jsp: [CODE] <%-- Document : upload_page Created on : Mar 6, 2011, 11:01:40 PM Author : Administrator … | |
Hi everyone, could you tell me how to check if email exist in jsp :( ??? thank you. | |
I have implemented a jetty-based servlet under eclipse.It runs fine under eclipse. Right now, I need to deploy it as a Web application. I would like to know the procedures of transplanting these java programs from Eclipse to a real Jetty-based web application. The system is a Linux box. Thanks. | |
Hi there, The thread title pretty much says it all. How exactly do you send data to, and from portlets? Does it have something to do with the RenderRequest and RenderResponse objects? I haven't a clue... There's hardly any information on the net regarding portlet development, very frustrating. Thanks in … | |
hello all i have a tgz file on the system.Now i want to download it in my jsp page.but i have not any idea how to do it. currently i am downloading the text file in jsp using following code [CODE]response.setContentType("Text/html"); response.setHeader("Content-Disposition","attachment;filename="+strFileName+""); [/CODE] please help..... | |
i try to change this scrip into jsp but i stuck at switch statement - switch ($_GET['action'].. Please someone help me.. (T_T) [B]menu.php[/B] [ICODE]<li><a href="index.php?action=home">Home</a></a></li> <li><a href="index.php?action=aboutus">About Us</a></a></li>[/ICODE] [B]index.php[/B] [ICODE]<td width="20%" valign="top"> <?php include ('menu.php'); ?> </td> <td width="85%" valign="top"> <?php switch ($_GET['action']){ case 'aboutus': include 'aboutus.php'; break; case 'home': … | |
Hi, I want to avoid the addition of the <tr> tag when i am rendering the following code in struts2. [code]<s:textfield name="students[#stat.index].lastName" /> <s:textfield name="students[#stat.index].firstName" /> <s:textfield name="students[#stat.index].userName" /> <s:textfield name="students[#stat.index].userPassword" />[/code] textfield tag will add <tr> tag before each row. I want to avoid the addition of this tr … | |
i am having problem in this code, i have written //ERROR, where i am getting error.... PLEASE HELP BASICALLUY, WHAT I AM DOING IS:- I HAVE A GENERATE AND OK BUTTON, WHENEVER I CLICK GENERATE BUTTON, A NEW SET OF INFO IS RETRIEVED FROM THE DATABASE AND THE TEXT FIELDS … | |
hi i have a jsp page in which there is three radio button one is for dropdown list,another is for text field and last is for File field.What i want is when someone select dropdown list other two fields should be blanked and disabled.and when i select file field then … | |
Hi there!!! I am new here and new student. I got a question here. If I want to detect whether there is an illegal charater(inside red) - other than what is provided now. how do i have to do it? Thanks in advance. [CODE]<html> <body> <% for (int i=0;i<5;i++) { … | |
I am stuck in quite a tricky problem, That is - My session which contains username is getting invalidating on page refresh in Firefox Mozilla. Same is working fine in IE-9 I am pasting the code of both header and index.jsp file. [U][B]Header.jsp[/B][/U] [CODE] <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <%@ taglib … | |
Hi I'm new to JSP and am having a right battle with session scope. Here's what I'm doing: I have created a class with some variables and methods. As I want to be able to access the contents of my created object in other pages, I have instanciated my class … | |
hi i have validated some fiels in jsp using useBean . But am nt able to get the values into another page.can anyone help me.This is my code. jsp file [CODE] <%-- Instantiate the form validation bean and supply the error message map --%> <%@ page import="com.mycompany.*" %> <jsp:useBean id="form" … | |
Hi everyone. I'm using Tomcat 7.0.8 I have created servlet, which loads image to "webcontent\pic" folder of my project. Then I need to display this image. The servlet works, but with only restriction: i need manually refresh content of project, or directory (I'm using Eclipse). Otherwise ugly cross will be … | |
Hi All, I have three combo boxes in a jsp file in a form. After i select valus for the three combo boxes I click search button which is a submit button, on submit the corresponding action file is called, there I can get the values by request.getparameter("name"); I just … | |
i making a system, in which at max 10 users can login and work independently. But the problem is that when a user logs out, i am just redirecting him to the login page, i want to end that session, so that IF HE CLICKS ON THE BACK BUTTON, HE … | |
i have made a jsp page, in which:- 1) I HAVE CERTAIN TEXT FIELDS 2) AN OK BUTTON 3) A GENERATE BUTTON. The problem:- When i click on generate button, info from database should get filled in the textfields. How can i do this? | |
Hi guys! Been spending 2 days for this problem. Im having this error message whenever i run the program in netbeans6.9.1, [QUOTE]org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'net.sourceforge.jtds.jdbc.Driver' at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880).... ...[/QUOTE] The was working fine not until i tried exploring iReports 3.7 and creating a classpath (in iReports) … | |
Here are the picture.. [IMG]http://img830.imageshack.us/img830/6774/chequea.jpg[/IMG] [CODE]<jsp:useBean id="chequeStopBean" scope="session" class="my.com.infopro.ibank.ui.bean.ChequeStopBean"/> <jsp:useBean id="labelBean" scope="session" class="my.com.infopro.ibank.ui.bean.LabelBean"/> <jsp:useBean id="lang" scope="session" class="my.com.infopro.ibank.ui.bean.LanguageBean" /> <%@ page language="java" import = "java.util.*" errorPage="" %> <%@ page import="my.com.infopro.ibank.dto.ChequeDTO"%> <% request.getSession(true); String contextPath = request.getContextPath(); chequeStopBean.queryAccList(); //RequestDispatcher dispatcher = null; %> <html> <head> <title><%=labelBean.getLabel("STOP_CHEQUE")%></title> <meta HTTP-EQUIV="Pragma" content="no-cache"> <meta HTTP-EQUIV="Expires" content="-1"> … | |
can I know how to access the databse from jena using tdb and arq..am unable to get the resultsetformatter in jsp..the code runs perfectly in java,but i encounter problem in jsp... [CODE] String s = "" + "PREFIX dc: <http://purl.org/dc/elements/1.1/>" + "PREFIX skos:<http://www.w3.org/2004/02/skos/core#>" + "SELECT ?s " + " { … | |
Hi All, I have the hidden field defined as: <form method="post" name="userform" id="userform"><input <input type="hidden" id="movieIdHidden" name="movieIdHidden"></input> .... When the form is reload I set this field as document.userform.movieIdHidden.value=1000; In the JSP I read this value as: string strmovie3 = request.getParameter("movieIdHidden"); // convert to int int movie3 = parseInt(strmovie3 ); … | |
hello all I am having a problem when i download the files from the browser there are 2 blank lines on top and 2 blank lines in the last.while in the original file on the system there is no blank line.Code is as follows Thanks in advance [CODE]<jsp:useBean id="campaign" class="com.cellebrum.campaginManager.hourlyMIS" … | |
First page & second page refer attachment!! I have success validate the new limit cannot exceed 2000 for 3rd Party Transfer. Coding for first page !! -------------------------- [CODE]<jsp:useBean id="labelBean" scope="session" class="my.com.infopro.ibank.ui.bean.LabelBean" /> <jsp:useBean id="txLimitMaintBean" scope="session" class="my.com.infopro.ibank.ui.bean.TxLimitMaintBean" /> <jsp:useBean id="lang" scope="session" class="my.com.infopro.ibank.ui.bean.LanguageBean" /> <%@ page import="java.util.Iterator"%> <%@ page import="my.com.infopro.ibank.dto.TxLimitMaintDto"%> <%@ page … | |
|
The End.