3,760 Topics

Member Avatar for
Member Avatar for yuvi2288

hi pals, here i have the API key and Security key .... but am not able to create the session key values... i have attached my coding here... [code]<% String username = request.getParameter("username"); String password = request.getParameter("password"); FriendsterClient fc = new FriendsterClient("sessionkey", "7c253b64f5f3aa1d84b7c825ab2327e8", "3cdebc2f794af44d173a9046d12775cc"); XPath xpath = XPathFactory.newInstance().newXPath(); int uid …

0
56
Member Avatar for yuvi2288

Hi experts, This is the snippet for html file <li><a href="#">Electronics</a> <ul> <li><a href="">Mobile Phones</a></li> <li><a href="">Television</a></li> <li><a href="">Air Conditioners</a></li> <li><a href="">Photo & Optics</a></li> <li><a href="">Audio Systems</a></li> </ul> </li> And there is one jsp file called electronics.jsp.. If i click any one of the above, it should be go to …

Member Avatar for musthafa.aj
0
85
Member Avatar for yuvi2288

Hi experts, I am trying to use ajax in my webpage. I got the values from the database and displayed as links as below. param1 param2 param3 I used the following code to call a javascript function func() with dynamic parameter param in jsp. out.println("<a href='#' onclick='javascript:func('"+ param +"')'>"+ param …

Member Avatar for musthafa.aj
0
67
Member Avatar for curdiMan

hi, im using tomcat and im trying to do simple submit form. before submiting i must chek the fields. the problem is that my submit functuin dosnt sends to the server the fields values. help... how can i submit but check all the fields first??? here is my html [code] …

Member Avatar for curdiMan
0
141
Member Avatar for khurram.1987

Hello, I am creating TextChat site .. on java Servlet .. I want to know the mechanism of identifying each user to forward message updates between each other in that perticular chat room. whether it i by knowing there ip-adress OR how. THANKS to all Helpers ....

0
114
Member Avatar for hims4u

Hello mods!!This problem is really frustrating me now!! i already know about ur tutorial on MVC Connection but i do not want to follow it since it is very complicated for me to understand and implement. So i have written a code (Ora.jsp) to connect to Oracle XE on my …

Member Avatar for musthafa.aj
0
412
Member Avatar for eswaramoorthy

Hi everybody, I want to know the difference between jsp and struts. Advantage of these two. I expect from all. Thanks for your effort.

Member Avatar for musthafa.aj
0
94
Member Avatar for hims4u

hello mods!! i am a newbie in jsp and just wanted to ask a basic question! i have a small jsp code for displaying the date and time. i have tomcat6 and apache web server installed on my linux machine(using fedora 12). can somebody plzz tell me how to run …

Member Avatar for ~s.o.s~
0
240
Member Avatar for khurram.1987

Hello. Actually not that much good in web development ... So i need little help in doing this work. I am creating realtime chating site in which i am having problem that how to send mesages to user's. I've read some simple example on internet they uses request to server …

0
67
Member Avatar for merinajose

Hi I need code for searching the records in a table for specified conditions using jsp

Member Avatar for Member 784740
0
1K
Member Avatar for Viruthagiri

Hello friends, I have a table which contains file names. For example i have stored a file "java.pdf" in a directory called "course". The file is located here. [url]http://www.something.com/course/java.pdf[/url] Now i stored the file name in a column named "document_filename". I stored it as "java.pdf" Now if a user click …

Member Avatar for Viruthagiri
0
103
Member Avatar for sarfarazahmed

Actually ,i made one project for web based application,but now i have to use for desktop application.and also i don't want to show my code to customer to whom i will give my project.While running WAR file in tomcat ,it automatically makes source code file,please help me out. In advance …

Member Avatar for lemon81
0
851
Member Avatar for dodla sri

i am engineering student developing project on shopping cart...how to implement cart using jsp cookies..when user clicks on one item and add to the cart and next if he wishes to go to next page and add another item to cart, then both items value should be added in one …

0
38
Member Avatar for nikhilgotan

Hi there, i want to redirect from the SERVLET page to an HTML page after 5 seconds. Please help..!!

Member Avatar for nikhilgotan
0
235
Member Avatar for alsoumahi

Hi experts, I would ask you how to create dynamic image in JSP along with other content

Member Avatar for ~s.o.s~
0
39
Member Avatar for AbhikGhosh

Hi I have a simple jsp page in which there is an ajax call on an input string which returns the upper case of the string in json. This is working for the first time but not on successive requests. I am using the GET method. Why is it not …

Member Avatar for AbhikGhosh
0
361
Member Avatar for virendrachandak

Hi, I am using the following code to send email using JSP through gmail. But i am getting error in the following line: Session mailSession = Session.getDefaultInstance(props, null); [code] String host="", user="", pass=""; host = smtp_server; //"smtp.gmail.com"; user = jsp_email; //"YourEmailId@gmail.com" // email id to send the emails pass = …

Member Avatar for eswaramoorthy
0
355
Member Avatar for prabhabati

How to pass a hidden variable to servlet/action class on clicking of a hyperlink in jsp page.

Member Avatar for stephen84s
1
93
Member Avatar for kaustubh.pandey

i want web based project topics in java.who's r not common in development means i want smthing defferent topic which is not more complex n easy 2 built....so pls give me sm topic...4 ma project....

Member Avatar for masijade
0
140
Member Avatar for Rick The Mad

Hi, I am creating a web application that will be accessed by several different users who need to be coupled and to interact. More specifically, I would like to let both of them call the same servlet instance and make the servlet start his operations only when both users already …

Member Avatar for ~s.o.s~
0
86
Member Avatar for iamar

Hi, I am trying to call servlet using Ajax request in Post method which simply return Hello in Hebrew and I am keep getting gibbrish. I use the following code lines : 1. On the top o the JSP page - <%@page language="java" pageEncoding="UTF-8" contentType="text/html;UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML …

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

The task is very simple; you have to work on two functions Encrypt and Decrypt. The encrypt function will encrypt the user input string with the help of encryption key. The decrypt function will decrypt the user input string with the help of encryption key. The output will Hints: Encoding: …

Member Avatar for peter_budo
-1
141
Member Avatar for haya_quraan

hi please help me ihave aproblem how could icall ireport from jsp environment haya quraan <FAKE SIGNATURE>

Member Avatar for peter_budo
0
24
Member Avatar for SamuBaskar

Hi, I am new to jsp. i want to learn how to create web applications in that. Anybody please help me.

Member Avatar for peter_budo
0
55
Member Avatar for amer.m

i'm making a web application based on jsp i wan't a code that when a button clicked, take value from textbox and insert its value into mysql database pool maybe the sql stmt only isn't right my code is: [CODE]<form id="form1" name="form1" method="post" action="http://localhost:8080/servlet/mailservlet"> <p>&nbsp;</p> <table width="100%" border="0" cellspacing="0" cellpadding="0"> …

Member Avatar for peter_budo
0
140
Member Avatar for eswaramoorthy

Hi, I need to show the loading status(wait status) in cursor for all actions. If i perform some action([B]Login[/B]), then go to the backend and perform some process and it will return some value. Here this whole process will be taken some times. Now that time i want to show …

Member Avatar for javaAddict
0
150
Member Avatar for valuba

hello all, i just joined this forum. i actually joined because i am having a serious problem with my program which i believe u can help me solve. i am designing a web based application that authenticates user login using MySql as database, java as programming language and NetBeans 6.5 …

Member Avatar for ashalatha6
-1
121
Member Avatar for prem2

Hi daniweb team, I am new to Servlet concepts can any one tell why peoples use doGet and doPost method in the Same program.And What is the difference between doGet and doPost method. Thank you, With Regards, Prem.

Member Avatar for prem2
0
97
Member Avatar for virendrachandak

Hi, I need help with JSP session. My problem: I have a login page. When a user logs in then, i set a session and its expiration time. So, when the session is expired, the user will be redirected to the login page with a session expired message. I want …

0
82
Member Avatar for avidubey

I want to make a jsp page which checks some condition and if it is not true it should send error response 404 to server.. so that the tomcat server should think that the page is not available... is it possible to do in jsp..???

Member Avatar for avidubey
0
52

The End.