Forum: JSP Oct 22nd, 2007 |
| Replies: 3 Views: 1,419 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 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 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 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 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 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 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 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 Thats true. I didn't look at the order of the numbers:$ |
Forum: IT Professionals' Lounge Sep 30th, 2007 |
| Replies: 3 Views: 1,130 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 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 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 That's a really good example. Thank you. |
Forum: HTML and CSS Sep 30th, 2007 |
| Replies: 5 Views: 1,350 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 Thanks you for the replies. I'll add title attributes. |
Forum: IT Professionals' Lounge Aug 14th, 2007 |
| Replies: 2 Views: 1,189 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 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 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 What do you mean by visual program? |
Forum: JavaScript / DHTML / AJAX Aug 3rd, 2007 |
| Replies: 1 Views: 2,065 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 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 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 Thanks for the replies. I check out both options. |
Forum: PHP Aug 1st, 2007 |
| Replies: 4 Views: 4,932 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 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 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 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 You could just style the tr, td and th tags
tr{
background: white;
}
etc |
Forum: PHP Jul 26th, 2007 |
| Replies: 11 Views: 2,721 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 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 How about a web based game. Could be based on sports, adventure, puzzel etc. |
Forum: PHP Jul 26th, 2007 |
| Replies: 11 Views: 2,721 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 Thanks i will have to read up on that. |
Forum: PHP Jul 25th, 2007 |
| Replies: 11 Views: 2,721 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 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 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 Print on both sides of paper. |
Forum: PHP Jul 24th, 2007 |
| Replies: 2 Views: 644 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 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 This should work on Windows
public class LoadURL
{
private String url = "www.yahoo.com";
public LoadURL(){
try{
... |