You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by 西原 良二 <fj...@partner.nri.co.jp> on 2016/01/26 11:05:51 UTC

I want to know how use the parsing of Jaspar from outside.

Hello,

When I am looking for information in this mailing list in an attempt to use the Jaspar, 
I found the following thread .
https://mail-archives.apache.org/mod_mbox/tomcat-users/201509.mbox/%3C55F29C78.2000907@apache.org%3E

But I can not use well because there is access modifier 'private'.
I would be really grateful if you could help me to use that parser with no access modifier 'private'.

Best Regards


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: I want to know how use the parsing of Jaspar from outside.

Posted by 西原 良二 <fj...@partner.nri.co.jp>.
Hi Chris,

I want to use this method.
org.apache.jasper.compiler.Parser#parse

I want to get this instance.
org.apache.jasper.compiler.Node

Those classes are 'package-private'.

It does not mean want to compile.
I want to get parser tree of JSP.



Best Regards


On Tue, 26 Jan 2016 10:29:29 -0500
Christopher Schultz <ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 西原 良二,
> 
> On 1/26/16 5:05 AM, 西原 良二 wrote:
> > Hello,
> > 
> > When I am looking for information in this mailing list in an
> > attempt to use the Jaspar, I found the following thread . 
> > https://mail-archives.apache.org/mod_mbox/tomcat-users/201509.mbox/%3C
> 55F29C78.2000907@apache.org%3E
> >
> >  But I can not use well because there is access modifier
> > 'private'. I would be really grateful if you could help me to use
> > that parser with no access modifier 'private'.
> 
> Which method (or constructor)?
> 
> You might want to look at the ant tasks (jspc) and how they work.
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iEYEARECAAYFAlankNkACgkQ9CaO5/Lv0PDMmACgv0zZQ3wugrlb383oAnnRFKva
> UbMAoMOlfUJ8GKgvPDGG/r2YOBNtdYg8
> =ozwe
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: I want to know how use the parsing of Jaspar from outside.

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

西原 良二,

On 1/26/16 5:05 AM, 西原 良二 wrote:
> Hello,
> 
> When I am looking for information in this mailing list in an
> attempt to use the Jaspar, I found the following thread . 
> https://mail-archives.apache.org/mod_mbox/tomcat-users/201509.mbox/%3C
55F29C78.2000907@apache.org%3E
>
>  But I can not use well because there is access modifier
> 'private'. I would be really grateful if you could help me to use
> that parser with no access modifier 'private'.

Which method (or constructor)?

You might want to look at the ant tasks (jspc) and how they work.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlankNkACgkQ9CaO5/Lv0PDMmACgv0zZQ3wugrlb383oAnnRFKva
UbMAoMOlfUJ8GKgvPDGG/r2YOBNtdYg8
=ozwe
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org