A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
Struts weblogic deployment
jaisai vijay
Ranch Hand
Joined: Dec 17, 2009
Posts: 70
posted
Jan 14, 2010 14:57:54
0
Hi,
This is the first I am using weblogic was deploying
struts
1.2 application to weblogic I got the follwing exception
javax.servlet.jsp.JspException: Cannot find global ActionForward for name /welco me.do at org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:92 ) at jsp_servlet.__index._jsp__tag0(__index.java:125) at jsp_servlet.__index._jspService(__index.java:94) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run (StubSecurityHelper.java:227)
My index.jsp
<%@ page language="java" pageEncoding="UTF-8"%> <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %> <logic:forward name="welcome"/> <link rel="stylesheet" type="text/css" href="styles/style.css">
the Struts config file I hae the foolwing
<global-forwards > <forward name="welcome" path="/welcome.do" redirect="true" /> <forward name="logout" path="/logout.do"/> <forward name="error" path="page.error"/> </global-forwards>
Anyone please help me what is worng in the index.jsp files.
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Jan 14, 2010 17:23:15
0
What does the action configuration look like? Have you increased the logging level and checked the logs on startup and on hitting the
JSP
?
jaisai vijay
Ranch Hand
Joined: Dec 17, 2009
Posts: 70
posted
Jan 14, 2010 17:25:52
0
Actually it works in
Tomcat
but not in weblogic
Sorry I did not do that I am new for the deployment and all I don't know how to increase the log level.
Could you please tell me how to do it?
and my action configuration
<action path="/welcome" type="com.company.struts.action.WelcomeAction"> <forward name="showWelcome" path="page.login" /> <forward name="admin" path="page.admin" /> <forward name="maintenance" path="page.welcome" /> </action>
jaisai vijay
Ranch Hand
Joined: Dec 17, 2009
Posts: 70
posted
Jan 21, 2010 08:13:00
0
Hi All,
Please help me.
I have the follwoing exception when I deploy struts application on weblogic but it works in tomcat
jaisai vijay
Ranch Hand
Joined: Dec 17, 2009
Posts: 70
posted
Jan 21, 2010 15:04:17
0
Hi All,
Finally I fixed the above issue. There was a name misspelled.
Now I have the following problem Can anyone help me please?
navigation.jsp:1:1: The validator class: "org.apache.taglibs.standard.tlv.JstlCo reTLV" has failed with the following exception: "java.lang.ClassCastException: w eblogic.xml.jaxp.RegistrySAXParserFactory".
Thanks in advance.
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Struts weblogic deployment
Similar Threads
Issue with Struts 1.2 and Java 1.5
struts1 application: error in struts-config.xml
Problem Calling EJB from JSP
getServletContext() method in JSP's generated servlet
Cannot retrieve mapping for action /UserRegistration
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter