User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 428,104 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,549 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 35 of 35
Search took 0.01 seconds.
Posts Made By: electron33
Forum: Web Developers' Lounge Sep 2nd, 2008
Replies: 71
Views: 15,907
Posted By electron33
Re: Are you a web developer or web designer?

I am a web developer. My favorite language is Java and ZK Ajax framework.
I use Apache as server, ZK in the front end, Java in the business layer and PostgreSQL or MySQL in the database layer.

I...
Forum: JavaScript / DHTML / AJAX Sep 2nd, 2008
Replies: 0
Views: 252
Posted By electron33
Create AJAX Based webpages

If you want to create Ajax based web solutions. I will recomment ZK framework.
Take a tripp to ZK
I'm developing websolution with ZK, Java and PostgreSQL.

http://www.zkoss.org
Forum: JavaScript / DHTML / AJAX Sep 2nd, 2008
Replies: 5
Views: 390
Posted By electron33
Re: Javascripts and forms:HELP!

Hi.
What you must do is to get the elements from the webpage first of all


I'm not sure if this is correct but it may help you a little on the way.
Forum: JSP May 30th, 2008
Replies: 33
Views: 12,072
Posted By electron33
Re: How to Connect MySQL from JSP Page

MVC (Model View Controller) That is Model this part holds the data between view and database or files, View this is the JSP, GUI or other interface presentet to the user, Controller this is the part...
Forum: JSP May 29th, 2008
Replies: 33
Views: 12,072
Posted By electron33
Re: How to Connect MySQL from JSP Page

There is nothing wrong by putting the database connection in the JSP, but you have to create a new database connection and query for every page you creates. This will reduse the performance and...
Forum: JSP May 20th, 2008
Replies: 33
Views: 12,072
Posted By electron33
Re: How to Connect MySQL from JSP Page

Hi again.

I understand that you are not familiar with Java and Jsp. If you are using Netbeans to develop your application, you have the possibility to add libraries to the Web application class...
Forum: JSP May 5th, 2008
Replies: 33
Views: 12,072
Posted By electron33
Re: How to Connect MySQL from JSP Page

Here is an example of how I have done it so far. It is build in Netbeans 5.5
Forum: JSP May 5th, 2008
Replies: 33
Views: 12,072
Posted By electron33
Re: How to Connect MySQL from JSP Page

Sorry. Peter_budo has absolutly right. JSP has the presentation and Servlet has the logic.
Forum: JSP May 5th, 2008
Replies: 33
Views: 12,072
Posted By electron33
Re: How to Connect MySQL from JSP Page

This class is the JSP. JSP is an extension of Servlet. Simply told. If you see a few pages up on this article you see how to create a connection in JSP. But as i already had sead. Don't use...
Forum: JSP Mar 11th, 2008
Replies: 4
Views: 1,068
Posted By electron33
Re: how to get data from oracle to jsp

I don't recommend putting SQL code inside JSP. It is not a good idea to use scriptlet in JSP. The page code will be hard to maintain. Anyway, If you want to run SQL in JSP. First create a Connection...
Forum: JSP Mar 8th, 2008
Replies: 7
Views: 959
Posted By electron33
Re: Is it possible to create a pie chart with JSP from the data of MySQL?

There is a page http://www.jfree.org/jfreechart/. What you can do to present charts i JSP is to create chart in code then save the chart as image. then present the image on the JSP page. This chart...
Forum: JSP Mar 8th, 2008
Replies: 4
Views: 1,068
Posted By electron33
Re: how to get data from oracle to jsp

You can create a bean that will hold the data from Oracle. When the page is loading you can fill in the data from database. To do this:
First create a DAO object where the SQL calls to Oracle is...
Forum: JSP Feb 14th, 2008
Replies: 4
Views: 3,034
Posted By electron33
Re: JSP if statement

Try this. It compares to strings.

if (id.equals(key))

{

out.print("This statement should be true!);
Forum: JSP Feb 14th, 2008
Replies: 2
Views: 508
Posted By electron33
Solution Re: Java bean compilation

package beans;

import java.sql.*;

public class example
{
public void test()
{
//Change to this an recompile
System.out.println("The bean worked");
Forum: JSP Feb 6th, 2008
Replies: 2
Views: 2,252
Posted By electron33
Solution Re: MySQL Datasource in jsp

I think i have solved this problem. You can add MySQL driver in the class path and then get the connection with parameters set as parameters in web.xml or you can create a datasource in web.xml and...
Forum: JSP Feb 6th, 2008
Replies: 4
Views: 552
Posted By electron33
Re: Mathematical operators

Can you paste me the whole code. Including variable declaration. Some where in the declaration a variable have been declared int.
Forum: JSP Feb 5th, 2008
Replies: 3
Views: 723
Posted By electron33
Re: Problem: Redirecting homepage for my web application and attemp to disable addres

I don't think that is possible. You may consider a popup window instead.
Forum: JSP Feb 5th, 2008
Replies: 33
Views: 12,072
Posted By electron33
Re: How to Connect MySQL from JSP Page

Don't mix Servlet and JSP. Add the following code into a JSP page. Don't put it inside a function. JSP pages don't use function. Servlets do.

By the way. Database connections and business logic...
Forum: JSP Feb 5th, 2008
Replies: 1
Views: 1,485
Posted By electron33
Re: String Tokenizer

In the JSP, you can do the following. This code will print the content of v1 to the JSP page.

<%

Vector v1 = req.getAttribute("a1");
Iterator iter = v1.iterator();
...
Forum: JSP Feb 5th, 2008
Replies: 2
Views: 1,493
Posted By electron33
Solution Re: send session variable in an array

You can't cast to String[]. It does not exist in Java.

Try to use an ArrayList instead.

All JSP pages share the same session. You will always have the variable in session until the session is...
Forum: JSP Feb 5th, 2008
Replies: 4
Views: 552
Posted By electron33
Re: Mathematical operators

<%
double useful = 12;
double nonuseful = 24;
double percentage = ( useful / nonuseful ) * 100;
%>
<%= percentage %>

In this example it will be 50.0 in the JSP page.
Forum: JSP Feb 5th, 2008
Replies: 2
Views: 529
Posted By electron33
Re: need some help.. thanks..

Change the code in red with the following.
java.util.Date today = new java.util.Date();
String s = DateFormat.getDateInstance(DateFormat.LONG).format(today);

Change to:
String s =...
Forum: JSP Feb 3rd, 2008
Replies: 2
Views: 2,252
Posted By electron33
Help MySQL Datasource in jsp

Hi.
I have a little problem. i tries to connect to a datasource defined in Tomcat context.
But when i run the jsp page i got an error telling that the driver i not found.
I'm using the mysql jar...
Forum: JavaScript / DHTML / AJAX Jan 28th, 2008
Replies: 5
Views: 1,312
Posted By electron33
Re: Dynamic table

Have you tried onLoad="javascript:myFun()" in the body tag?

You can also call the function with window.onLoad = myFun; inside the script block
Forum: Java Jan 28th, 2008
Replies: 1
Views: 837
Posted By electron33
How to access MS Outlook from Java

Hi. I have been trying to access Microsoft Outlook from Java. This be in case of jsp page or traditional Java. Is there anyone how knows how?

In the same case i would also ask if someone have tried...
Forum: JSP Jan 27th, 2008
Replies: 7
Views: 1,166
Posted By electron33
Re: JSP tutorial

I am agree that the tutorials at Sun is more up to date. There is also another site to try. www.java2s.com. maybe not so up to date as Sun but it will help.
Forum: Java Jan 26th, 2008
Replies: 10
Views: 1,022
Posted By electron33
Re: Accessible Gui text

To add a jar in classpath and to access the classes from the methods they provide is naturale to Java. If the host program is the program that connects to the database. There is always classes that...
Forum: Java Jan 24th, 2008
Replies: 3
Views: 382
Posted By electron33
Re: Illegal start of expression

This code is illegal. You can not call functions this way.
if (theOperator == '+'){
public void actionPerformed_Plus(){ //Illegal start of expression here
if (firstTime){
...
Forum: Java Jan 24th, 2008
Replies: 10
Views: 1,022
Posted By electron33
Re: Accessible Gui text

Hi. I don't think you can access another process in JVM. They are completely isolated. It is easier to call the Jar file and get the values from here.
Forum: Java Jan 24th, 2008
Replies: 3
Views: 500
Posted By electron33
Re: Read Mased input from user's input...

Hi. This article from Sun may solve your problem.
http://java.sun.com/developer/technicalArticles/Security/pwordmask/

Regards
electron33
Forum: Java Jan 24th, 2008
Replies: 2
Views: 270
Posted By electron33
Re: hi plz help in

Hi. Try with System.exit(0) after you call destroy in your code.
Mark: You will need Security rights to do so.

Visit Sun to find out more about this topic.
Forum: Java Jan 24th, 2008
Replies: 4
Views: 520
Posted By electron33
Re: Please clarify my doubt

Hi. Your applet runs perfect now. By the way. You can not run Applet with Java call.
Example: Wrong -> c:\java AppletExample. You will get en exception. Try put it inside
<Applet></Applet> tags in...
Forum: Community Introductions Jan 24th, 2008
Replies: 3
Views: 341
Posted By electron33
Hi everyone

I am a man of 33 years. My work status is system developer on Microsoft Dynamic AX (old name Axapta). I am working for a company called Navicom. In my spare time i like to do some programming in...
Forum: Java Jan 24th, 2008
Replies: 5
Views: 429
Posted By electron33
Re: how to access an application from domain server

Hi. Are you running Sun Application Object Server or not? When you deploy your solution on the server you have to create a reference to the Jar file that connects your application to the ejb module....
Forum: JSP Jan 24th, 2008
Replies: 7
Views: 1,166
Posted By electron33
Re: JSP tutorial

Hi. Have you tried this site: http://www.roseindia.net/jsp/jsp.htm. There is some tutorials there.
If you want to find more you can search for Jsp tutorials at google.com
Showing results 1 to 35 of 35

 
All times are GMT -4. The time now is 12:58 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC