64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Harsimran

Hi ,everybody i am trying to use beans in jsp.....but i am stucked in first step... i have copied code from somewhere ......here beans uses a package .Beans is compiled successfully and called bean by this tag in jsp <jsp:useBean id="MyConnectionBean" scope="session" class="UserPack.ConnectionBean"/> Here UserPack is package of bean now …

Member Avatar for peter_budo
0
246
Member Avatar for jeffchan86

I'm doing a online hotel reservation system. can i any people tell me how i can i redirect the users to another page which shows the summary of the reservation after the users has submitted the reservation form??

Member Avatar for bheeks
0
78
Member Avatar for WhYuLoOkIn

My goal is to set a session variable and have it timeout after 10 min. I tried to do this with cookieless="false": [CODE] <sessionState cookieless="false" timeout="10"> </sessionState> [/CODE] The code above did not timeout after 10 min, I believe I did that correctly if not please let me know. After …

Member Avatar for bheeks
0
136
Member Avatar for skinbug

Hi, I've looked at various tutorials/forums at this but I still can't get my head around it... The senario is a html form processed by php, where the user has the option to check some boxes. Once the user has submitted the form, the admin wants to be able to …

Member Avatar for skinbug
0
104
Member Avatar for JaR

Hello! I tried searching for this error, but it seems a little uncommon, so I decided to register here. My problem is, that i would like to declare an iterator of type [ICODE]std::list<std::vector<T> >::iterator[/ICODE] within a for statement. I tried it like this: [CODE=C++]template <class T> class CSplit { private: …

Member Avatar for JaR
0
116
Member Avatar for skinbug

Hi all, when inserting values stored in an array to MySQL database, where do the values go? I have a form with 5 checkboxes that may or may not be checked, their names all being an array. Question: how do I write the sql file? assuming the names are nature[] …

Member Avatar for praveen_dusari
0
113
Member Avatar for Peppercat101

I created buttons in my coding. 100 buttons.... Each one`s name is "Button" and the row code and then the column code... I wrote a procedure that is used by the OnClick event of those buttons. Now I want to get the name of the specific one I clicked on …

Member Avatar for johnybe
0
182
Member Avatar for PsychicTide

Hey, just kind of some background so you don't think I'm fishing. I've worked with ASP,PHP,JS, AJAX, HTML, XML, etc... as well as fundamental programming languages like C#, C++, VB.net, Python, etc. I don't know all these languages extensively, but psuedo code works for me. It seems I have the …

Member Avatar for langsor
0
173
Member Avatar for justted

Hello, I was wondering if anyone could help me as I am trying to add all the rows of a particular field in a MySQL table using PHP. I have a table named members2 which has a field named points! What I want to be able to do is display …

Member Avatar for justted
0
227
Member Avatar for Scooby08

Would anybody happen to know if it's possible to hide the value of a radio button unless it is checked, and then when it is checked display that value, and then after moving on, that value stays active, and the user can fill out the rest of the form and …

Member Avatar for Scooby08
0
106
Member Avatar for mehtaneha84

My question might be very basic but I really do not know how to do this... I need to create a structure, something that looks like a protocol (a data packet actually)...this packet consists of 3 parts header, data and trailer... The header has 3 offset bytes, 64 bytes of …

Member Avatar for mehtaneha84
0
476
Member Avatar for CPPRULZ

I know this is probably a very stupid question, but I can't make the user input a string.I thought I could use cin...here is my code: [code=C++] #include<iostream> //#include<cstdlib> //#include<cstdio> #include<cstring> using namespace std; int main() { int x=0; string thing[10]; cin>>thing; //x=atoi(thing.c_str()); //cout<<x; system("pause"); return 0; } [/code] I …

Member Avatar for CPPRULZ
0
184
Member Avatar for AliHurworth

Hi all, I'm struggling to write an SQL query. I'd like to search a database for either a person or an organisation. I have an HTML form on a homepage, and this returns two values: [LIST] [*]a search term [*]a search type, either 'person' or 'organisation' [/LIST] code: [code=php] <form …

Member Avatar for AliHurworth
0
177
Member Avatar for iamoldest

Okay everyone i am new to this post but i have a fairly easy problem (i think)... so could someone help me out? :-) anyways heres my code in python 2.4....... [ICODE] #! usr/bin/env python import pygame, sys, os from pygame.locals import * pygame.init() something = 1 def dosomething(): something …

Member Avatar for ZZucker
0
123
Member Avatar for Corum

The circular list code is incomplete program with lots of feature missing, it's only one specific section that I require help with but I thought it would better to show the entirety of it to help you understand better. The section surrounded by -------------------------- is where I'm stuck, basically the …

Member Avatar for Corum
0
133
Member Avatar for Thirusha

I was working through an client side struts from the internet, everything worked fine, until the alert came up displaying "???en_GB.errors.required???" instead of the values from the MessageResource.properties file. Does anyone know what the problem could be?

Member Avatar for Thirusha
0
81
Member Avatar for desm

The following example, when executed, returns: [QUOTE]Traceback (most recent call last): File "/home/des/programming/python/OOP/test.py", line 13, in ? demonstration(6).number() TypeError: 'int' object is not callable[/QUOTE] The example: [CODE = python] class demonstration: def __init__(self,number): self.number = number def number(self): fiveup = self.number + 5 print fiveup demonstration(6).number() [/CODE] Now, I know …

Member Avatar for desm
0
95
Member Avatar for zappan

hi it me again. right now i had a problem with this code. when i open with ie6, it worked but if i use ie7,safari and firefox, the result didn't show up.here i provide the code. the error is where i mark it with the red color. please someone help …

Member Avatar for zappan
0
110
Member Avatar for Ravenous Wolf

Hi. I dont know where to put this post since it covers so many areas. I have a few queries and i would appreciate it if you guys can help me out. I am to create a web based application which will need some access to a database. The web …

Member Avatar for Ravenous Wolf
0
153
Member Avatar for NickyU

i use an older compiler, borland c++ 3.1 and it doesn't have the bool variable type so i made my own bool type [code] enum bool { false = 0, true }; [/code] but always when i try to make comparisons or other thing i get the warning ASSIGNING INT …

Member Avatar for NickyU
0
249
Member Avatar for prog77

I need to know can i make a for loop to place fopen function to open a set of files like i want file1.in file2.in file3.in .......filen.in so on depending on n value i give for num of files to be created ... as i want to place set of …

Member Avatar for prog77
0
179
Member Avatar for zappan

how to load data to DOM select html after retrieve from database using javascript. any suggestion or sample?.

Member Avatar for zappan
0
70
Member Avatar for theimben

I have the code below but how do I submit the form to a table? [CODE=php]<?php ////////////////////////////////////////// //// MySQL Database Connection /////////// ////////////////////////////////////////// $host = "localhost"; $user = "theflick_divx"; $db_name= "theflick_divx"; $pass= "password"; $conn = mysql_connect($host, $user, $pass) or die(mysql_error()); mysql_select_db($db_name, $conn) or die(mysql_error()); //DivX Table echo "<form id=\"divx\" name=\"divxsubmit\" …

Member Avatar for theimben
0
187
Member Avatar for Jean Gwyneth

hello everyone, im a new portal developer and the portal developer that i replaced used ASP in all portals that he did. now, what i need to do is continue the unfinished portals that he did out of ASP. i am not familiar with ASP because i am using PHP. …

Member Avatar for Jean Gwyneth
0
122
Member Avatar for justted

Hello, The piece of code below is basically where a member clicks on the link and then this should update that members exp_points field by the amount shown in the $points variable. So far I have managed to get it to work so that when a member clicks the link, …

Member Avatar for Shanti C
0
133
Member Avatar for planetPlosion

I've just taken a beginners project from Vegaseat and modified it to fit with a Tkinter tutorial. I'm just trying to get a Tk window that has a "Go!" button and by pressing it prints the sentence. I'm having lots of trouble. I've gained a lot from this though, so …

Member Avatar for planetPlosion
0
341
Member Avatar for Scooby08

I have an invoice type of system and am having troubles trying to update an item.. I have 3 tables that deal with the orders.. Here they are: [code] CREATE TABLE `dw_orders` ( `order_id` INTEGER unsigned NOT NULL auto_increment, `customer_id` INTEGER unsigned NOT NULL, `order_date` DATETIME NOT NULL DEFAULT '0000-00-00 …

Member Avatar for mcd
0
125
Member Avatar for Anonymusius

I have this code: [code] #include <iostream> using namespace std; class hello { private: char array[4][5]; public: hello(); void get_hello(){cout << "From the function: array[2][2] = " << array[2][2] << endl;} } hi; hello::hello() { char array[4][5] = { " ###", "####", "####", "####" }; cout << "From the constructor: …

Member Avatar for killdude69
0
164
Member Avatar for desm

I'm trying to write a phonebook application using Tkinter. It's not very advanced, and it's mentioned in this tutorial: [url]http://openbookproject.net//py4fun/gui/tkPhone.html[/url] The full source of the tutorial's version being here: [url]http://openbookproject.net//py4fun/gui/tkPhone.py[/url] However, I'm trying to write a version myself, yet I keep getting the following error: [QUOTE] File "phonebook_test.py", line 96, …

Member Avatar for desm
0
2K
Member Avatar for &rea

hello, I have get through this problem, I want to divide these numbers but the result calculated by c++ is not right. I am quite sure it is due to the type of the variables but I don't know how to solve it. [code] unsigned long long u40=16825420246; unsigned long …

Member Avatar for &rea
0
128
Member Avatar for emilio
Member Avatar for vishakha_ate

Hi friends, Need you help. I m using some search criteria and searching the data from database. now i got the data from database as per search word. and displaying all information on web page. now i want to change the background color of that word as when we search …

Member Avatar for vishakha_ate
0
124
Member Avatar for knrakesh

Hello friends, i want to get the o/p like this please check this Browse 'A' Thank u Rakesh Nagekar

Member Avatar for Shanti C
0
75
Member Avatar for jorgeflorencio

...[CODE] Hello everyone i have some csv files that are the result of the inspection machine... these CSV files have the following layout[/CODE] [CODE],SRFF File: D:\SPI Master Program List\200-34-02\200-34-02-B-01-R.SRF ,Panel Name: Panel Description ,Units: Microns ,Date,Time,PanelId,Board,Location,Part,Package,HeightAvgResult,HeightAvg,HeightAvgUpFail,HeightAvgLowFail,HeightAvgTarget,HeightRangeResult,HeightRange,HeightRangeMax,AreaAvgResult,AreaAvg,AreaAvgUpFail,AreaAvgLowFail,AreaAvgTarget,AreaRangeResult,AreaRange,AreaRangeMax,VolumeAvgResult,VolumeAvg,VolumeAvgUpFail,VolumeAvgLowFail,VolumeAvgTarget,VolumeRangeResult,VolumeRange,VolumeRangeMax,XOffset,YOffset,Rotation,Scaling,HAVFailedFeatureResult,HAVFailedFeatures,HAVFailedFeatureMax,RegFailedFeatureResult,RegFailedFeatures,RegFailedFeatureMax,BridgeFailedFeatureResult,BridgeFailedFeatures,BridgeFailedFeatureMax ,07/19/2008,00:48:55,#280,Module 1 ,IC2,TSOP8,SOP8_1,F,138.539642,238.000000,84.000000,140.000000,P,9.226400,140.000000,P,427747.781250,729933.140625,243311.046875,486622.090000,P,26717.400391,486622.093750,P,60986780.000000,122628772.800000,34063548.000000,68127092.600000,P,3087930.000000,68127096.000000,-22.886625,-23.317499,-0.039985,-0.131595,P,0,1,P,0,1,P,0,1 ,07/19/2008,00:48:55,#280,Module 1 ,C38,0402,0402_1_3,P,131.077194,238.000000,84.000000,140.000000,P,12.636800,140.000000,P,265426.750000,470565.468750,156855.156250,313710.320000,P,5929.500000,313710.312500,P,36161180.000000,79054999.200000,21959722.000000,43919444.800000,P,2340260.000000,43919444.000000,-26.636499,-28.285000,-0.201710,-0.635564,P,0,1,P,0,1,P,0,1 ,07/19/2008,00:48:55,#280,Module 1 ,C66,0402,0402_1_3,P,146.934555,238.000000,84.000000,140.000000,P,4.062300,140.000000,P,266860.500000,470565.468750,156855.156250,313710.320000,P,15511.000000,313710.312500,P,40048568.000000,79054999.200000,21959722.000000,43919444.800000,P,235260.000000,43919444.000000,-32.004501,-21.340000,-0.163571,-1.147347,P,0,1,P,0,1,P,0,1[/CODE] so i need some help …

Member Avatar for jorgeflorencio
0
267
Member Avatar for MrGobroski

Greetings... I am trying to get a 2-d vector filled with a records form a dataset. this is what I have: [code] int StudentNum = 1, rflds; TDataSet *Students = DSet; String stu; rflds = Students->FieldCount; //Number of fields in the dataset vector< vector<String> > dataset(Students->RecordCount, vector<String>()); while (StudentNum <= …

Member Avatar for MrGobroski
0
171
Member Avatar for knrakesh

hello friends, if i want to search with [B]A[/B] in searching and if i want to [B]B[/B] please send code thanks Rakesh Nagekar

Member Avatar for Shanti C
0
87
Member Avatar for abu taher

i put a image box with a image. my screen resulation is 800 * 600. but when i change it to 1024 * 768 the image show small. i want the image will change with the change of screen resuation. help me

Member Avatar for QVeen72
0
73
Member Avatar for troblekid

I am trying to make it so that the user can move anyone of the 10 Label box called "lblmovebox" onto any one of the top ten blank label box called "lbldropbox". So they can pick up any one of the "lblmovebox" and drag it onto anyone of the top …

Member Avatar for troblekid
0
154
Member Avatar for Spartan552

Hi. I need to use a fstream variable for each instance of my class but... #include <fstream> class MyClass { public: MyClass(bool bKernel) { } std::fstream fichier; }; int main() { MyClass module(false); module = new MyClass(true); return 0; } This one wont work printing some weird errors : g++ …

Member Avatar for Duoas
0
242
Member Avatar for bondo

I'm having a strange problem. I have an array of strings that I need to separate into separate data members and insert into a SQL database. It all works fine, except for where I convert a string to a decimal and insert that. It works if the decimal has no …

Member Avatar for bondo
0
190
Member Avatar for plike922

i am trying to write a program that finds all twin primes between 1 and 100. any suggestions? [CODE]#include <stdio.h> #include "genlib.h" #include "simpio.h" int main() { int n1, n2, y, x; printf("This program list all the twin primes.\n"); for (y = 3; y <= 98; y += 2) { …

Member Avatar for jaikjoel
0
280
Member Avatar for Seachmall

So I'm writing a small Blackjack game and divided a class up into 2 to keep everything tidy but keep getting this little error: [i]global name 'handle_input' is not defined[/i] The code: The class being called... [ICODE] #File: handle_input.py class handle_input: ...[/ICODE] The file defining the class... [ICODE] #File: control.py …

Member Avatar for Seachmall
0
348
Member Avatar for jBrennan

I've got a tag file, "nav.tag" with the following attribute: [code=jsp] <%@ attribute name="navigation" rtexprvalue="true" type="java.util.Map" %> [/code] I get nothing when I attempt to assign a Map value to a variable like this: [code=jsp] <c:set var="articleSection" value="${navigation['ARTICLE']}" /> [/code] However, this works: [code=jsp] <c:forEach items="${navigation}" var="s"> <c:choose> <c:when test="${s.key …

Member Avatar for jBrennan
0
89
Member Avatar for CPPRULZ

I'm trying to figure out how to use the atoi function I have wrote and understand this so far: #include<iostream> #include<cstdlib> #include<cstring> using namespace std; int main() { int x; string str="34"; x=atoi(str); cout<<x; system("pause"); return 0; } And Then I get error reports about a freakin const char?! HELP!

Member Avatar for CPPRULZ
0
573
Member Avatar for snurd

I know how to open an Excel file with VB but I need help with writing an argument to see if the file is already opened, because if the file is already opened the Excel file opens as read only. If it's already open I want to skip to the …

Member Avatar for snurd
0
116
Member Avatar for shijunair

Hello everyone, I am new to this forum and help will really be appreciated.hope that you'll will help me. I am working on a project using jsp,servlet,ms-access as database. I have to prepare a login page which should be validated with the database and i have done the coding for …

Member Avatar for Sharaiha
0
675
Member Avatar for robertmacedonia

I get an error when I try to give this button a na ction of showing a new form. It says: `"error C2039: 'poeni' : is not a member of 'IgraBobi'"`. But this "poeni" form IS a member of the "IgraBobi" solution. I added it correctly, why doesn't it recognize …

Member Avatar for Wiki_Tiki
0
120
Member Avatar for robertmacedonia

I got this error and have no idea what it means... May i get a little help please ? error C2059: syntax error : ']' [code][ #include <iostream> using namespace std; int broj (int be, int a[]) { int br=0; int f=0; int b[200]; for(int i=0;i<=br;i++) { for (int j=0;j<=br;j++) …

Member Avatar for robertmacedonia
0
86
Member Avatar for Prodian

[B]Background Info[/B]: I have 2 tables one called cats with categories (ie:Administration) and catid (ie:1,2,3,4..etc.) and another table called links which has catid(ie: 1,2,3,4...etc.), url, title. [B]Here is what Im trying to do[/B]: I already have it displaying everything nice and pretty but now i need to change up how …

Member Avatar for Prodian
0
160
Member Avatar for emilio

hi i am trying to add a picture to jsp page. i'm using netbeans software. the problem is when i run the page the picture is shown with red x mark. the picture is available from ie and i restored my security settings to default.

Member Avatar for emilio
0
108

The End.