4,124 Topics

Member Avatar for
Member Avatar for preethi_ga

Hi, Im using ASP.NET as front end and SQL SERVER as backend. i navigate the records in this using session variables. but its not working. [code=asp.net]Imports System Imports System.Data Imports System.Data.SqlClient [/code] After Inherits im writing [code=asp.net] Dim con as SqlConnection Dim com as SqlCommand Dim adp as SqlDataAdapter Dim …

Member Avatar for preethi_ga
0
134
Member Avatar for mexabet

I have the following script for my Guestbook and it works fine. But I came across a captcha script I would like to incorporate into the already existing Guestbook. I have attached the captcha files here. Please, can anyone help me to readjust the Guestbook codes to accommodate the Captcha? …

0
64
Member Avatar for skippybosco

I am accessing a 3rd part API for an integration script I'm developing. It has a 3 step process in creating a userid (1. get a token 2. login as admin 3. do admin stuff) I've scripted it via server side script that is triggered on a new user being …

Member Avatar for skippybosco
0
162
Member Avatar for priti_s

which are the legal methods in a stateless session bean class? thanks in advance! :-)

Member Avatar for masijade
0
76
Member Avatar for dreamer14

[code=jsp]<%@ page import="java.lang.,java.util.,javax.mail.,javax.mail.internet., javax.activation.*" %> <% String p_to = "abc@hotmail.com"; // Please fill in your email here String p_from = "abcd@yahoo.com.sg"; // Please fill in receipient’s email here String p_subject = "Testing"; String p_message = "This is a test email"; String l_host = "smtp.mail.yahoo.com.sg"; // Gets the System properties Properties …

Member Avatar for peter_budo
0
179
Member Avatar for terry29946

My XP setup has been working OK but now it doesn't start with my proper desktop display settings. I have Windows Classic theme selected for the display properties but lately when I start Windows I get a desktop that is Windows Classic but with XP "windows and buttons" (Appearance tab). …

Member Avatar for terry29946
0
197
Member Avatar for venkatramasamy

Hi to All, Just override some inconvenience with the session "inporoc: mode, i decided use some other and successfully implemented the SQLServer mode, But My Webserver(Webspace Provider) doesnot support for the SQlServerMode, so again i tried for some other option, this time Stateserver, it works fine in a New Empty …

Member Avatar for venkatramasamy
0
154
Member Avatar for praveen_dusari

hi all, i want to develop a shopping cart which uses only sessions to store products their id and prices etc. so, i thought of an idea to store products details in a multidimensional arrays and then into session my idea is like this [code]array( [productid1]=>array( [0]=>product name [1]=>productprice [2]=>product …

Member Avatar for MVied
0
78
Member Avatar for Doc Holiday

hello, I 'm still a noob at programming in vb.net I have a problem. I 'm trying to get my selected rows values to another page. Basically, there two values that not being displayed in the gridview, but is part of the selected statement in the store procedure that populated …

Member Avatar for Oreo1982
0
115
Member Avatar for karthikayan

One of my servers windows logon screen got corrupted and i am not able to see anything. But still i managed to enter my credentials and logged in. I want to bring back my windows server 2003 logon screen. I take a remote session to work on this server

Member Avatar for mandg
0
79
Member Avatar for arulkkumar

Hi All, I am looking for an open source system (preferable combinations is Windows, Apache, MySQL, and PHP), to suit (as close as possible) to my adverticement development for yellow page directory, my requirement is below: [U]Our company name:[/U] MAC [U]Our Client name:[/U] Alpha [U]Project duration:[/U] 5 years [U]Project Descriptions:[/U] …

0
73
Member Avatar for webdani

Hi All, Below is the code I use in an Unix environment to connect to my organization's mail server(This is to read mails in my Inbox). [code=Java] import javax.mail.*; import java.sql.*; import javax.mail.internet.*; import java.util.*; public class readm { public static void main(String args[]) throws MessagingException { //Properties props = …

Member Avatar for regent_royal
0
481
Member Avatar for javaAddict

I presume that by back button you are referring to a browser and you have implemented that with JSPs. In that case when the username and password are correct, save the username in the session before you redirect to the next page. Then when you go to the next page …

Member Avatar for javaAddict
0
134
Member Avatar for Robtyketto

Greetings, Within my jsp I have HTML code (see below) which accepts input, one of these fields sequence unlike the others is an Integer and within the HTML FORM the INPUT TYPE is set to "int". [CODE]<FORM ACTION="wk465682AddFAQ.jsp" METHOD="POST"> Id: <INPUT TYPE=TEXT NAME=Id><BR><BR> Category: <INPUT TYPE=TEXT NAME=category><BR><BR> Question<BR><TEXTAREA NAME=question COLS=100 …

Member Avatar for haoyou2008
0
2K
Member Avatar for hellofriend

hi, :p i am trying to achieve a registration page in JSP. i am using tag library to do this. c tag library and Sql tag library. [CODE] <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <c:if test="${param.submitted}"> <c:if test="${empty param.name}" var="noname" /> <c:if test="${empty param.pw}" var="nopw" /> …

Member Avatar for haoyou2008
0
983
Member Avatar for Alex Edwards

I'm making a Servlet application using the a MVC-like implementation, however I'm slightly confused on how I should delegate concurrent modification of the state of the Model object? I intend to use a database to hold information from a given session for a particular individual (the data will be retrieved …

Member Avatar for Alex Edwards
0
140
Member Avatar for winbatch

OK - so I installed windows 2003 server on my desktop, which is in the basement. I have a laptop upstairs (xp) which I want to connect to the desktop over remote desktop. This is working ok (networking, etc), except the way that 2003 server is working, it's making it …

Member Avatar for isfana
0
846
Member Avatar for geesixty

Well it seems that this background changing virus has gotten me good. I have been in safe mode w/ networking just to be able to download Mlb, Hjt, and kaspersky. Any help is greatly appreciated! Malwarebytes' Anti-Malware 1.25 Database version: 1062 Windows 5.1.2600 Service Pack 2 11:16:12 AM 8/25/2008 mbam-log-08-25-2008 …

Member Avatar for jholland1964
0
3K
Member Avatar for Daywraith

Hi, I not sure where to look for information about wireless systems that have some kind of limited use session token/ability. We have a conference room where we host large meetings with people fly in from around the world to participate. Currently we have no wireless capabilities and we would …

Member Avatar for nebcat
0
379
Member Avatar for Laneyh

Hi My company hosts software on a Windows 2003 server for our clients. The clients access a Https:// url to logon to their site. One of our clients is having an issue when they type in the url which is in the format of [url]https://company_name_qa.com/logon.htm[/url] The underscores resolve to percent …

Member Avatar for aalcazar
0
128
Member Avatar for ceyesuma

Hello I have been studing the tutorial at [URL="http://http://www.netbeans.org/kb/61/web/hibernate-vwp.html"]http://http://www.netbeans.org/kb/61/web/hibernate-vwp.html[/URL] I am starting to understand how data from a database gets to a webpage to a table via a selection box. But in the code I can not see where it actually build a SQL query is there a method in …

Member Avatar for ceyesuma
0
93
Member Avatar for veledrom

Hi, How can store [inlinecode]$_SESSION['id']="myId";[/inlinecode] for 5 hours? I tried cache thing but, when i closed IE it expired. When i echo $_SESSION['id'], it doesn't return any value. Thanks [code] session_cache_expire(150); session_start(); $_SESSION['id']="myId"; [/code]

Member Avatar for digital-ether
0
108
Member Avatar for kohuke

This is the error what i get when i try to run my project: [CODE]Local Exception Stack: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b04-fcs (04/11/2008))): oracle.toplink.essentials.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/varad1 Error Code: 0 at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:305) at oracle.toplink.essentials.sessions.DefaultConnector.connect(DefaultConnector.java:102) at oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource (DatasourceLogin.java:184) at oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource (DatabaseSessionImpl.java:582) …

Member Avatar for kohuke
0
757
Member Avatar for ceyesuma

I am trying to populate a dropdown1 list with instructor names determined by the instructor id. is this code suffient? I have the binding write as far as I can tell but no string name population of the dropdown list. [code] private void buildInstrOptions(){ List<Teacher> teacherList=null; try{ Session session = …

0
48
Member Avatar for ceyesuma

Hibernate: select trips0_.PERSONID as PERSONID1_, trips0_.TRIPID as TRIPID1_, trips0_.TRIPID as TRIPID1_0_, trips0_.PERSONID as PERSONID1_0_, trips0_.DEPDATE as DEPDATE1_0_, trips0_.DEPCITY as DEPCITY1_0_, trips0_.DESTCITY as DESTCITY1_0_, trips0_.TRIPTYPEID as TRIPTYPEID1_0_ from TRIP trips0_ where trips0_.PERSONID=? I got this output(above) when I did a System.out on a List. Does this make sense to you. I …

Member Avatar for ceyesuma
-1
161
Member Avatar for ebok

hi everyone, im trying to run a linux script in java where it ask the user to input a password,then when suucessfully executed it prompts the user to enter the same password for verification,how can i do this in java,im using trilead to remotely access and execute command,im having problem …

Member Avatar for ebok
0
135
Member Avatar for prashanth18

hi when i click the previous page button it was gng to logout page the sesion was not destroying when iwas using this code please help me [CODE]<?php session_start(); session_unset($_SESSION['uname']); session_destroy(); header ("Location: login.php"); ?>[/CODE]

Member Avatar for R0bb0b
0
99
Member Avatar for lodnert

Hi! I need some help. It's probably really simple but im stuck and need some guidance. I want a simple loginpage where the user logs on and matches the username and pw in the database. Then i want to redirect him to another site. this new site should check that …

Member Avatar for peter_budo
0
57
Member Avatar for ceyesuma

I know it is a rookie question but how do I get the system to print what is in personList? [code] private void buildPersonOptions() { List<Person> personList = null; try { Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = session.beginTransaction(); Query q = session.createQuery("from Person"); personList = (List<Person>) q.list(); } catch …

Member Avatar for ceyesuma
0
75
Member Avatar for Athersgeo

I've got a page that should change, depending on which item on the dropdownlist is chosen. Unfortunately, the page seems to be ignoring whatever's selected and just clinging on to the first item on the list. I'm sure I'm missing something blindingly obvious, but any help would be greatly appreciated. …

Member Avatar for Athersgeo
0
143
Member Avatar for preetisingh

There is a big problem for me as I have to handle a project made by an other person and I m not aware of this code.I have two tables in SQL Server 2005 named AudioFileDetails having fields---- FileId int 4, FileName varchar 1000, Subject varchar 500, DistrictId smallint 2 …

Member Avatar for LizR
0
110
Member Avatar for saquib189

Hi, i have a ebook site & in that i put gridview that shows top 10 ebooks category by date in ascending order but in that i want to show how many readers view or read the ebook with approximate time of reading that stored in the user session will …

Member Avatar for greeny_1984
0
71
Member Avatar for naian101

good day folkz! i'm really one of the newbies here and i badly need a help from you guyz. i've been working on this system. it's a running one, yet, i was told there are some features need to be added and that's what i'm supposed to do. i'm still …

0
53
Member Avatar for khibbert

Hi, I am the tech coordinator for a small school district of 220 students. WE have two T1 lines to our ISP (the state of Wyoming). From any computer on our network, we can connect to the internet, but not stay connected (times out after 2-3 min of connection, regardless …

0
35
Member Avatar for ceyesuma

Is there someone that could answer questions concerning the HibernateTravelApp tutorial. I have written it a couple times per the tutorial and I am presently remodeling it to fit my own MySQL database. If there is a convenient way to transfer this data base along with the .zip of the …

Member Avatar for sciwizeh
0
258
Member Avatar for zorro3692

Hi, I have a web application employing a servlet that processes database requests from user input params and forwards the total count of the resultset to my display jsp using request.setAttribute(...). I retrieve the value of total count in my display jsp using request.getAttribut(...) and the value returns correctly. However, …

Member Avatar for zorro3692
0
131
Member Avatar for visio

On my new server when I click on the phpMyAdmin or my customers from their cpanels do the same we get: Warning: session_write_close() [function.session-write-close]: SQLite: session write query failed: database is full in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42 Warning: session_write_close() [function.session-write-close]: Failed to write session data (sqlite). Please verify that the …

0
58
Member Avatar for peter_budo

After spending some time on JSP section of this forum as many before me, I come to the conclusion that we are in need of "proper" tutorial on this topic. This tutorial is not intended to teach you everything from top to bottom, it is just a starting point to …

16
8K
Member Avatar for camdes

I designed a photo gallery for a local Primary School and now that the new session has started, I have been asked to remove all the photographs and supply them on CD. Unfortunately, although I have now corrected the problem for new photos, I did not have a unique name …

Member Avatar for omol
0
101
Member Avatar for ceyesuma

[code] Query q =session.createQuery("from Person"); [/code] ? so there is a Query q named "from Person") I don't understand how the actual query reads(via SQL). Can someone explain this code: because clearly there is a personList and a personOptions of the type Option[] the size of personList.size() and the 4 …

0
64
Member Avatar for Thirusha

Hi I am trying to remove a session attribute from my app, currently i use the jstl tag remove to remove the attribute, this works in firefox when the browser is refreshed, but not in IE, so i then decided to use the session.removeAttribute method in a servlet that gets …

Member Avatar for Thirusha
0
69
Member Avatar for hno

hi what is session and how can use it ? please learn me how to use it? thanks

Member Avatar for Shanti C
0
62
Member Avatar for gpdrums

Hi All: I have an extensive website in which I would like to echo the name of the company various pages after the user logs in. I think I should be using the $_SESSION global, but I'm having difficulty implementing it, placing it in my code, and knowing what php …

Member Avatar for MVied
0
201
Member Avatar for Academy Class

Registration for Flex Camp London 08 is now open! [url]www.flexcamp.co.uk[/url] Flex Camp London 08 is a FREE, community-run event for everyone interested in Adobe Flex! Whether you're just getting started with Flex or you're an expert, Flex Camp aims to provide something for you. We've lined up some of the …

0
20
Member Avatar for midget

I've been trying to figure this out for months so if someone could tell me how stupid I am that would be great... The first php.ini file works for sharing sessions from domain to subdomain no prob... with the simple inclusion of session.cookie_domain = "mydomain.com" I've tried them both with …

Member Avatar for digital-ether
0
686
Member Avatar for guravharsha

Hi I am trying to send the mail to client containing message as a data retrieved from database in table format. I am retrieving data in below servlet. now i want to send all this data in jsp page in table format. from this page i am sending all this …

Member Avatar for ~s.o.s~
0
104
Member Avatar for atplerry

Hello ! I am a student of a university i and we are group into different categories in executing a project. The Template of the project was design by our lecturer and they want us to read , interprete and edit a website written in php and was givien to …

Member Avatar for newbiecoderguy
0
585
Member Avatar for NadaAngel

i am developing a milt-language dynamic website in Classic ASP. the site is in English, arabic and French and the data is all stored in an Access database. my problem is specifically with grabbing the "FRENCH" submenus in a dynamic heir menu: [code] <script type="text/javascript" language="JavaScript1.2" src="includes/stmenu.js"></script> <% cl="Arabic" clF="French" …

Member Avatar for Thirusha
0
536
Member Avatar for beckyp

There have been some excellent articles on converting asp session variables to .net but not the other way round. What is the best way to convert .net session variables to classic asp session variables? This must have been done by many people by now, so what have you found to …

0
74
Member Avatar for steven woodman

Hey peoples, I have a little problem that i cant figure out on my own. Ive been running kubuntu with compiz effects basically all on and enjoy booting into linux every now and then for a little learning experience. Anyways i wanted to trry a new windows manager so i …

Member Avatar for steven woodman
0
226

The End.