3,760 Topics

Member Avatar for
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
155
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
123
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
123
Member Avatar for dharmil007

Hi guys i m doing an EJB project on Library Management using NetBeans Out of which the first Step create a "CREATE ACCOUNT" page & get all the details from User & store it in Database. Using JSP for this. Everything is created, but when i try to Click Submit …

Member Avatar for subramanya.vl
0
3K
Member Avatar for freakyboard

I need to encode the sending messages/data(not MD5)and then they will be decoded on the other side. Codes have to be in android libraries not in java. Is there any code or information that may help me around internet? Thx all for your help.

Member Avatar for peter_budo
0
320
Member Avatar for xxmp

I want to sent e-mail when the user is logged to inform him that was logged and all these. Which is the best library to use for this? The server is on localhost for now Thank you very much

Member Avatar for radhakrishna.p
0
76
Member Avatar for mateusz.baran1

Hello fellows! I have question. Iam doing some project to my school and I have small problem. I have chart (iam using jfreechart) in Chart.java file and after user is loading to his profe he should be able to push button and chart wit his statistics should appear. My problem …

Member Avatar for mateusz.baran1
0
513
Member Avatar for atanu.31

Data fetching I am creating a website and I am facing trouble to fetch URL data .How can i fetch URL data with the help of PHP and AJAX.And i need to fetch the data fast as facebook or the earlier version of Digg did it.If there is a code …

Member Avatar for LastMitch
0
104
Member Avatar for daravindm

hi friends. i need a help how to enable and disable multiple textboxes corresponding a button click belwo i will show u the image ![catalogsearc](/attachments/large/3/catalogsearc.JPG "catalogsearc") when i click the check box i want to enable these text fields.. hw it possible please provide a sample codes or give me …

Member Avatar for subramanya.vl
0
221
Member Avatar for ruchi18

Hi, I have a jsp file which call java class file function passing connection as a parameter all was working fine once but when i changed few code in java file and compli it complied successfully but jsp file still giving previous class function output. I am working on amezon …

Member Avatar for ruchi18
0
183
Member Avatar for manaila

I am trying to test [this](http://www.tutorialspoint.com/jsp/jsp_java_beans.htm) code but unfortunately I get `Can't find a method to write property 'age' of type 'int' in a bean of type 'test.StudentsBean'` error. But when I change age type to String and also its getter and setter methods it works well. Can anybody tell …

Member Avatar for manaila
0
101
Member Avatar for Despairy

(netbeans latest, windows 7) So, from what I understood, once I start a servlet program the html page with a form in it loads and I can debug the program only when I click the Submit button at the end of the form. if the form is doPost then by …

Member Avatar for Despairy
0
200
Member Avatar for nHulk

[CODE] <tr> [B][U]<td><a href="inbox.jsp" ><%=rs.getString(1)%></a></td>[/U][/B] <td><%=rs.getString(2)%></td> <td><%=rs.getString(3)%></td> </tr>[/CODE] See lines in Bold.....after i click it has to set session variable with value reterived from <%=rs.getString(1)% >based on which i am going to display particular contents in redirected page

Member Avatar for jalpesh_007
0
1K
Member Avatar for doniandric

i have certain codes in JSP and JSTL as following : <sql:transaction dataSource="${dataBase}"> <sql:query var="tDate"> SELECT starttime FROM campaign WHERE cid=25; </sql:query> </sql:transaction> <c:forEach var="row" items="${tDate.rows}" varStatus="totalRow" step="1"> <c:set var="starttime" value="${row.starttime}" /> <c:set var="datetime" value="${fn:split(starttime,' ')}" /> <c:set var="date" value="${fn:replace(datetime[0],'-',',')}" /> </c:forEach> <% Calendar d = Calendar.getInstance(); d.set(date); %> but …

Member Avatar for subramanya.vl
-1
180
Member Avatar for yuri1969

Howdy, for instance this JSTL snippet produces following result. <a href="<c:url value="Profile"> <c:param name="username" value="${requestScope.username}"/> <c:param name="logout" value="true"/> </c:url>"> Logout </a> Result: <a href="Messages?username=abc&logout=true">Logout</a> Ofc this thing works. However, validating against XHTML 1.0 Strict ends up with: > cannot generate system identifier for general entity "logout" href="Messages?username=abc&logout=true">Logout</a> Apparently it doesn't …

Member Avatar for yuri1969
0
342
Member Avatar for subhraakasuny

hi folks, i am a beginner in JSP, and i am studying headfirst servlet & JSP,but at the time of running a code from there,i have an problem there is directory structure **src/com/example/web/BeerSelect.java** and the code is package com.example.web; import com.example.model.*; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.util.*; public …

Member Avatar for subhraakasuny
0
301
Member Avatar for swetha1991

i have installed tomcat and deployed axis folder in the tomcat->webapps and my .jsp and .jws files in the axis folder of webapps, while my .jws files are executing successfully and showing the wsdl code, my .jsp files are showing the error page as follows: type Exception report message description …

Member Avatar for jalpesh_007
0
265
Member Avatar for abevenkat

how can i make a servlet to validate a form with two file upload one image and other a pdf file. along with the other string parameters like name age gender etc., i need to validate the pdf and image files in servlet and save it in folder of my …

Member Avatar for subramanya.vl
0
213
Member Avatar for shruti.mendiratta.1

this code has following error --it ensures that the username is unique but still insert it into database please help me to debug this error.

Member Avatar for subramanya.vl
0
85
Member Avatar for Priyanka786
Member Avatar for tarugupta.92

Hi i have a page say test.jsp It has some href links which redirect to the same page with some unique attributes depending on the link Now depending on the link clicked the page will be reloaded(as it redirects to itself) with new data. Now i want to take an …

Member Avatar for subramanya.vl
0
816
Member Avatar for CALGACUS

Hi Everyone, I'm hoping that someone might be able to help me on the following: I would like to have a textarea type control on a webpage that would permit a user to highlight some text in the 'textarea', open a file dialog box, and insert a link behind the …

Member Avatar for subramanya.vl
0
146
Member Avatar for sunnykeerthi

I'm creating an app, that displayes a String from a database. This String is then displayed in a textbox that cannot be edited. I now require that varible (ID passed) in the text box to be compared with a column in a SQL database table which is an identical String. …

Member Avatar for subramanya.vl
0
782
Member Avatar for mukulbimm

I am new to JSP. I am doing a course. where they require me to build a registration page. and when we submit entries must be into database. So that when we log in the username and password must match then only welcome page should come otherwise error page. and …

Member Avatar for subramanya.vl
0
194
Member Avatar for solomon_13000

A web server is used to process http request and send a response back to the client browser. I was wondering how does a client browser send a http request to the web server? Is it done via socket connection? Which socket connection is used to establish a connection with …

Member Avatar for ~s.o.s~
0
222
Member Avatar for xxmp

Hello i want to encrypt or hash some data and put them on the database. Which is more secure encryption or hash and how i can do this? thank you very much for your help

Member Avatar for jalpesh_007
0
863
Member Avatar for sunnykeerthi

Hi, My below code is working only if there is a single row. could you please help me in doing it for all the rows retrieved from the database. view plaincopy to clipboardprint? <%@page import="java.util.concurrent.CountDownLatch"%> <%@include file="DBCon.jsp" %> <html> <head><script type="text/javascript"> function invoke(but) { if(but==5) { document.abc.action="Users_2.jsp"; } else if(but==6) …

Member Avatar for radhakrishna.p
0
166
Member Avatar for kirill226
Member Avatar for jalpesh_007
0
73

The End.