[opencms-dev] trying to find the correct function

Pablo Caviglia pablo.caviglia at gmail.com
Mon Apr 3 23:44:51 CEST 2006


 Hi all!

I am trying to develop a JSP page that receives a parameter from the
request, and then it ´edits´ an HTML file to add the parameter value to an
element of the HTML file.

To be clear, the idea is this:

I call a JSP located on the OpenCMS system passing the parameter 'test' with
the value '123'.
That JSP file will edit the 'control code' of an specific HTML file, and
will replace the content of the element named 'test' with the value '123'.

I need to know how can i open the specified HTML file to then edit an
specific element of it. I think i already know the solution to make this via
the string search/replace functionality, but i think that solution is
probably not good. I guess there is some implemented functionality to
replace the content of an element of a file... but i need to know where
exactly and how to use it.

Ok... hope someone can help me.


Thanks!!!

      Pablo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060403/4b0a41b8/attachment.htm>


More information about the opencms-dev mailing list