Embedding MP3 audio file in a JSP
The embed tag is used to include an audio file with a JSP, so that when a user requests the JSP, the browser plays music. Specifically, the browser is designed to detect the MIME t
Read tutorialTHE TUTORIAL LIBRARY
The embed tag is used to include an audio file with a JSP, so that when a user requests the JSP, the browser plays music. Specifically, the browser is designed to detect the MIME t
Read tutorialSimilar to using the Java Plug-in, a JSP uses the embed tag inside of an HTML object tag to properly load one of Apple Computer's QuickTime movies. You must include the CLASSID att
Read tutorialThe following scriptlet code adds a Refresh header that specifies a 60-second interval for refreshing the JSP. Place this code at the top of the JSP before any content appears:
Read tutorialThe JSTL v1.0 makes all existing request headers available via the header implicit object. The JSTL automatically makes this variable available to JSPs; the header object evaluates
Read tutorialExample below imports the necessary classes at the top of the code using the page directive and its import attribute. Otherwise, this JSP accomplishes everything that the servlet o
Read tutorialTomcat makes it easy to set up a connection pool so that servlets and JSPs can efficiently share database connections. In web sites that have many simultaneous users, a connection
Read tutorialThe first thing to do is get set up with a Google Web Services account. Now create a JavaBean that will make keyword searches of Google and return the results.
Read tutorialThe easiest way to test a new JSP file is to place it at the top level of Tomcat's default web application. This application is located in the /webapps/ROOT/ directory. Tomcat 4.1.
Read tutorialA JavaServer Pages (JSP) component is a type of Java servlet that is designed to fulfill the role of a user interface for a Java web application. Web developers write JSPs as text
Read tutorialWhen embedded in a web server, PHP scripts usually do their job quickly and exit. This paradigm does not fit when using CLI; your scripts may run forever, or at least until the nex
Read tutorialpreg_split() can be used to split a string into substrings by using a regular expression match for the delimiters. PHP provides an explode() function that also splits strings, but
Read tutorialPHP's regular expression functions can also replace text based on pattern matching. The replacement functions can replace a substring that matches a subpattern with different text.
Read tutorialOne example today. A better developer tomorrow.