Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use of Logic equal tag

 
Parijat Mukherjee
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • 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
 
poornima balagopal
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • 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
 
Srikanth Shenoy
author
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • 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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic