• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Jsp 1.0 problem

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am working on websphere 3.5 Ibm http server on nt -------- jsp1.0

i am not getting result when using <jsp:include>
______________________________________________________________
<jsp:include page="http://localhost/search/bin/productSearch.jsp?q=<%=q%>" flush="false" />
i get error invalis include tag
--------------------------------------------------------

___________________________________________________________________
when i use
<jsp:include page="http://localhost/search/bin/productSearch.jsp?q=<%=q%>" flush="true" />
no error is displayed page before this line is displayed and then it blank page with no error
-------------------------------------------------------------------


pls help
 
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I think it will help you

JSP Syntax
<jsp:include page="{relativeURL | <%= expression %>}"
flush="true| false" />

or

<jsp:include page="{relativeURL | <%= expression %>}"
flush="true| false" >
<jsp aram name="parameterName"
value="{parameterValue | <%= expression %>}" />+
</jsp:include>

----------
This example determines the file to include from a request parameter:
<jsp:include page='<%= request.getParameter("incFile") %>' />

-----------

<jsp: include page="order.jsp" flush="true">
<jsp aram name="currency" value="<%=request.getParameter(\"money\")%>"/>
<jsp aram name="amount" value="<%=request.getParameter(\"number\")%>"/>
</jsp:include>

[ July 15, 2004: Message edited by: Sri Gnana ]
[ July 15, 2004: Message edited by: Sri Gnana ]
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
flush="false" is not supported by your server.
 
Sri Gnana
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using flush=true also showing the blank page.
i think problem is bcoz of q=<%=q%>
 
nirail rail
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI
Sri Gnana & jeroen,

I was able to solve problem bcoz of u r promt reply
it was due to ?q=<%=q%>,

it is totally not necessary as i have included those pages it get the parameter in included pages

thanx a lot

Reagrds
Nirail
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic