Hi Instead of writing

<%= out.println (testLine1);%>

Do this

<%= testLine1 %>

the syntax (<%=) means out.println() and there is no
need for a semi colon at the end


Jrun 2.3.3 actually uses jsp1.0 or jsp.0.91 when it is
installed you should be able to choose which version.


--- Hung Yee <[EMAIL PROTECTED]> wrote: > JRun 2.3.3,
to my knowledge, only goes up to JSP
> spec 0.91, not JSP 1.1
> spec, so the nice little '<jsp ... >' tags will
> never work.  My advice is to
> upgrade your app server to use the latest production
> specs, which is Servlet
> API 2.2 and JSP spec 1.1
>
> -----Original Message-----
> From: a b [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 15, 2001 8:10 AM
> To: [EMAIL PROTECTED]
> Subject: Re: forward question? Could it be JRUN--?
>
>
> OK... before I throw my hands up in the air and jump
> out the window, I thought I'd give it another shot.
> I
> tried exactly what you all have suggested and it is
> still returning null in Netscape and returning a
> blank
> page in IE 5?  I'm beginning to wonder if the
> version
> of Jrun (2.3.3)that we're currently using doesn't
> supports the forward function ?  Has anyone had this
> problem before?
>
> Is there another way to forward to a different page
> with parameters?
>
> I'm drowning here... haven't found anywhere else
> that
> explains my problem.
>
> Thanks in advance
>
>
>
>
>
> --- Michael Caines <[EMAIL PROTECTED]> wrote:
> > In JSP #2, try using <% instead of <%=
> > Michael
> >
> > > -----Original Message-----
> > > From: A mailing list about Java Server Pages
> > specification
> > > and reference
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of a
> b
> > > Sent: Wednesday, March 14, 2001 5:29 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: jsp:forward question?
> > >
> > >
> > > Hello,
> > >
> > > I'm attempting to forward from one jsp to
> another
> > jsp
> > > with parameters, but when I try
> > out.printl("param") it
> > > displays as NULL... Is there something that I'm
> > > missing...?  Is there another way that perhaps I
> > > should try? Is it possible to do a
> > RequestDispatcher
> > > call from a JSP.. if so.. would you know where I
> > could
> > > see and example? Any help would greatly be
> > > appreciated. Thanks in advance.
> > >
> > > Here's what the code looks like:
> > >
> > > -- JSP Page #1 --
> > > <jsp:forward page="TestPage1.jsp">
> > >     <jsp:param name="testparm1" value="Hello"/>
> > > </jsp:forward>
> > >
> > > --JSP Page #2 --
> > > <%= String testLine1 =
> > > request.getParameter("testparm1"); %>
> > > <%= out.println (testLine1);%>
> > >
> > > -- I've also tried this....
> > >
> > > <%= request.getParameter("testparm1");%>
> > >
> > >
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Auctions - Buy the things you want at
> great
> > prices.
> > > http://auctions.yahoo.com/
> > >
> > >
> >
>
==============================================================
> > > =============
> > > To unsubscribe: mailto [EMAIL PROTECTED]
> with
> > body:
> > > "signoff JSP-INTEREST".
> > > For digest: mailto [EMAIL PROTECTED] with
> > body: "set
> > > JSP-INTEREST DIGEST".
> > > Some relevant FAQs on JSP/Servlets can be found
> > at:
> > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with
> > body: "signoff JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with
> body:
> > "set JSP-INTEREST DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found
> at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great
> prices.
> http://auctions.yahoo.com/
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to