Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: JSP in orcale application server

Re: JSP in orcale application server

From: <buurd_at_my-deja.com>
Date: Mon, 08 Nov 1999 16:18:07 GMT
Message-ID: <806t3q$5d8$1@nnrp1.deja.com>


Ok... i figured out that there exists an add-on package. But where do I find it?? Is it good or should I use some other instead??

Tia

btw: I'm used to JSP.. not to Oracle Application Server...

In article <804i9i$i03$1_at_inet16.us.oracle.com>,   "Yass Khogaly" <ykhogaly_at_us.oracle.com> wrote:
> PURPOSE
>
> This document provides an example of passing string parameters
between JSP
> pages. This also sets a session to the WebServer.
>
> SCOPE & APPLICATION
>
> This document is intended for the novice JSP programmer. This is
intended
> to
> be used with the OAS 4.0.8.1.0 and higher Java Server Pages Add-on.
>
> =========== Start index.jsp ====================
>
> <HTML><HEAD>
> <TITLE>First Page </TITLE>
> </HEAD>
> <BODY>
> <FORM METHOD=POST ACTION="q2.jsp">
> What is your name?
> <INPUT TYPE=TEXT NAME="thename">
> <P>
> <INPUT TYPE=SUBMIT VALUE="SUBMIT">
> <p>
> </FORM>
> </BODY>
> </HTML>
>
> =========== Start q2.jsp ====================
>
> <HTML> <HEAD>
> <TITLE>Page 2</TITLE>
> </HEAD>
> <BODY>
> <%@ page language="java" %>
> <%! String name=""; %>
> <%
> name = request.getParameter("thename");
> session.putValue("thename", name);
> %>
> The name is <%= name %>
> <p>(if you get an error below.. just type your food and hit ENTER)
<p>
> <FORM METHOD=POST ACTION="q3.jsp">
> What is your favorite color?
> <INPUT TYPE=TEXT NAME="color">
> <P> <INPUT TYPE=SUBMIT VALUE="SUBMIT"></FORM>
> </BODY> </HTML>
>
> =========== Start q3.jsp ====================
>
> <HTML><HEAD> <TITLE> Page 3 </TITLE>
> </HEAD> <BODY>
> <%@ page language="java" %>
> <%! String food="";
> %>
> <%
> color = request.getParameter("color");
> String name = (String) session.getValue("thename");
> %>
> Your name is <b><%= name %></b>
> <P>
> Your favorite color is <b><%= food %></b>
> <p></BODY></html>
>
> "The Views expressed here are my own and not necessarily those of
Oracle
> Corporation"
>
> <buurd_at_my-deja.com> wrote in message

news:7vu8vi$bkr$1_at_nnrp1.deja.com...
> > Hi!
> > I'm looking for a way to use JSP (java server pages) in OAS 4.0.
Since
> > OAS doesn't support JSP i'll guess that i'll have to use some
separate
> > package but don't know if there is any preferd one?. I heard that
> > JDevelopers next version should support JSP, may it be something
there i
> > can use?
> >
> > Tia
> >
> > --
> > Roland Carlsson
> > Certified Java programmer
> > Skövde
> > Sweden
> >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
>

--
Roland Carlsson
Certified Java programmer
Skövde
Sweden

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Mon Nov 08 1999 - 10:18:07 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US