Hi for all. Firstly thank you all for reading this email, I hope you can help me, I'm starting with struts.
I want to do something as simple as 2 links to pass control to 2
different JPS.
as follows.
<html:link action="SayHello.do"> Hello </ html: link>
<html:link action="SayGoodBye.do"> Bye </ html: link>
In struts-conf.xml have defined the following action-mappings and
global-forwards
<global-forwards>
<forward name="welcome" path="/Welcome.do"/>
<forward name="sayhello" path="/SayHello.do"/>
<forward name="saygoodbye" path="/SayGoodBye.do"/>
</ global-forwards>
<action-mappings>
<action path="/Welcome" forward="/welcomeStruts.jsp"/>
<action path="/SayHello" forward="/WEB-INF/hello.jsp"/>
<action path="/SayGoodBye" forward="/WEB-INF/bye.jsp"/>
</ action-mappings>
And the end result is an exception type
javax.servlet.ServletException: Could not initialize class
org.apache.jasper.runtime.BodyContentImpl
I believed that this would work, otherwise I did not understand how
struts work.
Someone can tell me if my fault or failure of a dependency?
Tnks for all :)
--
GPG Public Key: http://sync.es/seguridad/Jesus_Sync.asc
Key fingerprint = 8FFC 19B4 5F81 FC66 965C ACCA 01F6 2DA0 8BBA 51EC
--
signature.asc
Description: OpenPGP digital signature

