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

Hot to deploy struts application in weblogic8.1 with SP4

 
arpan prasad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I deployed a struts application by creating a war file. But i am getting the following error message due to struts regular tag.

Detail Error:-

Compilation of 'C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_webappdti_webappdti\jsp_servlet\_app\__login.java' failed:
--------------------------------------------------------------------------------
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_webappdti_webappdti\jsp_servlet\_app\__login.java:180: cannot resolve symbol
probably occurred due to an error in /app/login.jsp line 56:
<html:form action="/app/authenticate" onSubmit="setLoginCookie(this.username.value, this.password.value)">

C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_webappdti_webappdti\jsp_servlet\_app\__login.java:252: cannot resolve symbol
probably occurred due to an error in /app/login.jsp line 118:
</html:form>


--------------------------------------------------------------------------------
Full compiler error(s):
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_webappdti_webappdti\jsp_servlet\_app\__login.java:180: cannot resolve symbol
symbol : variable EVAL_BODY_BUFFERED
location: interface javax.servlet.jsp.tagext.BodyTag
if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /app/login.jsp; Line: 56]
^
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_webappdti_webappdti\jsp_servlet\_app\__login.java:252: cannot resolve symbol
symbol : method doAfterBody ()
location: class org.apache.struts.taglib.html.FormTag
} while (_html_form0.doAfterBody() == IterationTag.EVAL_BODY_AGAIN); //[ /app/login.jsp; Line: 118]
^
2 errors

Please tell me solution of this.
 
Joe Ess
Bartender
Posts: 9319
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have struts.jar included in your WAR somewhere that the compiler will find it (i.e. /APP-INF or /WEB-INF/lib)?
Do you have the various struts .tld files in WEB-INF?
[ July 17, 2006: Message edited by: Joe Ess ]
 
arpan prasad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes i have struts.jar file inside the application lib folder.And made a .war file of that application. and deployed it inside weblogic8.1
 
arpan prasad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also put struts.tld files inside the WEB-INF. I can not figure out where is the actual problem. Because the same application run properly in Iplanet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic