ugh... not easily... but it could be done like so....

ServletContext sCtx = ....

String realPath = sCtx.getRealPath("path of resource");

then load the resource using whatever and do your thing..... I would ask why
do it this way, but im sure there must be some reason. in either case you
are going to have to use a servlet or jsp as the controller in order to make
the changes...

Al


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Emerson
Sent: Monday, June 11, 2001 8:08 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] how do I access simple html pages in a war file


I´m not using JSP, instead I made a class that changes dinamic tags (like
<#dinTag>) on static pages at run time. How do I access this static pages
at run time?
Emerson Cargnin
TRE-SC
Setor de Desenvolvimento
Tel: (48) 251-3700 - Ramal 3134

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to