Search Results

Showing results 1 to 40 of 162
Search took 0.01 seconds.
Search: Posts Made By: Cerberus
Forum: JSP Oct 22nd, 2007
Replies: 3
Views: 1,419
Posted By Cerberus
It works fine for me. I think that it does't like the import statement (can't find the class).

See if the following works.

<html>
<body>
<%
out.print("Hello World");
%>
</body>
Forum: JSP Oct 21st, 2007
Replies: 3
Views: 1,419
Posted By Cerberus
Perhaps there is an issue with your web.xml file.

How are you outputting your Hello World program? E.g. using a class or sciptlet in the JSP page.
Forum: JSP Oct 20th, 2007
Replies: 0
Views: 1,795
Posted By Cerberus
Hi. Is it possible to use a resultset from a scriplet in a <c:forEach> loop?

E.g.

results = prepstatement.executeQuery();
request.setAttribute("results", results);


<c:forEach...
Forum: Game Development Oct 18th, 2007
Replies: 6
Views: 2,276
Posted By Cerberus
Like Shawn says you could use Javascript which is available to most modern web browsers. There are probably lots of examples of Javascript games. Javascript could be used to manipulate your HTML...
Forum: JSP Oct 13th, 2007
Replies: 1
Views: 2,278
Posted By Cerberus
Solved:

I just accessed it in the same way i would access elements submitted by a form (i.e. by the name e.g. ${param.pageid})

:$
Forum: JSP Oct 13th, 2007
Replies: 1
Views: 2,278
Posted By Cerberus
Hi all. How do you get values from an appended url string using JSTL?

For example:

redirect.jsp?pageid=23

-how would i get that value?

Thanks.
Forum: JSP Oct 12th, 2007
Replies: 1
Views: 1,358
Posted By Cerberus
Hi, i think you need to put them in the WEB-INF folder of your application and then shutdown and restart Tomcat.

Edit: Sorry i think the packages need to go into the WEB-INF - classes folder.
Forum: IT Professionals' Lounge Oct 3rd, 2007
Replies: 2
Views: 1,063
Posted By Cerberus
If the new class uses some of the methods in the Customer class and is a type of customer then i would say extend/inherit the Customer class.

Best practice would probably be to identify common...
Forum: Java Sep 30th, 2007
Replies: 4
Views: 6,824
Posted By Cerberus
Thats true. I didn't look at the order of the numbers:$
Forum: IT Professionals' Lounge Sep 30th, 2007
Replies: 3
Views: 1,130
Posted By Cerberus
From the little i know of the subject, Adobe AIR allows you to use web based technologies for desktop applications and i would guess Flash would be included. Flash uses ActionScript 3 which is object...
Forum: Java Sep 30th, 2007
Replies: 4
Views: 6,824
Posted By Cerberus
I would use an array of ints. Then loop through the length of the array. Then the nested loop output the numbers from the end of the array back to the beginning using the first loop as the counter to...
Forum: Java Sep 30th, 2007
Replies: 3
Views: 832
Posted By Cerberus
Sometimes applications require the use of system libraries and tools. Sometimes files may need to be copied to specific folders on the client maching. Another reason may be to ensure that certain...
Forum: HTML and CSS Sep 30th, 2007
Replies: 5
Views: 1,350
Posted By Cerberus
That's a really good example. Thank you.
Forum: HTML and CSS Sep 30th, 2007
Replies: 5
Views: 1,350
Posted By Cerberus
Hi. I was wondering if there was a 'best practice' for formatting an html form. I assume that you are not supposed to use tables for this.

Any ideas?

Thanks.
Forum: HTML and CSS Aug 14th, 2007
Replies: 3
Views: 6,857
Posted By Cerberus
Thanks you for the replies. I'll add title attributes.
Forum: IT Professionals' Lounge Aug 14th, 2007
Replies: 2
Views: 1,189
Posted By Cerberus
Ok thankyou. Standalone working on XP would be most suitable. I've got old computers that run older browsers but it's a lot of hassel booting them up to test on.
Forum: HTML and CSS Aug 14th, 2007
Replies: 3
Views: 6,857
Posted By Cerberus
I have a navigation system with rollover effects using css. all effects are in the same gif image and depending on the state (mouse over, selected, mouse out) a different section of the image is...
Forum: IT Professionals' Lounge Aug 14th, 2007
Replies: 2
Views: 1,189
Posted By Cerberus
High, i've been looking on the MS website for old versions of Internet Explorer but can't find any downloads. I want to test a site to make sure it doesn't break in older browsers. If anyone knows...
Forum: PHP Aug 14th, 2007
Replies: 2
Views: 787
Posted By Cerberus
What do you mean by visual program?
Forum: JavaScript / DHTML / AJAX Aug 3rd, 2007
Replies: 1
Views: 2,065
Posted By Cerberus
Problem solved. I just used the onmousedown event handler in a span tag.
Forum: JavaScript / DHTML / AJAX Aug 3rd, 2007
Replies: 1
Views: 2,065
Posted By Cerberus
Hi. Can anyone tell me how i can make a call to a javascript function when a user clicks on some plain text.

Thanks.
Forum: HTML and CSS Aug 1st, 2007
Replies: 3
Views: 853
Posted By Cerberus
I think the move is for tables to only be used for displaying data and CSS is used to organise the look and feel of the site. I think some older browsers still don't support (or not to standard) CSS,...
Forum: PHP Aug 1st, 2007
Replies: 4
Views: 908
Posted By Cerberus
Thanks for the replies. I check out both options.
Forum: PHP Aug 1st, 2007
Replies: 4
Views: 4,932
Posted By Cerberus
You can just turn of the php tags or echo the img tag

if ($cam == camelx)
{
?>
<img src="maledromidary.jpg" alt="" />
<?php
}
elseif ($cam == camely)
echo "<img...
Forum: PHP Jul 29th, 2007
Replies: 4
Views: 908
Posted By Cerberus
Hi, can anyone point me in the right direction with incorporating rss feeds into web sites?

Thanks.
Forum: IT Professionals' Lounge Jul 28th, 2007
Replies: 13
Views: 2,711
Posted By Cerberus
I think UML is a good for documenting while you develop your software. Sometimes you don't know what you need to do until it's done and UML provides a set of models which, if used appropriately,...
Forum: PHP Jul 28th, 2007
Replies: 1
Views: 657
Posted By Cerberus
It works fine for me.

Do you try to open the file through the browser or clicking the file icon? I'm just trying think why dreamweaver would open.
Forum: HTML and CSS Jul 27th, 2007
Replies: 2
Views: 9,046
Posted By Cerberus
You could just style the tr, td and th tags

tr{
background: white;
}

etc
Forum: PHP Jul 26th, 2007
Replies: 11
Views: 2,721
Posted By Cerberus
Thanks, i think i was just being a bit stupid and calling the instatiate.php script thinking it was the other one.
Forum: PHP Jul 26th, 2007
Replies: 11
Views: 2,721
Posted By Cerberus
Ok, i can't seem to do it. Would you mind telling me what i'm doing wrong. I get an error in the third script.

<?php //animal.inc

class Animal
{
private $noise;

function...
Forum: PHP Jul 26th, 2007
Replies: 1
Views: 2,601
Posted By Cerberus
How about a web based game. Could be based on sports, adventure, puzzel etc.
Forum: PHP Jul 26th, 2007
Replies: 11
Views: 2,721
Posted By Cerberus
Thanks, i tried this but had problems accessing the object. But i'll try again. I assume that session auto start is a PHP configuration to stop you have to type session_start.
Forum: PHP Jul 25th, 2007
Replies: 11
Views: 2,721
Posted By Cerberus
Thanks i will have to read up on that.
Forum: PHP Jul 25th, 2007
Replies: 11
Views: 2,721
Posted By Cerberus
Basically when a user successfully logs in i want to instantiate an object and load it with the users details. The class would have functions to manipulate the date etc. I would like to be able to...
Forum: PHP Jul 25th, 2007
Replies: 11
Views: 2,721
Posted By Cerberus
Thanks for your reply.

I just wrote that example quickly. I fully appreciate most OO concepts like access control etc. What i really want to do is load a class with data from a database and be...
Forum: PHP Jul 25th, 2007
Replies: 11
Views: 2,721
Posted By Cerberus
I've just started looking at OO PHP and was wondering how you would access an object in a script other than the one that instantiated it.

For example:


<?php // file: animal.php

Class...
Forum: Geeks' Lounge Jul 24th, 2007
Replies: 13
Views: 1,650
Posted By Cerberus
Forum: PHP Jul 24th, 2007
Replies: 2
Views: 644
Posted By Cerberus
Do you have a web server installed. I think that is a requirement inorder to serve the php pages.

I don't really have much knowledge on this subject btw.
Forum: Java Jul 22nd, 2007
Replies: 8
Views: 1,163
Posted By Cerberus
It just means that because of the 'public' keyword the filename must match the classname.
Forum: Java Jul 21st, 2007
Replies: 8
Views: 1,163
Posted By Cerberus
This should work on Windows

public class LoadURL
{
private String url = "www.yahoo.com";

public LoadURL(){

try{
...
Showing results 1 to 40 of 162

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC