Using a DataSource from WebLogic in a JSP
Example 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 tutorialTHE TUTORIAL LIBRARY
Example 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 tutorialpreg_match() is the function that matches one pattern with the subject string and returns either true or false depending whether the subject matched the pattern. It also can return
Read tutorialIn case you want to create a temporary file, the best way to do it is with the tmpfile() function. This function creates a temporary file with a unique random name in the current d
Read tutorialPHP provides the unlink() function for deleting a file, which "unlinks" the file from a directory. On a UNIX-like system the file will only be deleted if no programs have this file
Read tutorialWhile writing to files that are possibly being read by other scripts at the same time, you will run into problems at some point because a write might not totally be completed while
Read tutorialOne example today. A better developer tomorrow.