peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

1) Create one site with resolution 800x600 and use relative positioning to place it in the middle. Not pretty but you certain that there is no scrolling, it will happens only if somebody still use lesser resolution then this ( I do not think there is anyone)
2) Use browser detection script that can check on user resolution and use css file assign to this resolution (you need to buy a plugin or you may want to code it)

PS: Linked site is official documentation by w3.org ;)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

This option is only available to FRAME and IFRAME (scrolling).
Scrolling as far I know, can not be use with any other tags. Your only chance to disable any scrolling is to design pages to 800 x 600 and then just ajust content position by relative positioning.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

There are several problems in your page, Go Live still did not reach standards of Dreamweaver. As you been changing your code some parts hasn't been removed/updated plus you missing some tag properties

Line 10

<style type="text/css"> <!-- missing type=text/css-->

Line 37

</csactiondict>  <!--originaly </csscriptdict> -->

Line 41, 48 & 57 are all uploading same JavaScript content, in my opinion that should be done only in "<html>" tag. Also JavaScript functions should be called once you declared all parameters for given tag.
The mouse actions calls fuction changeImages() that I do not see...

onmouseover="changeImages()"
onmouseout="changeImages()"

Please correct this errors and let me know if you still have problem

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

This looks like you trying to read JavaScript from your pc directory. Doesn't look like pointing to JS on server. src="file:///Users/bethyb/Library/Preferences/Adobe/GoLive/Settings8/JScripts/GlobalScripts/CSScriptLib.js"

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You just open 3 years old post, is there any need? :?:

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I would stick with original idea of keeping document for some period of time on DB for fast ediditng and then chunk them in XML files. You still can do reading+editing as ptaylor965 sugested but it will take time to upload 10.000 word document from "flat" file and then save it again. Also many DBs provide easy extraction to XML so if clever enough you can create automated function for this

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Thanks to all of you guys! What about if I want to disable the PrintScreen button?

Also check this out:

http://blog.gilluminate.com/2006/4/25/prevent-copy-paste-and-print-screen-online

People like to complain about lazy students, I should about lazy teachers like you

# Richard 04.25.06 / 07AM
Take any steps to prevent printing?
# Jason Gill 04.25.06 / 07AM
Ah yes, thanks for reminding me Richard.
Description follow

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Refer to this tutorial you really need it as your code is big mess

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

he can make the opacity of the entire screen down to 30% so the camera can't pick it up!!

That will go completely against HCI (Human-Computer Interaction) as you make site difficult to read and just get students something silly to complain about...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

to ensure that when they conduct the quiz they will not copy the questions and give it to my other students who were not able to take yet their online quiz

How you gone prevent use of mobile phones with camera???

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

If you talking about that animated effect on top that is Flash, also same apply to bottom moving text that is again Flash animation

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Declare JRadioButtonMenuItem as follow

String[] difLevel = {"Easy", "Normal", Hard"};
JRadioButtonMenuItem[] difficulty;

Initialization somewhere in code with adding ActionListener

difficulty[] = JRadioButtonMenuItem[difLevel.length];
for(int i = 0; i < difficulty.length; i++)
{
	difficulty[i] = new JRadioButtonMenuItem(difLevel[i]);

	//add to file menu that you already declared in your code
	file.add(difficulty[i]);

	difficulty[i].addActionListener(itemHandler);
}

Listener will be something like this

private class ItemHandler implements ActionListener
{
	public void actionPerformed(ActionEvent ae)
	{
		for( int i=0; i < difficulty.length; i++)
		{
			if(event.getSource() == difficulty[i])
			{
				/*
				 * YOUR DIFFICULTY LEVEL SETUP CODE HERE
				 */
			}
		}
	}
}
toomuchfreetime commented: Great help.! Much Appreciated.Much taken from post +2
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

The original post been made nearly 2 years ago. Don't you think it is already solved or forgoten?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You need to be more specific about your problem. Just droping numerous lines of code on us wouldn't get you anywhere. Sort of "I'm trying to align to some element" would help

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Either you can come up with your own encryption algorythm or use one of many. For example BouncyCastle. If you google for tutorials you find many

PS: Please do not send PM's to people asking for help, it is against one of the forums rules Keep It On The Site

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I had similar problem 2-3 years back, but didn't found anything. However maybe by now somebody come with something

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Final year student and you do not know how to do simple topic search? Just 3 words in google and look how many of them pop-up, result. Secondly did you consider actualy to which formats Excel can save documents and what sort of formats you can import to database? What about CSV or XML?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I uploaded your project on the server but I do not see any diferences between index.php - admin.php or dreamweaver view see attached screenshots and please point me to problematic area so I know what to look for

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You can attach files to the post just scroll down for Additional Options(you have to be in advanced posting mode) and press Manage attachments

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Sorry alieya I couln't reply to your PM earlier but I was bussy.
To be fair Dreamweaver is great tool but it doesn't not display page exactly as browser will so do not coun't heavily on it and always check your page in browser. Secondly if you using Unix system make sure that you reffer to images in same format as you see them. Unix is sensitive if you have myImage.JPG and you call myimage.jpg it will complain, also check for permissions

As nav33n mentioned it would be best if you post your code at least section where the problem occures also describe your folder structure. Example
System_path/MyProject/ html & php pages
System_path/MyProject/Img/ images
System_path/MyProject/Adds/ CSS & JavaScript

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

If I change the code to create something else, then will that code change cause a glitch some place else on the project?

Html just tell the web browser how to display the page and options are limited. So when you get the idea how it works, you should move on CSS (Cascading Style Sheets, also part of the website above) this will enhance your experience. After that it is up to you in which direction you want to move explore difference between HTML and XHTML, get your hands on scripting (JavaScript, VBScript) or learn other technologies as PHP, XML etc

Do I always have to reverse the order of open tags when I close them?

Yes, the rule is first opend last closed

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Welcome to daniweb frozencove

HTML is very simple to learn it is only all these adds on technologies that make it look very complex, but there is nothing to stop you from learning about some of them too. I would recommend www.w3schools.com as one of the best place to start looking at. If you have any more questions in regards of HTML please make a new thread in WEB DEVELOPMENT >> JavaScript / DHTML / AJAX section

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

LOL, I'm actually supriced he replayed as the original post is 2 years old now

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Have look on this tutorial

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Welcome to daniweb spyrilautte:)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

hi,
the IT helpdesk guy installed it for me in office.how can i check if the path provided was to jdk or jre?..

Checking path in windows in Command Prompt (Start/All Programs/Accessories/Command Prompt or Start/Run/ type cmd or even faster keybord with windods key+r) type PATH and return should contain direction to your java instalation in similar format

PATH=C:\Program Files\Java\jdk1.6.0_03\bin;

In unix base systems echo $PATH. Also I found to be more reliable to have path for jdk instead of jre.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

if this is exact code as you use then you have typo

private static final String FILE_NAME = "objectid.properties";
File f = new File(FILEP_NAME);

otherwise I do not see any other problem with your code.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
Majestics commented: Great, It helped in my research +7
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Would you mind post your code?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Forget about applet, minimal use in these days...
Network monitoring tool or GUI for MySQL something like phpMyAdmin. Can be this of any interest to you?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

There are some guide lines that I found interesting
http://mpcon.org (ignore the part related to to Apache2 and PHP and just check the steps for Java and Tomcat instalation)
http://webdev.sis.pitt.edu
for Tomcat 6 this is good resource http://www.coreservlets.com

If you still not get Tomcat running please post the errors or detailed description of the problem.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You can do it like this

import java.sql.*;
import java.math.*;

public class NewProfileTest 
{

	public static void main(String[] args) 
	{	
		Connection con = null;
	
		Statement stmt;
		
		try 
		{
			Class.forName ("oracle.jdbc.driver.OracleDriver");
			con = DriverManager.getConnection
				("jdbc:oracle:thin:@10.25.83.19:1512:PROFILE","newprofile","newprofile");
			stmt = con.createStatement();
			stmt.close();
			con. close();
		}
		catch(java.lang.ClassNotFoundException e) 
		{
			System.err.print("ClassNotFoundException: ");
			System.err.println(e.getMessage());
		}
		catch(SQLException ex)
		{
			System.err.println("sQLException: " + ex.getMessage());
		}
	}
}

or leave it as you have it and remove line 8 Class.forName ("oracle.jdbc.driver.OracleDriver"); plus line 10 onli declaration Connection con =null;

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

XML elements must follow these naming rules:

  • Names must not start with a number or punctuation character

A name was started with an invalid character. Error processing resource 'file:///C:/Documents and Settings/Phil/Desktop/1.x...

That what is your problem

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

XML elements must follow these naming rules:

  • Names can contain letters, numbers, and other characters
  • Names must not start with a number or punctuation character
  • Names must not start with the letters xml (or XML, or Xml, etc)
  • Names cannot contain spaces

Source www.w3schools.com, Element Naming

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I agree on this one jwenting

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Yes jimmy bones is not exactly the best type of student, but sometimes you can't help it to ask stupid questions on the forum. Would you like to check my first questions in C++ forum nearly 3 years ago?
If you see any more post like this either ignore it or politely ask them to be more specific about they homework, either they will replay and provide more data or they would not come at all. If you get the responce you can start buil on it and you may find that person on other side actually did something but over looked some banal thing.
I belive there sort of saying China that say "There are no bad students just bad teachers."
Think about it...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Can you please Mark the post as solved, so no other "history diggers" will replay it?
Thanx

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

1) What is the point to open one-and-half year old post?
2) Please read the rules, NO PERSONAL DETAILS ALLOWED IN THE POST. Shameless self advertising.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

don't know about eclipse but IntelliJ IDEA defenetly does (if you happy to pay for good IDE)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

JDBC tutorial that can help to start

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Let me ask you a question. Why should we helping you when what you always does is drop a general question and demand answers, do not provide any supporting coding with the task you facing? Not even the part of code that you having problem with...
Do not take it wrong, but if you not make it easier for us to understand what exactly is the problem we can come with many suggestions that will lead to different outcomes. Just look back to your post http connection.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Install Tomcat on your pc, do coding and compiling with JCreator and then deploy it on Tomcat...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

then please close this post, mark it as solved. There is link bellow last post that reads something like "Mark Solved"

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Why people try to ge clever if they do not have knowlidge of what they try to do.

1) No personal emails in posting, read the rules (specialy this section Keep It On The Site )
2) Use google to find some answers, maybe somethink like this

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
  • NetBeans requare to download Mobility Pack (2 actualy)
  • Eclipse has 7 plugins to choose from
  • IntelliJ IDEA comes with one in build plugin plus option download to download another one
  • or which ever IDE in combination with Sun Java Wireless Toolkit
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Grayscale images are still difficult to process/manipulate with java. You should look up Java Advanced Imaging - Image IO many useful tips can be found on their forum .

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I have no experience with Blackberry (I do not own one or plan to have one), but most latest one let user browse the net.
However the main problem with browsing net with mobile device is, that there is very few sites that are optimized for mobile device. Because of that visitor is confused and discouraged from futher use

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

To open a webpage on mobile phone in visual form you need either micro browser whch is on advanced mobile phones or PDAs. Else you had to create MIDlet that will translate receive content of webpage to visual form, which will be pointless.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

That code that you provided is absolutely fine. I run the code and tried few pages, the output depends on "language" that is used in the site plus security implied.
The screenshot attached to post show output from my website that is just under construction, plain html used.
Output bellow is from daniweb

Response code = 200
Response message = OK
date = Mon, 03 Dec 2007 16:53:53 GMT
server = Apache/2.2
x-powered-by = PHP/5.1.6
set-cookie = bbsessionhash=782b9a7aa2d85821ddd6cea62f4fdcd8; path=/; domain=.daniweb.com
set-cookie = bblastvisit=1196700833; expires=Tue, 02-Dec-2008 16:53:53 GMT; path=/; domain=.daniweb.com
set-cookie = bblastactivity=0; expires=Tue, 02-Dec-2008 16:53:53 GMT; path=/; domain=.daniweb.com
cache-control = private
pragma = private
vary = Accept-Encoding,User-Agent
transfer-encoding = chunked
content-type = text/html; charset=UTF-8

I do not know what exactly you trying to do, so if you can please provide more detailed explenation

PS: For admin/moderator, if you think this is a breach of security please remove that data about daniweb