First, thanks for the help Mike.
Here is an example of the config file (which we will refer to as config.txt) I have to "parse":
0,1,15,360,string1,string2,...,string n
PARAM1=VALUE1
PARAM2=VALUE2
As you can see the configuration file format mixes CSV with PARAM=VALUE format. Why...
Hi,
I (newbie shell scripter) have to write a script that will read parameter/value pairs used as configuration parameters for an application. The configuration file as the following form:
parameter1Name=parameter1Value
parameter2Name=parameter2Value
...
I'm looking for a more efficient way...
Try this:
<error-page>
<error-code>404</error-code>
<location>/<a path>/error.jsp</location>
</error-page>
Note: it wouldn't work without the '/' preceding error.jsp and the parser is real picky about where in the file you place the definitions. This is after the <servlet-mapping> element.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.