well JSP is a servlet really, so the same methodology will work
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Emerson
Sent: Monday, June 11, 2001 11:02 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] how do I access simple html pages in a war
file
At 09:05 11/06/01 -0400, you wrote:
>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...
I have a kind of old system made when there weren�t JSP pages, just
servlets. So i want to reuse this functionality.
>
>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
>
>
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