3,760 Topics
| |
Hello..Im trying to read the HTML from a URL and I threw in yahoo.com as a test...for some reason, "n.readLine()" is coming back as NULL and the while loop fails...and ideas?? thanx [code] <%@ page import="java.io.*" %> <%@ page import="java.net.*" %> <%@ page language="java" %> <%@ page import="trader.webservices.util.Utils" %> <%@ … | |
hi, I am developing web application using jsf2.0. In this case, I used rich:dataTable tag for display the values from mysql. so this is working.. my problem is, How to select the perticular row or index from the datatable for another processing... help me.. Thanks. | |
Hi everyone, I am using the Struts 1 framework to develop a web application for my FYP. So far I have been able to access the properties file from all jsp in my application with example such as the following code. [CODE]<bean:message key="welcome.title"/>[/CODE] I want to have the entire web … | |
Hi All, In my jsp page, I am getting the data from Ms-sql for 3 combos.first 2 combos are independent, like course,location. either i can select course or location in 3rd combo i need to display the name of student. I was not able to pass the two combo values … | |
hi, I am developing web application. In this case, I wish to find the client side operating system using java(without javascript) . How to find. Please tell me... Thanks. | |
how to display the randomly selsected questions from a database one at a time in jsp like in online quiz.please help me | |
i want to send value to another jsp page from sessions i add the attribute session=true in both jsp pages but i am getting error during running mode can u find any errors in code [B]try123.jsp[/B] [CODE]<% String val=(String)session.getAttribute("itemValue").toString(); %> <TD>IMAGE NAME</TD> <TD><INPUT TYPE=text NAME="img" VALUE="<%=val%>"></TD> </TR> <tr>[/CODE] [B]try.jsp[/B] [CODE]String … | |
-------------------------------------------------------------------------------- I have this test working where it takes data from a Java class and shows it in a JSP: [code] String targetItems = "test" List pageItems = New ArrayList; for(int i = 0;i < calculatedResults + 10;i++) { pageItems.add(targetItems + " " + i) } request.setAttribute(pageItems, "pageItems");[/code] I would … | |
i hav cod to redirect to two different pages but one cod is working and one not one form enctype is urlencoded which is default is working and other with enctype=multipart is not working plz help i googled about this but nothng works so i came here 4 d sol … | |
Hi all, I want to say first of all that I'm a beginner with jsp. Now I explain my issue: I have a page (called A) where I want to execute some code if user come from page B and other code if user came from page C. How could … | |
hi, please give some information regarding dialog box, conformation box in jsf2.0. In my login screen, how to show the success or failed message through dialog box thanks. | |
jsp is a good language or php/mysql for web devlopment process by<FAKE SIGNATURE> | |
Hi, I am developing web application using jsf2.0. In this case, I wish to validate the email field with the help of import org.hibernate.validator.Email; But it is not working, How to validate the email fileld... Thank.:) | |
Hi there, I recently added some new code to an existing jsp page, but I don't know why I ma getting this exception. I double ckecked for common errors but I am not sure the reason for this exception. Can anyone help. Thanks. Here is the exception: type Exception report … | |
k..but how to write a insert query.. In my project...see below [code] <% try { ResultSet rs=null; Connection con=null; PreparedStatement st=null; Class.forName("org.gjt.mm.mysql.Driver").newInstance(); con = DriverManager.getConnection("jdbc:mysql://localhost/enrollment","root","root1"); st=con.prepareStatement("select f.tot,f.fcid from formcollection f where f.employername='"+empID+"'and f.flag=0"); rs=st.executeQuery(); %> <table width="713" border="1"> <tr> <th width="93" scope="row">Total Form Collected </th> <td width="70"><strong>DE Done </strong></td> <td … | |
Hi All, I am writing a script which opens a popup window & then creates a table dynamically (data is coming from sqlquery) I am able to generate the table successfully. Problem - I want to click on any row & select a cell data, the moment I do this, … | |
Does J2EE support Enterprise applications? Is Java Beans an application dependent components? Does JavaBeans support sharing among the network? 1 Javabean can contain how many classes? Does Servlets execution starts with main methods? | |
I have developed a java web application and make installer of the application. This application is using SQL Server 2000, Now I want, when user installs this application on his/her machine, the installer install the database also, if the machine does not have SQL Server then it install the SQL … | |
I am trying to load an image using jsf graphicIamage tag. But it is not displaying the image code is ... [code=JSF]<h:graphicImage id="image1" value="/Img/flow2.jpg" width="120" height="80" ></h:graphicImage>[/code] the image flow2.jpg is placed in \WebContent\Img folder but it is not working please help Binu | |
I've got 2 JSPs. JSP1 calls JSP2 to format a table in JSP1 JSP1 calls JSP2 using this code: [CODE] <jsp:include page='<%=(String)request.getAttribute("SB_Format_Path")%>' flush="true" ></jsp:include> [/CODE] The problem is that JSP2 has access to variable XX, at runtime but JSP1 does not have access to it. I'd like to somehow be … | |
As a novice JSP (and non-programmer!) I've bee doing some customisation to a browsers driven application which provides a users with CTI functionality on their desktop. My task was to create a custom "tab" on their page, which gave a series of checkboxes, with an "Apply" button. The purpose of … | |
how we can resize image in jsp before uploading in database as a blob data. thank you.. | |
hi, i'm trying to run a servlet code, but i get "HTTP Status 404 - Servlet Update2 is not available" error. i checked code, its perfect, web.xml is correct. but i did not find any .class files in my web-inf/classes directory. how could i get servlet .class files in web-inf/classes … | |
i want to create dynamic table and drop down menu from lists. i have 2 questions: 1. for the drop down menu i can run over the list and write the tag <option> inside the loop? it will create the menu with the number of items in the list? there … | |
While trying to address a new requirement we wanted to provide a generic soln and pass on our pain to the customer. :) [B]Application: [/B]Say I have some application listening to a port or JMS or something where it receives some encrypted messages/requests. To process the requests it need to … | |
Hello friends, I am j2ee student and searching for a job of j2ee programmer , but i am facing one problem.............. I am showing three projects one of them is based on online course named is onebook application, now the problem is, when i went for an interniew my interviewee … | |
Hi guys out there! I've been developing a java web application using jsf, jpa crud generator and hibernate as the persistence provider. Everything has worked well up to until now that I want to authenticate my system users. If anyone can help with the how of keeping track of system … | |
Hi, I hava 1 error in accessing database using javabean in jsp(jsp custom actions).The error like this javax.servlet.ServletException: [Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt my source code is given below.Anybody help me?? [code=java]package SQLBean; import java.sql.*; import java.io.*; public class DbBean implements java.io.Serializable{ private String … | |
Help Me Please, I Have a problems, with calender scriptng in jsp. I want to calculate the difference in dates. Where Saturday, week, and holidays are not counted. result = (end date - start date) - (number of Saturday / week + holiday) How do I know this date Saturday … |
The End.