17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for anand01

hi all, I am accessing the database by MVC model now i need to create list box , list options already in database .What should I do should i connect database with jsp directly or any option available. Thanks

Web Development java-jsp
Member Avatar for anand01
0
94
Member Avatar for woopi

How do I deal with quotes here? What i want is /[^a-zA-Z0-9-_.,!()'\/"]/ but how do i deal the quotes? [CODE] $pattern = '/[^a-zA-Z0-9-_.,!()'"\/' . $whatever . ']/'; return preg_replace($pattern, '', $value); [/CODE] Cheers!

Web Development php regex
Member Avatar for woopi
0
1K
Member Avatar for Donnovan

hi guys, i'm trying to write an character converter using php and ajax. i'm getting a really anoing error(uncaught TypeError). can someone help me with this.?:?: , i've added screenshot of the error. and this is the xml i'm trying to read generated with php [CODE]<?php $key = $_GET['key']; header('Content-type:text/ …

Web Development javascript php
Member Avatar for Donnovan
0
174
Member Avatar for manish250

Hi All, I am new to web services.I want to know when i am writing the web services client how can i decide whether i have to write it using axis or axis2.I mean how to decide whether to use axis or axis2. Thanks to all in advance........

Web Development xml
Member Avatar for pritaeas
0
153
Member Avatar for raul8

Hello, I'm not able to access jar files from servlet. Although I have imported all the class file and made the jar file available in build path. [CODE] protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintWriter out = response.getWriter(); cmd = request.getParameter("cmd"); System.out.println(cmd); String output = runCommand(cmd); …

Web Development apache java-jsp session
Member Avatar for peter_budo
0
361
Member Avatar for Midnite007

I am using this gallery script on a site I am working with and for some reason can not seem to get the Back to Menu ( link ) at the bottom of the code to be at the bottom of the page or at least under the images that …

Web Development html-css javascript-jquery php
Member Avatar for diafol
0
143
Member Avatar for Fortinbra

My web application has the ability to process data from word docs and PDF files. We recently had a client who attempted to run files that are of a significantly larger size than anything we tested with. 50MB-500MB PDFs compared to our test files of 1MB-30MB files. If they don't …

Web Development asp.net mssql pdf
Member Avatar for riteshbest
0
119
Member Avatar for karthik_ppts

Hi Frendz, I have two text fields 'from time' and 'to time'. The time format of the two text fields are 11:30 am 01:30 pm. I want to give alert message in javascript when the users enter the to time less than the from time.

Web Development javascript
Member Avatar for karthik_ppts
0
218
Member Avatar for khushhappy

Problem:- I have entered/input in database the date in its default format(Y-m-d). My requirement is to show the date in date-month-year format rather than year-month-date format. well i cannot enter the date again in database as it contains hundreds of record. Picture as attachment.

Web Development php
Member Avatar for urtrivedi
0
86
Member Avatar for mukororokudo

hello guys .. here i go again .. i'm having a problem with my registration form .. my reg. form has 'password' field and 'confirm password' password field .. now i want to compare if the 2 passwords are entered the same but it doesn't seem to work .. its …

Web Development php
Member Avatar for rajesh205
0
111
Member Avatar for shanker31

Hello every1, I want to take two integer value from the user and display the result(sum) as output.. I am using the following JS code : [CODE]function message_comm() { var num1=prompt("Enter the 1st number"); var num2=prompt("Enter the 2nd number"); alert('The sum :'+num1+num2); }[/CODE] The output I am currently obtaining is …

Web Development javascript
Member Avatar for Taywin
0
180
Member Avatar for samsnov

I am building a static website, and I have images in my index page each image has a title name, how do I make an image clicked to open in a different window if clicked, I have a template page designed to be used for opening an image in a …

Web Development javascript
Member Avatar for samsnov
0
165
Member Avatar for tsp003

Hi, I think I need a fresh pair of eyes on one of my scripts. I've adapted the following code for my own purposes and it almost works perfectly. When it gets to the last table (line 168: add record to jobs table) it adds the record twice and I …

Web Development php
Member Avatar for tsp003
0
204
Member Avatar for Buppy

Hi, A quick question - i have a string containing text like this: [CODE] \\u003cspan class=\\\"someClass\\\">Some text\\u003c\\\/span> [/CODE] How do i get that "Some text" value into an array? I tried [CODE] preg_match_all("/\\\\u003cspan class=\\\\\\\"someClass\\\\\\\">(.*?)\\\\u003c\\\\\\/span>/",$str,$res); [/CODE] Returns nothing. I think there's something wrong with the regex pattern. Maybe anyone can correct …

Web Development php regex
Member Avatar for pritaeas
0
146
Member Avatar for rotten69

hey everyone, I'm just having a problem debugging this line and I don't see anything wrong with it. I tried using SelectValue and other ways but nothing seems to be working. The error message I get is that Exception Details: System.FormatException: Input string was not in a correct format. [code] …

Web Development asp asp.net
Member Avatar for kvprajapati
0
106
Member Avatar for khushhappy

Problem:- I want to show only those Documents which are before the deadline of the page. when deadline equals or less than the currentdate then show else move to archive or send to archive file. How to write a code for this or a query ? as for understanding , …

Web Development php
Member Avatar for khushhappy
0
109
Member Avatar for SagarSe7en

Hello Guys! Posting this thread based on the topic of NumberFormatException null... This is how it goes. Im calling records from the db into a JSP. [CODE]String FirstName = Results.getString("FirstName"); String MiddleName = Results.getString("MiddleName"); String LastName = Results.getString("LastName"); int BorrowerID = Integer.parseInt(Results.getString("BorrowerID"));[/CODE] When i try to call it in the …

Web Development java-jsp
0
67
Member Avatar for narekm

Hello there . Please could you tell me what IDEs are considered to be top IDEs for web development mainly for PHP ? Thanks in advance!!!

Web Development ide php
Member Avatar for diafol
0
165
Member Avatar for Rizi004

Hi every one my question is that i want to validate the form when any one wants to login or sign Up i want to check that the email address is correct or not means that email address include '@' char or not if not an error message should be …

Web Development javascript
Member Avatar for Rizi004
0
390
Member Avatar for anand01

hi, I need to draw bar graph in jsp. give me some suggestion for this. which one will be best whether drawing in java script in or Jfree chart . Thanks in advance

Web Development java-jsp
Member Avatar for anand01
0
103
Member Avatar for atalkingfish

I have a page on my testing site where users can post news. The posting page has a title, link, and body. The link can be left optional. I wanted the page to turn out that if a link was provided, it would make an <a> tag around the title, …

Web Development php
Member Avatar for atalkingfish
0
125
Member Avatar for amear

i have a smile function i want a simple add on it i want to set the limit for replace codes with smiles function smiles($shout){ //This function searches the shout for the smilies and replaces it with the image code. $FileName="lists/smiles.php"; $list = file ($FileName); foreach ($list as $value) { …

Web Development php
Member Avatar for diafol
0
258
Member Avatar for Jazerix

Hey there I'm currently going through a guide made by wrox, getting started with a asp.net Anyways, ive stumbled across a problem :( In the tutorial it tell me to access "Profile.Preferences.Theme" however in my Webform, there is no such option This is my current "Web.config" file [CODE] <configuration> <system.web> …

Web Development asp asp.net
Member Avatar for Jazerix
0
209
Member Avatar for kaosjon

Hi, i am just adding the last component to my registration page, but i am having a little trouble with it. Basically my website includes a referal based system, wherebye when the user signs up they can add a referal that benefits the referal later on. The code i am …

Web Development mysql php sql
Member Avatar for kaosjon
0
122
Member Avatar for gotboots

Hi all, I have this code that seems to work fine for the order but cant get it to pass the invoice side of things. the trouble im having is when i do the order its fine, but when i do an invoice it sends me back to the order …

Web Development javascript php sql
Member Avatar for gotboots
0
168
Member Avatar for bipies

Is there any way to execute a wordpress plugin's call tag [CODE][pluginname=parameters] [/CODE] from custom fields? Actually I'm trying with a function and then calling it from the template: [CODE]<?php if ( function_exists('get_custom_field_value') ){ get_custom_field_value('my custom field', true); } ?>[/CODE] but my result is the plugin call tag [CODE][pluginname=parameters][/CODE] . …

Web Development php wordpress
Member Avatar for bipies
0
179
Member Avatar for LRNPHP

Hi There, I would like to know if it's possible to use or what I could use to get the required results. The values [code] +2711 081 076 086 080 9011 6547082 9013 9039 9086 9041 +27084 substring(table,length(tbl_code),length(tbl_code))=trim(tbl_code) [/code] I have different values lengths in my MySQL table that's not …

Web Development mysql php
Member Avatar for twiss
0
123
Member Avatar for anand01

Hi all , I need to transfer data from jsp to servlet.. am accessing db from servlet .. I need to tranfer those db content to my jsp page how can I achieve that . thanks in advance

Web Development java-jsp
Member Avatar for anand01
0
5K
Member Avatar for bostonselkirk

Hi all. As a hobby I've been working on making a website with PHP and MySQL, both of which I am new to. I'm having some trouble with the comments system as I can't seem to be able to insert a date into the database. After the "insert", when I …

Web Development mysql php
Member Avatar for pritaeas
0
177
Member Avatar for m1n1m3

Hi! I have a function that i like to move 2 image objects around. (it works with 1) But im getting errors while im trying to pass multiple object id-s. I believe example will tell you more. [CODE] <script> function Init() { document.getElementById('pilt_kivi').style.left = x + 'px'; document.getElementById('pilt_kivi').style.top = y …

Web Development javascript
Member Avatar for m1n1m3
0
241
Member Avatar for SagarSe7en

Hello Friends! Want to Post something i know might be very weird but this is how it goes. In Java we use [CODE]RS.getString("FirstName");[/CODE] to get the value of the column FirstName from the database. If the valueis not detected then it shows null in the Text Box. [CODE]RS.getInt("StudentID");[/CODE] to get …

Web Development display java-jsp
Member Avatar for SagarSe7en
0
392
Member Avatar for raviaaaa

After installing tomcat 6.0 server into my machine iam not able to find "start up and shut down" files under bin directory pls tell how to solve this issue

Web Development java-jsp
Member Avatar for Taywin
1
187
Member Avatar for mysitemanager

Hi, I'm trying to populate an asp:menu from a database on my master page and keep getting the error: Object reference not set to an instance of an object Here's my code on the master page: [CODE] <asp:Label runat="server" ID="errLabel" /> <asp:Menu ID="Categories" runat="server" CssClass="menu" EnableViewState="false" Orientation="Vertical" DataSourceID="categoryListSrc"></asp:Menu> <asp:XmlDataSource ID="categoryListSrc" …

Web Development asp asp.net dataset vb.net
Member Avatar for dnanetwork
0
184
Member Avatar for gmonroyg

Hi guys, i'm trying to test my asp.net app. it works fine when in visual studio 2010 ide, connecting to Mysql database and running. but, when testing in IIS the published app get the message exception "no database selected". it's everything running local, windows xp, mysql 5.x, IIS 5.1 my …

Member Avatar for gmonroyg
0
1K
Member Avatar for KE50

Hi, I have been trying to get my way round the DOJO charting using the declarative (html) method. 1. I have a ItemFileReadStore for the data source 2. I know the data store has data as I am outputting it to a grid as well. The only thing that appears …

Web Development javascript
Member Avatar for KE50
0
109
Member Avatar for programmer12

Hi, I am trying to modify these codes to where I can use my PHP /MySql Database. I have an event section in the database that list the month year and day of the event as well as the title of event and description. As of now I have all …

Web Development php
Member Avatar for mrtreb20
0
168
Member Avatar for Stefan_Lam88

Hi php developers, I m new to php and would like to ask anything wrong with below script? [CODE] $year = (date('Y', time()) - date('Y', $model->DOB)); [/CODE] I m getting error as title shown.any one know the problem?

Web Development php
Member Avatar for Stefan_Lam88
0
346
Member Avatar for sibymary

[B]hi , i got an error.pls help me to correct. my code is[/B] [CODE] <form action="return.php" method="post"> <table width="200" border="0"> <tr> <td><h3 align="center">RETURN</h3></td> </tr> </table> <p align="center">&nbsp;</p> <table width="41%" height="254" border="0"> <tbody> <tr> <td width="34%">Author:</td> <td width="66%"><p> <input type="text" name="author1" /> </p></td> </tr> <tr> <td>Title:</td> <td><p> <input type="text" name="title1" /> …

Web Development mysql php sql
Member Avatar for karthik_ppts
0
247
Member Avatar for Donnovan

hi everyone, i never worked with php or any script language before i am more of a java, c++, C programmer, but for a school project i need to program a character converter in php, i have some problem recieving response from my php file. can someone help me this …

Web Development javascript php
0
90
Member Avatar for atalkingfish

I am sorry but I am just starting and I suck. I've been spending the last hour on the site trying to use others' threads and the FAQ to fix this but I simply have not been able to do so. This is real simple. All my code is.. [CODE] …

Web Development mysql php
Member Avatar for atalkingfish
0
136
Member Avatar for end3r

Hi, Can you tell me what is the regular expression for a comma-separated list (in this case - IPs) ? My list looks like this: [CODE] 192.168.0.1, 10.%.23.100, %.46.%.1 [/CODE] So far I managed to create this: [CODE] ^[0-9%]{1,3}.[0-9%]{1,3}.[0-9%]{1,3}.[0-9%]{1,3}$ [/CODE] But I don't know how to specify a comma-separated list …

Web Development javascript
Member Avatar for Taywin
0
327
Member Avatar for stockton

I have the following code which works fine until I try and display graphics. Please tell me how I could/should display the odometer in graphics format rather than text. I have all the necessary images as .png(0 through 9) in the same folder as the following code. It is just …

Web Development javascript
Member Avatar for Taywin
0
390
Member Avatar for dnanetwork

Hello there, Is there anyway i can open a ppt in web browser or may i can do things like slideshare does to view documents like ( ppt, doc ...etc ) any logic will help !

Web Development asp.net web-browser
Member Avatar for dnanetwork
0
84
Member Avatar for IT_Student_604

hello there, i'm having a bit of trouble about this. im making a regiter page for our project and im using PHP, and im having a little problem, it says that: Could not execute the insert query.. but i got all my fields right?.. [ICODE]<?php include("config.php"); if(isset($_POST['submit'])) { $fname = …

Web Development mysql php
Member Avatar for diafol
0
172
Member Avatar for Demetrio.pepi

I am starting a new project and the certain requirements will be: JSF, JPA, JMS, WebServices Rest and EJB3.1. There will be at least 4 servers. Probably this will be the division: first server for backing beans and JSF. Other two servers for EJB cluster and the last server for …

Web Development java-jsp oracle
Member Avatar for peter_budo
0
159
Member Avatar for bhallarahul

Hi, I am using eclipse: 3.4.1 and tomcat 5.5.25. I run the application on tomcat server created inside eclipse. Until 3 days back I could sunccessfully use tomcat server inside eclipse but now I get following message 'Starting Tomcat v5.5 server at localhost' has encountered a problem Server Tomcat v5.5 …

Web Development java-jsp
Member Avatar for peter_budo
0
161
Member Avatar for tapuwa2002

Downloaded autocomplete plugin. its not bring out results am using an access db. When I type in text it does the search but with no proposed results display in the drop down. Is there something missing? [CODE] <cfsetting enablecfoutputonly="true"> <cfparam name="q" default="" /> <cfquery name="qryGetCountry" datasource="dbtest"> SELECT DISTINCT Cities.RegionCity FROM …

Member Avatar for tapuwa2002
0
206
Member Avatar for nikki05

Hello, I am trying to redirect “http” to “https”. I successfully followed the steps to create SSL Certificate as per this website: [url]http://robsnotebook.com/xampp-ssl-encrypt-passwords[/url] However, it seems that it didn’t work. I am still getting the following error messages: For IE browser: There is a problem with this website's security certificate. …

Web Development php web-browser
Member Avatar for nikki05
0
204
Member Avatar for prit005

[code] <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#btnclick").click(function(){ $("#para").hide("slow"); $("#btnclick").click(function(){ $("#para").show("slow"); }); }); }); </script> <body> <form id="form1" runat="server"> <div id="para"> <p>The form contains a button to place the final order. In this example, pressing the button returns a simple JavaScript alert(), depending on the contents of the order. In …

Member Avatar for kvprajapati
0
872
Member Avatar for rad1964

I can not for the life of me get an ajax example/tutorial to work. I have tried dozens including prototype library and JQuery. Here is my latest attempt: [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Easy</title> <script type="text/javascript"> function getXMLHTTP() { …

Web Development javascript javascript-jquery
Member Avatar for rad1964
0
395

The End.