Bookmark Topic Watch Topic
  • New Topic

JSP - Struts Framework  RSS feed

 
phillip dy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
im havin problems with my page...

here it is:

<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ page language = "java" import = "java.util.*" %>

<html:html>
<html:errors/>
<html:javascript formName="addUserGroupFormBean"/>

<html:form action="/actions/addusergroup" onsubmit="return validateAddUserGroupFormBean(this);">

<div align="center">
<table border="0" width="55%" id="table1">
<tr>
<td>
<table border="0" width="100%" id="table2">
<tr>
<p align="center"><jsp:include page="cpanel.jsp"/>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>

<table border="0" width="100%" id="table3">
<tr>
<td>
<table border="0" width="100%" id="table4">
<tr>
<td width="96" bgcolor="#ff9933"><b>Group Name:</b></td>
<td bgcolor="#ffcc99"><input type="text" name="T1" size="20"></td>
</tr>
<tr>
<td width="96" bgcolor="#ff9933"><b>
Description:</b></td>
<td bgcolor="#ffcc99">
<input type="text" name="T2" size="50"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" width="100%" id="table5">
<tr>
<td bgcolor="#ff9933">
<p align="center"><b>Permissions</b></td>
</tr>
<tr>
<td>
<table border="0" width="100%" id="table6" cellspacing="0">
<tr bgcolor="#ffcc99">
<td>
<p align="center">
<select size="5" name="D2" multiple>
</select></td>
<td>
<table border="0" width="100%" id="table7">
<tr>
<td>
<p align="center">
<input type="button" value=" << Add Permissions " name="B3"></td>
</tr>
<tr>
<td>
<p align="center">
<input type="button" value="Remove Permissions >>" name="B4"></td>
</tr>
</table>
</td>
<td>
<p align="center">
<select size="5" name="D1" multiple>
</select></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" width="100%" id="table8">
<tr>
<td width="182"> </td>
<td width="138">
<table border="0" width="100%" id="table9">
<tr>
<td>
<input type="submit" value="Create" name="B5"></td>
<td>
<input type="reset" value=" Reset " name="B7"></td>
</tr>
</table>

</html:form>
</td>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>

</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</div>

</html:form>
</html:html>


this is the errors that i get:

http 500

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

org.apache.jasper.JasperException: /WEB-INF/addusergroup.jsp(120,0) The end tag "</html:form" is unbalanced
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:134)
org.apache.jasper.compiler.Parser.checkUnbalancedEndTag(Parser.java:1706)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1561)
org.apache.jasper.compiler.Parser.parseBody(Parser.java:1789)
org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1060)
org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1367)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1560)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.


PLEASE HELP ME .....

THANK YOU ....
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once. Any further discussion should be carried on here.

And perhaps you missed the part of changing your display name to somrthing that is not obviously fictitious.
[ February 14, 2006: Message edited by: Bear Bibeault ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!