I figured this one out. I needed to redeploy the web app.
right click on the JSPExamples and select undeploy. Re-run the web app
normally.
Services/Servers/GlassFish v2/Applications/Web Applications/
JSPExamples.


On Aug 25, 5:49 pm, Sunshine <[EMAIL PROTECTED]> wrote:
> You code c:set ... sets the attributes
> use c:out to display
> John
>
> On Aug 24, 7:46 pm,Rick<[EMAIL PROTECTED]> wrote:
>
> > Hi everyone,
> > I'm having trouble adding the anotherJSPFragment as outlined in the
> > exercise.
> > I am getting a compiler error.
>
> > PWC6197: An error occurred at line: 44 in the jsp file: /jsp2/tagfiles/
> > products.jsp
> > PWC6199: Generated servlet error:
> > string:///products_jsp.java:104: cannot find symbol
> > symbol  : method
> > setMyOwnJSPFragment(javax.servlet.jsp.tagext.JspFragment)
> > location: class org.apache.jsp.tag.web.displayProducts_tag
>
> > Did anyone else run into this problem? I'd appreciate any help.
>
> > this is what is added to the products.jsp, If I remove this it will
> > run.
>
> >      <jsp:attribute name="myOwnJSPFragment">
> >          This is the item: <font color="red">${name}</font><br/>
> >         <font color="blue"><strike>Was: ${origPrice}</strike></font><br/>
> >         <b>The price now is: ${salePrice}</b>
> >       </jsp:attribute>
>
> > and to the displayProducts.tag
>
> > <%@ attribute name="myOwnJSPFragment" fragment="true" %>
> > ...
> >     <td>
> >       <c:set var="name" value="iPod"/>
> >       <c:set var="origPrice" value="$210.00"/>
> >       <c:set var="salePrice" value="$100.00"/>
> >       <jsp:invoke fragment="myOwnJSPFragment"/>
> >     </td>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to