Serving JSPs

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Serving JSPs

Alex Brown-5
Dear all,

As an Orbeon newbie I'm scratching my head over how to include a JSP in
a web app.

I assume (from previous posts) JSP files aren't to be declared in the
page-flow, but just putting the file in the app hierarchy doesn't seem
to work, as browsing to it causes a 404. If I change the file's
extension to .xsd (for example), then the server serves it okay though
(statically).

I have tried including

<files path-info="*.jsp"/>

In the page flow without success.

How can I have OPS serve JSPs and have them processed in the normal way
by the JSP/Servlet processor? I'm using Tomcat 5, BTW ...

Any help much appreciated ...

- Alex.

-------------------------------------
Alex Brown
Director

Griffin Brown Digital Publishing Ltd
Orwell House
Cowley Road
Cambridge
CB4 0PP
United Kingdom

t  +44 (0) 1223 425730
f  +44 (0) 1223 425384
w  http://www.griffinbrown.co.uk/
b  http://www.griffinbrown.co.uk/blog/
--------------------------------------



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Serving JSPs

Ryan Puddephatt
Alex,
        If you look at the examples, it shows how to use JSP pages within
the Orbeon application. A filter needs to be setup in the web.xml, it should
already be there if you have downloaded a war. All JSP files need to be in
the xforms-jsp folder to be served correctly.

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: Alex Brown [mailto:[hidden email]]
>Sent: 27 October 2006 11:51
>To: [hidden email]
>Subject: [ops-users] Serving JSPs
>
>Dear all,
>
>As an Orbeon newbie I'm scratching my head over how to include
>a JSP in a web app.
>
>I assume (from previous posts) JSP files aren't to be declared
>in the page-flow, but just putting the file in the app
>hierarchy doesn't seem to work, as browsing to it causes a
>404. If I change the file's extension to .xsd (for example),
>then the server serves it okay though (statically).
>
>I have tried including
>
><files path-info="*.jsp"/>
>
>In the page flow without success.
>
>How can I have OPS serve JSPs and have them processed in the
>normal way by the JSP/Servlet processor? I'm using Tomcat 5, BTW ...
>
>Any help much appreciated ...
>
>- Alex.
>
>-------------------------------------
>Alex Brown
>Director
>
>Griffin Brown Digital Publishing Ltd
>Orwell House
>Cowley Road
>Cambridge
>CB4 0PP
>United Kingdom
>
>t  +44 (0) 1223 425730
>f  +44 (0) 1223 425384
>w  http://www.griffinbrown.co.uk/
>b  http://www.griffinbrown.co.uk/blog/
>--------------------------------------
>
>



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Serving JSPs

Alex Brown-5
In reply to this post by Alex Brown-5
Ryan,

Aha - missed those. It now works :)

Many thanks!

- Alex.

> -----Original Message-----
> From: Ryan Puddephatt [mailto:[hidden email]]
> Sent: 27 October 2006 12:49
> To: [hidden email]
> Subject: RE: [ops-users] Serving JSPs
>
> Alex,
> If you look at the examples, it shows how to use JSP
> pages within the Orbeon application. A filter needs to be
> setup in the web.xml, it should already be there if you have
> downloaded a war. All JSP files need to be in the xforms-jsp
> folder to be served correctly.
>
> Ryan
>
> Ryan Puddephatt
> Software Engineer
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>
> e> [hidden email]
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
>
>  
>
> >-----Original Message-----
> >From: Alex Brown [mailto:[hidden email]]
> >Sent: 27 October 2006 11:51
> >To: [hidden email]
> >Subject: [ops-users] Serving JSPs
> >
> >Dear all,
> >
> >As an Orbeon newbie I'm scratching my head over how to
> include a JSP in
> >a web app.
> >
> >I assume (from previous posts) JSP files aren't to be
> declared in the
> >page-flow, but just putting the file in the app hierarchy
> doesn't seem
> >to work, as browsing to it causes a 404. If I change the file's
> >extension to .xsd (for example), then the server serves it
> okay though
> >(statically).
> >
> >I have tried including
> >
> ><files path-info="*.jsp"/>
> >
> >In the page flow without success.
> >
> >How can I have OPS serve JSPs and have them processed in the
> normal way
> >by the JSP/Servlet processor? I'm using Tomcat 5, BTW ...
> >
> >Any help much appreciated ...
> >
> >- Alex.
> >
> >-------------------------------------
> >Alex Brown
> >Director
> >
> >Griffin Brown Digital Publishing Ltd
> >Orwell House
> >Cowley Road
> >Cambridge
> >CB4 0PP
> >United Kingdom
> >
> >t  +44 (0) 1223 425730
> >f  +44 (0) 1223 425384
> >w  http://www.griffinbrown.co.uk/
> >b  http://www.griffinbrown.co.uk/blog/
> >--------------------------------------
> >
> >
>
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws