• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Use of Logic equal tag

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm getting this error :
E SRVE0026E: [Servlet Error]-[No selector attribute ;cookie/header/name/parameter; was specified]: javax.servlet.jsp.JspException: No selector attribute (cookie/header/name/parameter) was specified
at org.apache.struts.taglib.logic.CompareTagBase.condition(CompareTagBase.java:249)

when i'm trying to reload (in sorted form )my jsp page
CAN SOMEONE HELP PLEASE AS IT IS URGENT
 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am not getting what you trying to do ? If you are trying to use
logic:equal tag
then its use is like as follows
<logic:equal name="mode" value="add">
==code part
</logic:equal>
Here this mode i set from my action class from which i am loading this page
as request.setAttribute("mode", "add");
In my jsp if there are certain things has to be displayed or some other thign i have to do only if the option i am selecting is "add" only
That part i will give in between by above logic:equal tag
For detailed explanation please go through jakarta struts user guide.There they have given the detailed explanation of tag libraries
All the best
Poornima
 
author
Posts: 184
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Parijat,
If you are getting this error only while reloading the page and not while original display, here is one reason why:
You are using the logic:equal tag to compare a request attribute with another value.
When the page is reloaded the request attribute is not present and hence the error..
Hope this helps,
Srikanth Shenoy
[ February 27, 2004: Message edited by: Srikanth Shenoy ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic