- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 4
- Posts with Upvotes
- 3
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
89 Posted Topics
Re: You could use component like a dropdown box to limit the users choices to a range of numbers. | |
Re: 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 denote how many elements need printing. | |
Re: 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. | |
Sorry if this has been asked before. I have a jframe with a textcomponent in it and a menu with an exit option. When you select the exit option a funciton is called that checks whether a change has been made to the document and the user can select to … | |
Re: Do you mean you need the user to submit their name? If so you could just use and HTML form and post it to your php page for processing. | |
Re: [quote=jiruiz78;390572]you can call them DEVIGNERS! (developers / designers)[/quote] Good terminology. But i don't know why it isn't Web Programmer and Web Designer and the middle ground is a Web Developer:-O | |
| |
Re: [quote=no1zson;405704]TheGathering, Compactdisk would be my vehicle, and Cdartist would be a car or truck. [/quote] The Compactdisk class is really the specification for a car (or Cd no artist) and Cdartist a specification of a truck (cd with an artist). The car or truck is the object that you instantiate … | |
Re: I don't know if you can do it but it might be possible to display images using the <marquee> tags and maybe hyperlink them to some kind of popup window. | |
Re: 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, document your system in an easily readable fashion. | |
Hi. Is it possible to use a resultset from a scriplet in a <c:forEach> loop? E.g. [CODE]results = prepstatement.executeQuery(); request.setAttribute("results", results);[/CODE] [CODE]<c:forEach items="${results.rows}" var="row"> row.fieldValue <br /> </c:forEach>[/CODE] Thanks. | |
Re: 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 document. For example, hiding or showing certain page elements depending on the games state. | |
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. | |
Re: 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. | |
Re: 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 oriented and i believe to be very powerfull. So as a guess i would say … | |
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. | |
Re: 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 functionality in the design and create a class from which all relevant classes can inherit. | |
Re: 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 software is present (e.g. the latest Java VM). Not all programs require this though. In java you can … | |
Re: Macromedia/Adobe have tutorials on their site for Dreamweaver i think. | |
Re: I've used ASP (not dot net) and PHP and much prefered PHP. | |
| |
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 shown. Because the image is only referred to in the css file and a reference … | |
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 where to find IE 5 on the MS site could you provide the … | |
Re: You can just turn of the php tags or echo the img tag [code=php] if ($cam == camelx) { ?> <img src="maledromidary.jpg" alt="" /> <?php } elseif ($cam == camely) echo "<img src='malebactrian2.jpg' alt='' />"; ?>[/code] | |
Hi. Can anyone tell me how i can make a call to a javascript function when a user clicks on some plain text. Thanks. | |
Re: 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, so this could be an issue with a site using … | |
Hi, can anyone point me in the right direction with incorporating rss feeds into web sites? Thanks. | |
Re: 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. | |
Re: You could just style the tr, td and th tags [CODE]tr{ background: white; }[/CODE] etc | |
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: [CODE] <?php // file: animal.php Class Animal { $name; $noise; function _construct($nm, $no) { $this->name = $nm; $this->noise = $no; } function … | |
Re: How about a web based game. Could be based on sports, adventure, puzzel etc. | |
Re: 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. | |
Re: This should work on Windows [code]public class LoadURL { private String url = "www.yahoo.com"; public LoadURL(){ try{ Runtime.getRuntime().exec ("rundll32 url.dll, FileProtocolHandler " + url); } catch(Exception e){ } } public static void main(String[] args){ LoadURL load = new LoadURL(); } }[/code] | |
| |
Re: I don't see how you can hide the source that gets sent to the client browser. Code within the PHP tags would be processed at the server end anyway. So data such as database login wouldn't be sent to the client machine anyway. | |
Re: [quote=TheGathering;407047]I'm a fan of JCreator (what is used in many AP Compsci classes).[/quote] Me too, the light edition. Code completion is really a hinderance id you touch type. | |
I couldn't find anywhere to ask this question and i'm working with PHP so i thought i would ask it here. What would be the SQL statement to modify a database field from 'YYYY-MM-MM' to 'DD-MM-YYYY'. Thanks, | |
Re: I'll give you a simple example.. Imagine a class: [CODE]public class Animal{ int legs; bool tail; public Animal(int legs, bool tail){ this.legs = legs; this.tail = tail; } public void noise(){ System.out.println("GROWL!"); } }[/CODE] Now we can inherit an 'Animal' and 'override' its noise method. [CODE]public class Dog extends Animal{ … | |
Re: I don't think you can do that at all with PHP because it need to be processed by the PHP engine (server side). | |
Re: I don't know that much about the subject but i think Apache is an open source web server for Unix based operating systems and is normally used in conjunction with PHP. IIS is Microsoft's web server and usually runs on Windows machines and is used with ASP and other microsoft … | |
Re: I would guess that the Session variable hasn't been configured on the server. But it's just a guess. | |
Re: If you need to know the basic steps then it's probably too soon to start a large project. I would suggest getting a book (Learning Java by Knudsen and Niemeyer [o'reilly publisher] is a good start) and learning the basics. | |
Re: Notepad++ has syntax highlighting for a lot of different languages. | |
Re: Don't you have to pass the db connection variable in? [CODE]mysql_select_db("$db_name", [B]$dbconnect[/B]); $result=mysql_query($sql, [B]$dbconnect)[/B];[/CODE] | |
Suppose there is a very simple web page. [CODE]<html> <head> <style type="text/css"> #logo{ background-color: red; position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; } #banner{ background-color: blue; position: absolute; top: 0px; left: 100px; width: 500px; height: 100px; } #content{ background-color: green; position: absolute; top: 100px; left: 0px; width: … | |
Re: You have 'const' p in your formal parameters of your check_diagnal function. I don't know if that's the only reason because my compiler has thrown up a few other errors. Actually, i put that problem in myself. Sorry |
The End.