*
The moose likes Struts and the fly likes New to struts.. Help plz.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "New to struts.. Help plz.." Watch "New to struts.. Help plz.." New topic
Author

New to struts.. Help plz..

priya vinay
Greenhorn

Joined: Nov 14, 2003
Posts: 21
Just started working on struts in jdeveloper. First thing i'm trying is Thomas paul's ex
I did everything as explained, but i couldn't see the login page. Plz help.
Error:
404 Not Found
Resource /login/WEB-INF/jsp/LoginView.jsp not found on this server
priya vinay
Greenhorn

Joined: Nov 14, 2003
Posts: 21
And plz do suggest me good books to go thr' the stuts basics.
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

JSPs should not be in WEB-INF. Any file you want to directly access from your browser should not be in that folder.
I'm a fan of Struts in Action by Ted Husted.


A good workman is known by his tools.
priya vinay
Greenhorn

Joined: Nov 14, 2003
Posts: 21
Thanks for your reply.
I moved jsp from web-inf.
now the error is....
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
void org.apache.struts.util.MessageResources.<clinit>()
MessageResources.java:105
void org.apache.struts.taglib.bean.MessageTag.<clinit>()
MessageTag.java:257
java.lang.Class java.lang.Class.forName0(java.lang.String, boolean, java.lang.ClassLoader)
native code
java.lang.Class java.lang.Class.forName(java.lang.String)
Class.java:120
void _jsp._LoginView._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
[/jsp/LoginView.jsp]
LoginView.jsp:8
void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpJsp.java:139
void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
JspPageTable.java:317
void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
JspServlet.java:465
void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
JspServlet.java:379
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpServlet.java:853
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ServletRequestDispatcher.java:721
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
ServletRequestDispatcher.java:306
boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
HttpRequestHandler.java:767
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
HttpRequestHandler.java:259
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
HttpRequestHandler.java:106
void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
PooledExecutor.java:797
void java.lang.Thread.run()
Thread.java:484

any help?
priya vinay
Greenhorn

Joined: Nov 14, 2003
Posts: 21
I figured it ouy. Thanx.
Vimala Kariappan
Greenhorn

Joined: Jun 16, 2006
Posts: 1
Hello Priya.....
I'm also getting same error.Can pls tell me wat is the cause for that class not found error.
vidya sagar
Ranch Hand

Joined: Mar 02, 2005
Posts: 580
Can pls tell me wat is the cause for that class not found error.


hope it is not under correct folder structure
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: New to struts.. Help plz..
 
Similar Threads
BEA Weblogic certification guide from GAMMA
JAAS- "No LoginModule found for ur jaas_configinfo!"
How to configure only one login-config in an app with two war files ? (LDAP sign on)
"No configuration found for the specified action" error in struts2
Can't setup basic spring application