52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Stefano Mtangoo

Hi All, I have JSP and Servlet that need to "talk" to each other. Actually I need to get record from database, fill it in JSP file. I have created Servlet that does the query and gets the result. I need those results to be shown on JSP file. In …

Web Development html-css java-jsp session
Member Avatar for Stefano Mtangoo
0
141
Member Avatar for pauloludele

which IDE is good for developing jsp app?

Web Development ide java-jsp
Member Avatar for peter_budo
0
154
Member Avatar for EntangledDesi

This is the code I have so far, but something seems to be wrong with it. I don't know what though. Could someone point out what I'm doing wrong? [CODE]<HTML> <HEAD> <TITLE>Fun with Phonics</TITLE> </HEAD> <BODY> <CENTER><IMG SRC="fun.jpg" HSPACE=5 VSPACE=5 HEIGHT=64 WIDTH=129></CENTER> <CENTER><HR Width="75%"></CENTER> <SCRIPT LANGUAGE="JAVASCRIPT"> <!--Hide from old browswers …

Web Development html-css javascript
Member Avatar for essential
0
181
Member Avatar for bsse007

i have a [B]sign up [/B]page. when user signup ,his data moves to database'table having 4 colomns.1 is of username,2 of password, 3 of email & last for title. when he signsup,a page [B]choice.html[/B] opens that offers to login now or later. if the user login at that time ,he …

Web Development php session
Member Avatar for Horacio91
0
147
Member Avatar for DhCoder

Here is the error message Object reference not set to an instance of an object. Line 18: FuelDSTableAdapters.FuelTableAdapter dsFuelTableAdapter = new FuelDSTableAdapters.FuelTableAdapter(); Line 19: decimal totalFuel = (decimal)dsFuelTableAdapter.TotalFuel(DateTime.Parse(TextBox2.Text), DateTime.Parse(TextBox1.Text)); Weird thing is - it works based on the dates I put into the text boxes. I think it has something …

Web Development asp.net
Member Avatar for rohand
0
150
Member Avatar for kipl20

Hi, I have created a site and on one page it uses 2 divs side by side to display text information. in the left hand div it contains 8 links. these links when clicked load up text stored in separate text files and display it in the right hand div. …

Web Development javascript
Member Avatar for Lee Turner
0
481
Member Avatar for grafiksinc

Hello All, I have a Web Application I am developing that has a GridView. I have searched the internet to no avail looking for an answer to this. The gridview has 11 columns. I want to hide the 11th column while in normal mode and make visible while in edit …

Web Development asp.net vb.net
Member Avatar for grafiksinc
0
134
Member Avatar for jhbalaji

I have written a licensing system for my script and now i saved it an file called lic.php in the root folder I am going to encrypt that with ioncube when giving to a client side and i will simply include [CODE]include "lic.php" [/CODE] to call the licensing system But …

Web Development php
Member Avatar for diafol
0
155
Member Avatar for KBL

[ICODE]Hey I want when i click the submit button it runs a php script that then loads it to a local database where I can then use the entered data as a way for someone to login into the site but everytime i click the submit, it downloads the whole …

Web Development php
Member Avatar for diafol
0
3K
Member Avatar for hitro456

Hi folks, I have a web page...which has a drop down box. whichever value is selected from that drop down certain number of labels and text boxes have to be created accordingly. [Actually database drives this...] Can anyone tell me, how can I achieve this ???? One more thing...I wanna …

Web Development asp.net
Member Avatar for smariano77
0
92
Member Avatar for kram54

hi everybody this project my graduate project pls help me .. i dont understand where is error and how to sending mail ?[code]mr.php------------- <html> <body> <table width="380" border="0" cellpadding="3" cellspacing="1" > <tr> <td width="33%"><strong>Enter your email : </strong></td> <td width="67%"><form name="form1" method="post" action="mm.php"> <input name="email_to" type="text" id="mail_to" size="25"> <input type="submit" …

Web Development php
Member Avatar for kram54
0
172
Member Avatar for LloydFarrell

Can someone tell me why I am unable to update a table in mysql using php with session data. First of all, I have done some reading around daniweb and Im not sure if i should be using UPDATE or INSERT to update the table. I have session_start(); at the …

Web Development mysql php session
Member Avatar for LloydFarrell
0
2K
Member Avatar for .watts.

Hello all, I've made my first wordpress theme from scratch and as expected I'm running into some trouble getting it to function. Here's the error message: Parse error: syntax error, unexpected $end in /home/seve4033/public_html/blog/wp-content/themes/sevensharks/footer.php on line 35 ...line 35 is </html> so I'm lost as to what is unexpected. If …

Web Development php ui-ux wordpress
Member Avatar for chrishea
0
174
Member Avatar for Chammarox

Hi Every one !!! I want to know how i need to capture a duplicate value in database..For example if user enters the same E-mail which already in the database, I want to give a javascript alert or else re-direct to another page and wants to tell that "This is …

Web Development asp.net session
Member Avatar for Chammarox
0
128
Member Avatar for Poonam_l

How to create Database connectivity for sql server express edition 2008? plz Help me.. i am confused so much...

Web Development asp.net sql
Member Avatar for paslanmaz
0
121
Member Avatar for ranuvishwakarma

hello, plz tell me how to show some value in message box in asp.net using c# on the same page.

Web Development asp asp.net c#
Member Avatar for paslanmaz
0
147
Member Avatar for hno

HI every one I have tried 3 wysiwyg for my php web site , like ckeditor and openwysiwyg . I'm using the latest version but they have some problems and they didn't work good . I want a simple and good wysiwyg editor . What do you suggest ? thanks

Web Development php
Member Avatar for diafol
0
68
Member Avatar for Chammarox

Hi All the members in DaniWeb :cool: I need to know how to end a created session when user log out from the web site..I have created a web-site for my assignment..and i put Sessions..Each time user log in to system it create session object and identifies the user.. What …

Web Development asp.net session
Member Avatar for paslanmaz
0
139
Member Avatar for Olliepop

Hey guys So at the moment i'm making an online strategy game a bit like tribalwars.net. I'm having a problem with building construction, unit recruitment, travel times etc. For example.. When a user clicks "build" for a building, the building will be added to a queue and will be completed …

Web Development php queue
Member Avatar for diafol
0
96
Member Avatar for sahildw

hi, i want show my login form [B]on page load[/B] function, i have this ref [url]http://colorpowered.com/colorbox/cor...le5/index.html[/url] in this page see the option [B]Outside Webpage (Iframe)[/B] i need this function on page load not in click thnks in advnsss

Web Development javascript
Member Avatar for sahildw
0
38
Member Avatar for WargRider

Hello everyone, so I am going to be developing a website for a friend of mine. He owns this business that allows people to come to his store, pay 20 dollars and play some games. He wants on his website, a paying system, where users can pay 15$ instead of …

Web Development php
Member Avatar for WargRider
0
77
Member Avatar for grub87

Hi!! I'm using JSP+Servlets+JavaBeans to make a simple application of inventories. I have created some beans in the servlet that contain the name of a factory , and then i want to get that data in a jsp page. Since i'm having many names of factories i named the respective …

Web Development java-jsp
Member Avatar for kakashi_sensi
0
156
Member Avatar for ismael ahm@d

*********test.php************** ****************************** <form action="/forums/test_records.php" method="post" name="test" id="test"> <table width="385" border="1" align="center"> <tr> <td width="120">Date: </td> <td width="249"><?PHP echo date("Y-m-d");?></td> </tr> <tr> <td>Particulars:</td> <td><input name="Particulars" type="text" size="40"></td> </tr> <tr> <td>Debit:</td> <td><input name="Debit" type="text" size="40"></td> </tr> <tr> <td>Credit:</td> <td><input name="Credit" type="text" size="40"></td> </tr> <tr> <td colspan="2"><div align="center"> <input type="submit" name="Submit" value="Submit"> </div></td> …

Web Development php
Member Avatar for jayreis
0
297
Member Avatar for GeoffC

I have a parent table and a child table linked with an Id. The child table has two fields - ch_id and item. The parent table has a field which stores the value of ch_id for that row. I have set up a php script to generate a selection list …

Web Development linked-list php
Member Avatar for GeoffC
0
83
Member Avatar for cloud09

I have a sliding navbar that works fine until the mouse is moved too quickly over the links. Each link expands onmouseover and contracts onmouseout. The problem is, the onmouseout event is missed sometimes and then the link doesn't contract. Does anyone have a way to ensure that links are …

Web Development javascript
Member Avatar for cloud09
0
109
Member Avatar for Davife

I have a site which maintains a local message database and addressbook. What I would like to do is the following: When a user contacts another user a record of that message is stored in the message database and an email is also sent to that user. Any response to …

Web Development email php web-server
Member Avatar for digital-ether
0
117
Member Avatar for borntowin_786
Member Avatar for nadskap2

Hey... I've got some problems with jQuery. Code: jQuery: [code] <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".bspicdiv").animate({height:0},"fast"); $(".bspicdiv").animate({width:0},"fast"); $(".bspic").click(function(){ $("#box").animate({height:500},"fast"); $("#box").animate({width:500},"fast"); $(".bspicclose").click(function(){ $(".bspicdiv").animate({height:0},"fast"); $(".bspicdiv").animate({width:0},"fast"); }); }); }); </script> [/code] PHP/HTML: [code] echo "<a class=\"bspic\" href=\"#\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"80\" width=\"80\" /></a>"; echo "<div class=\"bspicdiv\"><a href=\"#\" class=\"bspicclose\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"450px\" width=\"450px\" /></a></div>"; …

0
69
Member Avatar for johndoe444

Say I have an xml document contained in the variable xmlDoc Now if I send that to the server using [ICODE]xmlHttp.open("POST", url, true); xmlHttp.onreadystatechange = handleStateChange; xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;"); xmlHttp.send(xmlDoc);[/ICODE] How is the serverside php code going to handle this? As form data are retrieved as fn = _POST["firstName"] if the …

Web Development javascript xml
Member Avatar for johndoe444
0
75
Member Avatar for nadskap2

Hello there members of DaniWeb :) Im making a website for my father but suddenly an error came up :( Error: Parse error: syntax error, unexpected '(' on line 44 Code: $first = true; $include_file = "./inc/acp.php"; foreach($_GET as $key => $value) { $include_file .= (($first)?("?")("&")) . $key . "=" …

Web Development php
Member Avatar for almostbob
0
79
Member Avatar for nlvp

Apologies if this is simple to some, but it's been doing my head in. I've got my client application receiving the XML from the server but I'm having a hell of a time parsing it. The XML is : [CODE] <?xml version="1.0" encoding="UTF-8"?> <page> <id>1</id> <code>HOME</code> <template>1</template> <menulevel>0</menulevel> <menuname></menuname> <menutooltip></menutooltip> …

Web Development client-server javascript xml
Member Avatar for fxm
0
178
Member Avatar for anoopasta

Dear All, I have a dedicated server with Godaddy and I am running XMLDigitalSignatureAPI on it. It works fine on my local server but when I uploaded the war file to the production server I got the error below and if I try to refresh the page again I get …

Web Development java java-jsp xml
Member Avatar for anoopasta
0
273
Member Avatar for colon3l

Hi ! Let's get directly to the problem : I'm actually doing a firefox extension in which i would like to implement the [URL="http://jwebsocket.org/"]jWebsocket API[/URL] in order to build a small chat. I got my main script file, named [I]test.js[/I], and the jWebsocket lib into a js folder. Just for …

Web Development api javascript websocket
Member Avatar for colon3l
0
140
Member Avatar for ErlendHL

Hey! I want it so that the user presses an A tag, a link, to submit a form. Here is some of my code: [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>jeje</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript"> function popup(url, height, width,form){ newwindow = window.open(url,'333','height='+height+',width='+width); if (window.focus) …

Web Development javascript
Member Avatar for fxm
0
112
Member Avatar for antman89

Help, I dunno what is d 1st step of creating a shopping cart in asp.net.

Web Development asp asp.net
Member Avatar for antman89
0
342
Member Avatar for koxy911

Hi all! I need some help. What I need is, to make a listbox, and fill it from a mysql database, which contains users from my website. The idea was, to select two or more users from that listbox, and after hitting a submit button, I would see the comments …

Web Development php
Member Avatar for koxy911
0
147
Member Avatar for skumar.snl

hi, We are showing Video with slides(images) in silverlight .Our images come from amazon server now we want to cache these images before starting Video. our code is given below: private void LoadImage(string ImageURL) { WebClient downloader = new WebClient(); downloader.OpenReadCompleted += new OpenReadCompletedEventHandler(downloader_OpenReadCompleted); string fileName = ImageURL; downloader.OpenReadAsync(new Uri(fileName, …

Web Development asp.net caching session
0
128
Member Avatar for paragouldgamer

I was wondering if there was a contains word to use with a mysql query, my current query is : //$query="SELECT * FROM $table WHERE date = '$selecteddate' AND Style = '$selectedstyle' AND Platform = '$selectedplatform'"; but the $selectedplatform isn't always the only thing in the Platform column, I just …

Web Development mysql php
Member Avatar for shekar.bdn
0
86
Member Avatar for CFROG

All arguments aside from using $html->tag() instead of <tag> ... I'm a trying to create a table to display photos I'm pulling from the database and something is amiss. When I was testing this I changed $num_cols to 2 and it ended the row and started a new one after …

Web Development php
Member Avatar for CFROG
0
104
Member Avatar for ghost_from_sa

Hey guys im having an issue with a text file going past the end of file when its reading the lines even if there is text inside it... [CODE]<% // Gets the request var strQuery = Request("Show") + ""; var fso = Server.CreateObject("Scripting.FileSystemObject"); var errorMsg = false; var strError = …

Web Development asp javascript
Member Avatar for ghost_from_sa
0
123
Member Avatar for muralibobby2015

hello.... it could be interesting.......my frnd asked a question to me...on if else condition. for suppose... [ICODE] <?php if(Condition) { echo "hello"; } else { echo "world"; } [/ICODE] it is the question. she asked me how to write condition for print hello world.

Web Development php
Member Avatar for mrnutty
0
86
Member Avatar for Roses89

Hey guys, Im new to php and i have been given a question which i dont understand: --Create a PHP page that will display the content of each of the fields of the customer table of the warehouse database. Save the file as task3.php.The following code will be helpful (you …

Web Development php
Member Avatar for Roses89
0
2K
Member Avatar for Th3nutz

Hello, i think the title describes exactly what my problem is. Please if anyone knows something post.

Web Development actionscript flash php
Member Avatar for Chosen13
0
111
Member Avatar for nonshatter

Hi all, I have a been developing an Online auction website using PHP and Mysql for the last few weeks. I have implemented everything including the 'bidding', 'buy it now' options of the auction etc. I don't know much about AJAX to be honest, but I think it is the …

Web Development javascript
Member Avatar for fxm
0
4K
Member Avatar for Linlin

Hello! I'd like to ask a question, and I guess the simplest way to explain what I want is to simply show you the [URL="http://lace.forthesky.org/wardrobe/angelicpretty/op"]page[/URL]. See the sort by list? I simply want to sort the entries by year, which I did succeed with, in a way. The problem is …

Web Development linked-list mysql php
Member Avatar for Linlin
0
726
Member Avatar for ddempsey96

I am having the strangest problem. Here is my code: <c:set var="updAlloc" value="" /> [CODE]<if test="${1==0}" > If Statement: ${1==0} <c:set var="updAlloc" value="disabled" /> </if> Update Alloc equals ${updAlloc}[/CODE] This is the output: [CODE]If Statement: false Update Alloc equals disabled[/CODE] Originally, I was testing a different variable, but realized that …

Web Development java-jsp
Member Avatar for ~s.o.s~
0
87
Member Avatar for Stefano Mtangoo

I wonder why this does not insert data :-O [CODE=JSP] <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@page import = "java.sql.*" %> <%--@page import = "dbfiles.*" --%> <% //VDbManager mgr = new VDbManager(); String sqlApp = "INSERT INTO application VALUES (NULL, 810, 2010-08-26, 2010-10-27, 30, \"Dummy Leave\", \"Dummy Reason \", \"Applied \")"; Class.forName("com.mysql.jdbc.Driver"); Connection …

Web Development java-jsp
Member Avatar for Stefano Mtangoo
0
180
Member Avatar for eagled2

I am creating a page of articles for a site i'm working on. The current page i'm creating needs a list of articles by date. I want to have it list the year the article was posted as a header then list only the entries for that year underneath. I …

Web Development mysql php
Member Avatar for eagled2
0
141
Member Avatar for smoh

I'm having a hard time getting this to work! I currently have 3 dropdowns. The 1st one will open up the 2nd 3rd ones. The 2nd one has just 1 value and the 3rd one has about 60 values the user can choose from. Then they fill in a text …

Web Development php
Member Avatar for smoh
0
771
Member Avatar for gumby64

I am trying to create an email form that allows the user to subscribe or unsubscribe to an email list. It goes bad at line 25. This is what I have so far: I can not figure out how to write the unsubscribe part. I used if/elseif/else: 1 <?php 2 …

Web Development php
Member Avatar for gumby64
0
133

The End.