All pastes #176648 Raw Edit

Miscellany

public java v1 · immutable
#176648 ·published 2006-09-19 20:50 UTC
rendered paste body
<HTML><HEAD><TITLE>Replacement method</TITLE><script language="JavaScript">	function replaceString(regexpression, replaceString){		document.replaceForm.source.value =		  document.replaceForm.source.value.replace(regexpression, replaceString)	}</script></HEAD><BODY><form name=replaceForm><TextArea cols=45 rows=5 name=source>In teh tree-tier client/server architecture, teh business logic is separated into a middle tier: an application server is usedto manage teh business logic, and a database server handles the data access logic, and the client manages only the presentation logic </textarea>	<br><br>	Replace:<input type=text name=toReplace size=10>	with:<input type=text name=replaceWith size=10>	<input type=button value="Replace" 		onClick="replaceString(toReplace.value,replaceWith.value)"></form></BODY></HTML>