You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@click.apache.org by Bob Schellink <sa...@gmail.com> on 2010/08/30 10:37:07 UTC

Re: State of JSP support?

On 27/07/2010 23:42, Beto wrote:
>
> One more question: where does it say, in the docs, which control I can
> or can't use with jsp template?

I don't know of such docos, but on the other hand I'm not sure it
won't work. Try the PickList control and see if it renders or not.

Regards
Bob

On Fri, Jul 23, 2010 at 10:24 PM, Bob Schellink <sa...@gmail.com> wrote:
> On 22/07/2010 22:26, Beto wrote:
>>
>> "If you use JSP pages for rendering, the .jsp  extension must be used.
>> For example: "
>>
>> And says that I should use the .jsp extension, but doesn't indicate
>> that I must use the .htm extension in the request url.
>
>
> Ok, I've added a section to the doco that jsp templates are accessed using the htm extension.
>
> "Please note, Click does not handle JSP requests directly, instead it forwards JSP requests to the
> servlet container. Do not map the ClickServlet to handle *.jsp requests in web.xml. Instead .jsp
> templates are accessed with a .htm  extension. At runtime Click will convert the page path from .jsp
> to .htm and back."
>
> Kind regards
>
> Bob
>

Re: State of JSP support?

Posted by Beto <gi...@gmail.com>.
Hi, Bob! I hope it is fine with you!

I was studying the Apache Shiro security framework [1] and using the
Bruce Philips's example [2] which uses jsp, before make an example
using just click features. I've used the wicket shiro integration[3]
as references as well and build something not so professional but
enough to understand a little more about security sites.
I've asked here[4] about a real example and since then I'm trying to
do something really important to every web app: security.

So, theses attempts are here: click orm integration (coi), whick can
be checkout.
svn checkout http://osu.googlecode.com/svn/trunk/click-orm-integration coi

specially the somesecurity example. I know it is not very organized,
but can be a started point.

Regards,

[1]http://incubator.apache.org/shiro/
[2] http://www.brucephillips.name/blog/index.cfm/2009/4/5/An-Introduction-to-Ki-formerly-JSecurity--A-Beginners--Tutorial-Part-2
[3]http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-shiro
[4] https://issues.apache.org/jira/browse/CLK-532

PS.: I'm on vacation and will return until the end of week.