IntelliJ Java IDE
The moose likes Struts and the fly likes reg dynaactionforms-very urgent.. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply Bookmark "reg dynaactionforms-very urgent.." Watch "reg dynaactionforms-very urgent.." New topic
Author

reg dynaactionforms-very urgent..

k srinivas
Greenhorn

Joined: May 31, 2004
Posts: 4
hi all
im using struts1.1 and placed all the jar and tld files in the lib of my working folder in JRun3.1 when i try to invoke the jsp im getting the following error
________________________________________________________________________
500 Internal Server Error
/TestDynaAction.jsp:

Exception thrown processing JSP page.
java.lang.NoClassDefFoundError
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:795)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
at jrun__TestDynaAction2ejsp13._jspService(jrun__TestDynaAction2ejsp13.java:48)
at allaire.jrun.jsp.HttpJSPServlet.service(../jsp/HttpJSPServlet.java:39)
at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:228)
at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:196)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1416)
at allaire.jrun.session.JRunSessionService.service(../session/JRunSessionService.java:1082)
at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)
at allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:89)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)
at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)
at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
________________________________________________________________________

im working of dynaactionforms, i declared email and password as form-properties in the form-bean tag and written a jsp containg email and password as text fields and im trying to print the values of these fields in action class .......

earlier i was working on struts1.0 so i just copied all the jar and tld files .... im i missing something to be copied.......?
Anurag Mishra
Ranch Hand

Joined: Jun 16, 2003
Posts: 121
Hi,

Are you sure in your jsp you have referenced the ld files like this

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

if above is already done then check your action mapping and form-bean tag property.

please check this link also for your errors
http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html

thanks
Anurag


SCJP 1.2
 
 
subject: reg dynaactionforms-very urgent..
 
Threads others viewed
500 Internal Server Error
using custom tags & tag handler class - URGENT
problem with struts1.1
JSP is not running under JRun
problem with struts1.1 please help me...
MyEclipse, The Clear Choice