Access the org.apache.catalina.authenticator.REQUEST note (get the requested page before the authentication form)

2004-10-04 Thread Giovanni Formenti
Hi!!
I use Tomcat 4.1 within JBoss 3.2.3 and JAAS.
I need to know the page requested before the authentication take the control
of the view. I find that information in the StandardSession's note
org.apache.catalina.authenticator.REQUEST.
How can i read it?!
request.getSession() is a StandardSessionFacade with the session field
(that have the public getNotes()) unaccessible... :(

Any idea?!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Include a file with custom tag

2003-03-26 Thread Giovanni Formenti
Hallo,
I'd like to know if it's possible to include into a JSP page another JSP
page with some custom tags. I try with %@ include file=tags.jsp % or
jsp:include... or %=content_of_tag.jsp % and it works but the custom
tags in the tags.jsp file aren't parsed as custom tags, they stays the
same as in tags.jsp.
For example:
--
main.jsp:
[... I include taglibs declaration, sure...]
html:form ...
%@ include file=tags.jsp %
/html:form ...
[...]
--
tags.jsp:
[... I include taglibs declaration, sure...]
[...]
--
the result:
form ... //right parsed
html:text ...  //not parsed!!
/form ... //right parsed
---
instead of:
form ...
input type=text ...
/form ...

There is a way to do this (maybe in a servlet that compile tags.jsp and
then include it in the main JSP)?
Thanx for any help!!

Giovanni


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]