Forum: JSP Aug 24th, 2009 |
| Replies: 4 Views: 452 I have a question, what if I was trying to work with more than one table? |
Forum: JSP Aug 22nd, 2009 |
| Replies: 4 Views: 452 Hello all, I've been working on a project where I wish to retrieve two sets of information from a MySQL database using two prepared statements. When I try to do this I get a blank screen, but the... |
Forum: JSP Jul 20th, 2009 |
| Replies: 2 Views: 489 Hello to all. I'm using the following jsp to display an image from a mysql database.
<%@ page import="java.sql.*" %>
<%@ page import="java.io.*" %>
<%
Connection connection = null;
String... |
Forum: JSP Jul 16th, 2009 |
| Replies: 4 Views: 729 Thank you for your response. Glassfish was bundled with Netbeans by the way. Bur I have a question: how do I run servlets within JSP pages? |
Forum: JSP Jul 16th, 2009 |
| Replies: 4 Views: 729 Hello to all, I was wondering how to run servlets using Glassfish V2. I'm using NetBeans 6.5 and need to use servlets, but I don't want to install Tomcat to do so, any suggestions? |
Forum: Networking Hardware Configuration Jun 26th, 2009 |
| Replies: 0 Views: 297 Hello all, I wanted to know what the various stages in setting up a network for a company or a school are whether its cabling first then, assigning ip address etc. Any help will be greatly... |
Forum: JavaScript / DHTML / AJAX Jun 23rd, 2009 |
| Replies: 1 Views: 506 Hello all. I''m currently working on a a page which should be able to run a substitution cipher in order to do both encryption and decrption in Java script on the same page. But the problem is only... |
Forum: JSP Jun 22nd, 2009 |
| Replies: 6 Views: 952 At the server huh, so what should I do if I wanted that process to take place in after the page loaded? |
Forum: JSP Jun 21st, 2009 |
| Replies: 4 Views: 660 THANK YOU!!!! THANK YOU!!!! THANK YOU!!!! THANK YOU!!!!
Putting the %> <%= e.getMessage()%> <%
helped me to pin-point and solve my problem almost instantly. You're a JSP genius!!! ... |
Forum: JSP Jun 21st, 2009 |
| Replies: 6 Views: 952 By that I mean going from textfield --> variable --> textfield all on the same page. |
Forum: JSP Jun 21st, 2009 |
| Replies: 6 Views: 952 Cool, so what about if it's from form to form on the same page? |
Forum: JSP Jun 21st, 2009 |
| Replies: 4 Views: 660 Hello everyone, I'm working on a project where I wish to find out who the instructor for a particular course is. The user is has to input the course name and course id for that course id then the... |
Forum: JSP Jun 21st, 2009 |
| Replies: 6 Views: 952 Hi all. I was wondering if there's a way to assign the value in a text field to a variable in jsp using Java (not Javascript). Normally in Javascript you might do something like: ... |
Forum: JSP Jun 20th, 2009 |
| Replies: 2 Views: 957 Hi I'm trying to create a mortgage calculator using Java (not Javascript) on a JSP page and I need to know if there's a way to set the values of textfield so that I won't have to send information... |
Forum: ASP.NET Mar 23rd, 2009 |
| Replies: 2 Views: 635 Hi all!
I am using Visual Studio 2008 and I was wondering is there a way to get the colour of text in a menu item to change color during a mouse over. So for example, if I was cycling through a... |
Forum: MySQL Dec 6th, 2008 |
| Replies: 1 Views: 1,547 Hi I'm having trouble with a subquery and really need some help.
I'm trying to count to count the number of beats sold by a particular producer.
So the first thing I did was SELECT all the beats... |
Forum: MySQL Dec 1st, 2008 |
| Replies: 5 Views: 910 I'm simply loading values into a table [via the text file SQL is reading syntax]. and the language is MySQL. when I said that the output comes out in one line I meant when runnign SQL.
How can I... |
Forum: MySQL Dec 1st, 2008 |
| Replies: 5 Views: 910 i'm running the instruct6ion from a text file using the source command, but why is it when I try to print the record it comes out in one line?
Can I make it print several line for that one row?
... |
Forum: MySQL Nov 30th, 2008 |
| Replies: 5 Views: 910 Hi, I was wondering how I would enter something like a paragraph in MySQL if you declared it as type TEXT.
So how would I enter something like:
John 3:16 (New International Version)
16" For... |
Forum: Database Design Nov 28th, 2008 |
| Replies: 2 Views: 1,215 Hi guys I was wondering, how to prove that your tables are in 1NF, 2NF and 3NF?
Thanks. |
Forum: Database Design Nov 26th, 2008 |
| Replies: 4 Views: 796 Another thing, how would I encorporate an employee(business staff) processing a transaction to a situation where you have a client purchasing an item from a member the company's production staff? |
Forum: MySQL Nov 26th, 2008 |
| Replies: 2 Views: 728 Perfect!!! Thanks!!! (^ - ^) |
Forum: Database Design Nov 26th, 2008 |
| Replies: 4 Views: 796 Thanks jbennet, I had something similar in mind. |
Forum: Database Design Nov 23rd, 2008 |
| Replies: 4 Views: 796 How would I draw an ERD for a situation like this:
professors can teach the same course in several semesters, and each offering must be recorded.
If I know that:
Professorss can have an SSN... |
Forum: MySQL Nov 23rd, 2008 |
| Replies: 2 Views: 728 I was wondering how do you countdown to a given date, like for and enevnt or something.
Let's say you know the target date is let's say Christmas and you have the current date, how do I calculate... |
Forum: C++ Jun 3rd, 2008 |
| Replies: 9 Views: 1,317 You were right I needed to used the ".c_str()". Thanks!! |
Forum: C++ Jun 3rd, 2008 |
| Replies: 4 Views: 623 Thanks mitrmkar, you gave the perfect solution, strcat(variable1, variable2.c_str()); works perfectly!! :) |
Forum: C++ Jun 3rd, 2008 |
| Replies: 4 Views: 623 Actually no, I get an error message saying:
"cannot convert from std::string to const char."
The parameters for strcat are: (char*, const char). |
Forum: C++ Jun 3rd, 2008 |
| Replies: 4 Views: 623 Normally if I want to concantinate two strings I would use:
strcat (variable_name, "Constant");
But is there a function that let's me use (variable1, variable2) ?
Any help is welcome. :) |
Forum: C++ Jun 2nd, 2008 |
| Replies: 2 Views: 453 That worked perfectly, thanks!! :) |
Forum: C++ Jun 2nd, 2008 |
| Replies: 2 Views: 453 Is there a way to convert from an integer to a string? |
Forum: Game Development Jun 2nd, 2008 |
| Replies: 4 Views: 1,745 In other words what operating system do pros like Cliffy B use? |
Forum: C++ May 7th, 2008 |
| Replies: 6 Views: 629 Thanks for your asuggestion I investigated the seekg and seekp functions and found them to be very useful, b ut it turns out that I didn't need them after all. ;) |
Forum: C++ May 7th, 2008 |
| Replies: 12 Views: 6,077 Hate to admit it, but you're right. you can only use msk88's suggestion for Dev projects. :( |
Forum: C++ May 5th, 2008 |
| Replies: 6 Views: 699 Thanks, that worked perfectly!! :) |
Forum: C++ May 1st, 2008 |
| Replies: 6 Views: 629 What if I want to read:
a character.
a string.
In that order. |
Forum: C++ May 1st, 2008 |
| Replies: 6 Views: 629 I mean to overwrite, but how does seekg and seekp work? |
Forum: C++ May 1st, 2008 |
| Replies: 6 Views: 629 Is there a way to chose where a program outputs text to a file ?(or read text from a file). As in selecting which line to start from.? Any help is welcome. :) |
Forum: C++ May 1st, 2008 |
| Replies: 2 Views: 852 Hello to all, I need to know how to read the space bar as a character (or string) rather than as a separator, and I also need to know if the same can be done with the enter key. I am grateful for all... |