3,760 Topics

Member Avatar for
Member Avatar for mimsc

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" %> <%@ …

Member Avatar for kk4real
-1
107
Member Avatar for manikandan_dani

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.

0
65
Member Avatar for Emmett_1981

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 …

0
167
Member Avatar for vvrekha

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 …

Member Avatar for peter_budo
0
78
Member Avatar for manikandan_dani

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.

Member Avatar for jwenting
0
123
Member Avatar for pradeepkumarb

how to display the randomly selsected questions from a database one at a time in jsp like in online quiz.please help me

Member Avatar for jwenting
0
257
Member Avatar for karamjeet2004

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 …

Member Avatar for javaAddict
0
143
Member Avatar for chicago1985

-------------------------------------------------------------------------------- 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 …

0
87
Member Avatar for karamjeet2004

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 …

Member Avatar for jwenting
0
108
Member Avatar for henrybahus

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 …

Member Avatar for peter_budo
0
80
Member Avatar for manikandan_dani

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.

0
56
Member Avatar for webcare

jsp is a good language or php/mysql for web devlopment process by<FAKE SIGNATURE>

Member Avatar for jwenting
0
82
Member Avatar for manikandan_dani

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.:)

Member Avatar for manikandan_dani
0
106
Member Avatar for NT.

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 …

Member Avatar for jwenting
0
111
Member Avatar for sachinkore

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 …

0
53
Member Avatar for Chander Kararia

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, …

Member Avatar for kvprajapati
0
58
Member Avatar for qutejose

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?

Member Avatar for fardoonmuhafiz
-1
89
Member Avatar for Ashish Upadhyay

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 …

Member Avatar for jwenting
0
101
Member Avatar for pjbinu

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

Member Avatar for parry_kulk
0
64
Member Avatar for harry010

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 …

Member Avatar for harry010
0
266
Member Avatar for timetex

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 …

Member Avatar for jwenting
0
2K
Member Avatar for Lalit Chattar

how we can resize image in jsp before uploading in database as a blob data. thank you..

Member Avatar for peter_budo
0
61
Member Avatar for Raghu.Pattem
Member Avatar for beanboy

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 …

Member Avatar for fardoonmuhafiz
0
90
Member Avatar for smackdown90

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 …

Member Avatar for peter_budo
0
248
Member Avatar for thekashyap

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 …

Member Avatar for ~s.o.s~
0
107
Member Avatar for rajni11

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 …

Member Avatar for peter_budo
-4
123
Member Avatar for ttchiwandire

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 …

0
77
Member Avatar for muthumari

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 …

Member Avatar for georgequinne
0
354
Member Avatar for makarim

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 …

0
47

The End.