• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Use of Logic equal tag

 
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
 
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
 
author
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 ]
 
I'm not sure if I approve of this interruption. But this tiny ad checks out:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!