3,747 Topics

Member Avatar for
Member Avatar for hatebin

Hello ! I'm developing a WebApp using [this example](http://www.primefaces.org/showcase/ui/datatableRowSelectionByColumn.jsf) where I: 1. Connect to MySQL and download data. 2. Populate dataTable with downloaded data using. 3. Fetch(view button) the record and display its details in a dialog. Problem begins when I download the records and click on the viewButton(no matter …

Member Avatar for LastMitch
0
213
Member Avatar for anisha.silva

hi i create a jsp and a servlet to get data from the data to be displayed in the jsp page. the code is below ListCustomer.jsp <table id="customerListTable" border="3"> <tr > <th bgcolor=>ID</th> <th bgcolor=>Name</th> <th bgcolor=>Address</th> <th bgcolor=>TelNo</th> <th bgcolor=>Req</th> </tr> <c:forEach var="customer" begin="0" items="${requestScope.customerList}"> <tr> <td>${customer.cusid}&nbsp;&nbsp;</td> <td>${customer.cusname}&nbsp;&nbsp;</td> <td>${customer.cusaddress}&nbsp;&nbsp;</td> …

Member Avatar for LastMitch
0
250
Member Avatar for hwoarang69

i dont understant why its not going inside "error_01 or error_02" if statment? if user enter username and hit sumbit than it goes in "worked" if statment but if user dont enter any thing in usrname it still go in "worked" if statment. <!-- login form --> <form method ="POST" …

Member Avatar for M4trixSh4d0w
0
191
Member Avatar for hwoarang69

i have project folder name: website_test package name: hello_servet testing_01.java web.xml index.html i need help with servlet name. i think iam names wrong. for ex is servlet-name the class name or project folder name?? web.xml file: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> <servlet> <servlet-name>website_test</servlet-name> <servlet-class>hello_servet.testing_01</servlet-class> …

Member Avatar for LastMitch
0
209
Member Avatar for new_zal

Hi all Just looking a creating a possible java or jsp based messenger for a web site. I have tested java based lan messengers, p2p messengers and even openfire+spark+smack instant messaging, XMPP (also called Jabber) which I admit I liked a great deal. They say dont try re-invent the wheel …

Member Avatar for M4trixSh4d0w
0
420
Member Avatar for sufu
Member Avatar for mvmalderen
0
97
Member Avatar for amrita111

I have created my project using jsp,servlets.I have also used meta tag for deleting browser's cache. Once logout,the user should not be able to perform any function using back button.I dont want to disable back button.The user should be on logout page even if he presses back button.

Member Avatar for LastMitch
0
96
Member Avatar for shibu2all

Hi, Can anyone please help me out .I am trying out to send a mail using JAVAMAIL API, While executing the jsp code on server it is throwing few exception error. <%@ page import="java.io.*,java.util.*,javax.mail.*"%> <%@ page import="javax.mail.internet.*,javax.activation.*"%> <%@ page import="javax.servlet.http.*,javax.servlet.*" %> <% String result; // Recipient's email ID needs to …

Member Avatar for stultuske
0
398
Member Avatar for chandub

hai every one.. am uploading image file before uploading i want know the height and width of image and also size of file please help in java script. thank you

Member Avatar for chandub
0
237
Member Avatar for vij123

Hello Sir, I have a simple Issue but It is not resolve by me i.e input parameter are not store in Ms-Access. I store the input parameter through Standard Action <jsp:useBean>. jsp:useBean call a property IssueData. this property exist in SimpleBean which create a connection from DB and insert the …

Member Avatar for mahe33
0
996
Member Avatar for gowri123

Hi, this is harika.. i am getting a great confusion in differce b/w request, session, application attribute.. can anyone help me out by giving an example in jsp in what way they differ from eachother..

Member Avatar for april88t
0
76
Member Avatar for chaitanya_krish

how to call different java method based on html select option choice? any code sample? basically, user will select a dropdown option and press submit. for each option,different query should be executed. using mysql DB and netbeans IDE. Thanks !!!

Member Avatar for stultuske
0
207
Member Avatar for amrita111

I have created two folders with name 1)JSP containing jsp file(for login) 2)JS containing javascript file(for login validation) I have linked javascript file with jsp file int he following way. <script type="text/javascript" src="../JS/loginValidate.js"> How can I access parameters of login page(jsp file in JSP folder) in javascript file?

Member Avatar for code739
0
103
Member Avatar for garyjohnson

I have javascript code with displays the placeholder attributes on browsers which dont support HTML5, I am testing the code in IE. It works on every field which is type text. But when its type"password" it displays the placeholder as a password and not text. I need to it show …

Member Avatar for LastMitch
0
872
Member Avatar for a4academics

package com.servlet.filter.UserAuthFilter ; import java.io.IOException; import java.util.ArrayList; import java.util.StringTokenizer; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; // Implements Filter class public class UserAuthFilter implements Filter { private ArrayList urlList; public void destroy() { } public void doFilter(ServletRequest req, ServletResponse …

Member Avatar for peter_budo
0
318
Member Avatar for garyjohnson

This is my java code, all the id's are the ids of divs on the page. They are all labeled respectiviley. It takes the input of the form. There are six possble errors that can occur which are, the emails dont match. First name contains characters other than letters, last …

Member Avatar for garyjohnson
0
228
Member Avatar for mrabrar09

Hello everyone am facing an error exception SQLServerException: The TDS protocol stream is not valid Jan 19, 2013 4:21:02 PM com.microsoft.sqlserver.jdbc.TDSReader throwInvalidTDS SEVERE: ConnectionID:18 got unexpected value in TDS response at offset:1508 Jan 19, 2013 4:21:02 PM com.microsoft.sqlserver.jdbc.TDSReader throwInvalidTDS SEVERE: ConnectionID:18 got unexpected value in TDS response at offset:1451 com.microsoft.sqlserver.jdbc.SQLServerException: …

Member Avatar for pritaeas
0
1K
Member Avatar for anglwthnati2de

So.... I am just wondering which would be the better one to learn for todays market - ASP.net or JSP. I have to take one or the other and am not sure which one is the better choice. If it were up to me I would say neither and go …

Member Avatar for anglwthnati2de
0
147
Member Avatar for grafic.web

Hi there i woul like to pass my variable "testiframe" from javascript to asp, hw can i do??? Thi is the code : <script type="text/javascript"> if (location.href != top.location.href) { testiframe="ok" } else { testiframe="ko" } </script>

Member Avatar for Seacanoeist
0
110
Member Avatar for jhonilson

Hi Everyone. I make an aplication with netbeans, struts and tomcat as server. When i run it locally this work perfect. But when i deploy the application in other machine it not work correctly.! The application show a list the people, if you want to change the name you can …

Member Avatar for jhonilson
0
769
Member Avatar for $ay_$andy

hello, i m trying to call java function from javascript. i want to pass js variable as a parameter to java function. pls anyone help me how can i do that..?? thank you..

Member Avatar for ruchi18
0
281
Member Avatar for manaila

Is it necessary to learn Servlet programming when one is already comfortable with JSP

Member Avatar for ruchi18
0
153
Member Avatar for mateusz.baran1

Hello again:) I have a problem. What iam trying to do : page where user can login/create account if dont have , if logined in success page is appearing where he can add his blood glucose from tooday and also he can check his blood glucose from previous days in …

Member Avatar for ruchi18
0
324
Member Avatar for noman90

Hi all web devlper and java devlper how you im really enjoy this amazing group i have one quesstion i need a insvisble counter they show all the think on my site just like page views country keyword and most popular pages

Member Avatar for stultuske
0
129
Member Avatar for missc

i am developing a hit counter in my web application to increase whenever a new user visits my website so that i will now the number of hits from different users so far. but the problem is that it is increasing even though it is the same ip address

Member Avatar for jalpesh_007
0
229
Member Avatar for mutago

I tried querying database records using pass variable from ibatis servlets it works fine and fetch the records if correct pass value is entered but return error message if wrong pass value is entered eg <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd"> <sqlMap namespace="Display1"> <!--- quer …

Member Avatar for peter_budo
0
118
Member Avatar for bibiki

Hey there, I have a jsp page and a checkbox inside it: <input type="checkbox" name="some" onchange="test()">Check me</input> I also have this function: function test() { out.println("checkbox checked status changed"); } I want the function test to be invoked every time I check/uncheck my checkbox. It is not working. Since I …

Member Avatar for bibiki
0
149
Member Avatar for myethan
Member Avatar for chandub

Hello everyone happy new year to all. i want get length of only fractional part of number in java script function. example if number is 4.321 then length of fractional part is 3. please help me. thank you

Member Avatar for peter_budo
0
119
Member Avatar for dwivid

Hello everyone.. I want to learn JSP. But don't know any online portal for study about JSP. If any one knows any place where i can learn JSP. where i can learn without any charge. Please make it shre with us.

Member Avatar for papercupmachine
0
122

The End.