File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts with weblogic8.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts with weblogic8.2" Watch "Struts with weblogic8.2" New topic

Struts with weblogic8.2


Joined: Aug 13, 2002
Posts: 15

I am trying strut application to deploy on weblogic8.2.I am using jakarta-struts-1.2.4 (struts.jar).
I am using <logic:forward name="c4news"/> in my weocme.jsp in which i am trying to forward to c4news page.But I am getting the below error i dont know why?..I have already added servlet.jar,weblogic.jar and struts.jar in classpath.

D:\bea\user_projects\domains\c4manager\.\myserver\.wlnotdelete\extract\myserver_c4manager_c4manager\jsp_servlet\ cannot resolve symbol
probably occurred due to an error in /Welcome.jsp line 3:
<logic:forward name="c4news"/>

Full compiler error(s):
D:\bea\user_projects\domains\c4manager\.\myserver\.wlnotdelete\extract\myserver_c4manager_c4manager\jsp_servlet\ cannot resolve symbol
symbol : variable EVAL_BODY_BUFFERED
location: interface javax.servlet.jsp.tagext.BodyTag
if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /Welcome.jsp; Line: 3]

Please let me know what may be the problem?..

Thanks In Advance...


Thanks<br />chets
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

Did you put your logic:forward tag inside of another custom tag or something?

Would you mind posting the jsp?

A good workman is known by his tools.
Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

Howdy "chetandurg",

Welcome to JavaRanch! We don't have a lot of rules in these here parts but one that we're kind of particular about is the JavaRanch Naming Policy (the other one's the "Be Nice" rule). We'd be much obliged to you if you would take a minute to edit your profile and make your publicly displayed name comply with the rule. Hope to see you around the Ranch!


As for your problem, you might want to check the JSP spec version that your container supports. The EVAL_BODY_BUFFERED superceded EVAL_BODY_TAG since JSP 1.2. I suspect your container only supports JSP 1.1

Junilu - [How to Ask Questions] [How to Answer Questions]

Joined: Aug 13, 2002
Posts: 15
Thanks Marc/Junilu,

Below is my Welocme.jsp,taglibs.jsp,struts-config.xml and tiles.xml.
The same pages works perfectly with tomcat server but i am unable to deploy on weblogic8.2.

<%@ include file="pages/common/taglibs.jsp" %>

<logic:forward name="c4news"/>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>


<!-- Welcome.jsp forwarded to this path -->
<forward name="c4news" path="/" redirect="false" />
<forward name="welcome" path="/" redirect="false" />

<definition name="c4news" path="/pages/layout/c4OnlyBodyTemplate.jsp">
<put name="title" value="C4 News" />
<put name="body-content" value="/pages/body/News.jsp" />

SO please let me know if any changes needs to be done.
Thanks In advance...

[ January 11, 2005: Message edited by: chetandurg ]
I agree. Here's the link:
subject: Struts with weblogic8.2
It's not a secret anymore!