Ok,

    I downloaded a sample application for Sruts 2 from manning .com for
StrutsInAction. I still get the same error on the web server. When open
"http://localhost:8080/SampleApplication/Menu.action";
 for a moment the page says ...One moment please.. and then dumps the error.


HTTP Status 500 - 

--------------------------------------------------------------------------------

type Exception report

message 

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception 

javax.servlet.ServletException: File "/struts-tags" not found
        
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)

org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:422)
        org.apache.struts2.plexus.PlexusFilter.doFilter(PlexusFilter.java:96)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


root cause 

org.apache.jasper.JasperException: File "/struts-tags" not found

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)

org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)







Wes Wannemacher wrote:
> 
> On Wednesday 28 January 2009 10:59:35 SanJ.SANJAY wrote:
>> I can extract the struts-core jar with an error. 
> 
> Was that a mistake?
> 
>> Also I placed them under
>> WEB-INF/lib folder. The only thing I have'nt done yet is struts.xml file.
>> Could this be the issue? I thought since I wil not be using any action
>> for
>> this case, I did not need it? What do you say?
>>
> 
> I don't think that it is a problem, but it could be. Which brings me to my 
> next point... How do you expect Struts 2 to work if you aren't going to
> create 
> actions? The majority of tags will not work, if the page has not been 
> processed by the Filter. 
> 
> Anyhow, can you try to deploy one of the sample apps in your app server?
> Try 
> struts2-blank. If it works, we'll know it's not an app server problem. I'm 
> guessing that your setup is hosed. My suggestion would be to take a look
> at 
> the getting started guides and try to build a simple application, before 
> dumping all the jars into WEB-INF/lib and trying out the tags.
> 
> -Wes
> 
> -- 
> 
> Wes Wannemacher
> Author - Struts 2 In Practice 
> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
> http://www.manning.com/wannemacher
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts-tag---tp21707578p21751019.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to