aspose file tools*
The moose likes BEA/Weblogic and the fly likes Hot to deploy struts application in weblogic8.1 with SP4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Hot to deploy struts application in weblogic8.1 with SP4" Watch "Hot to deploy struts application in weblogic8.1 with SP4" New topic
Author

Hot to deploy struts application in weblogic8.1 with SP4

arpan prasad
Greenhorn

Joined: Jul 17, 2006
Posts: 3
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

Joined: Oct 29, 2001
Posts: 8997
    
    9

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 ]

[How To Ask Questions On JavaRanch]
arpan prasad
Greenhorn

Joined: Jul 17, 2006
Posts: 3
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

Joined: Jul 17, 2006
Posts: 3
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hot to deploy struts application in weblogic8.1 with SP4