Results 1 to 1 of 1
- 07-29-2011, 10:59 AM #1
Member
- Join Date
- Jul 2011
- Posts
- 3
- Rep Power
- 0
Http Status 404 in a jsp page that uses MATLAB JAVA Builder JA
I am new to MATLAB and J2EE. Of late I have been using a software from MATLAB called MATLAB Java Builder JA. i have been following the help texts of MATLAB in order to understand it.MATLAB provides a file "WebFigureQuickStart.war" The file contains a JSP file of the following content:
<%@ page import="com.mathworks.toolbox.javabuilder.webfigur es.components.MathWorksLogo" %>
<%@ page import="com.mathworks.toolbox.javabuilder.MWJavaOb jectRef" %>
<%@ page import="com.mathworks.toolbox.javabuilder.webfigur es.WebFigure" %>
<%@ taglib prefix="wf" uri="http://www.mathworks.com/builderja/webfigures.tld" %>
<HTML>
<BODY>
<br>Here is an empty WebFigure tag that has not been given a name or scope.
<br>In this scenario it will display the Default WebFigure.
<br><wf:web-figure />
..........
<br>By giving the name used to attach the figure to the WebFigure tag and specifyin which scope was used.
<BR>In this case, the WebFigure shown should be the default WebFigure same as above
...........
<br><wf:web-figure name="ExampleFigure" scope="session"/>
</BODY>
</HTML>
On deploying the above file I receive the following error at the portions Custom tag library (wf:web-figure):
HTTP Status 404- /WebFigures/interface.
description: The requested resource (/WebFigures/interface.) is not available.
The JSP file is in a folder called WebFigureQuickStart along with the folder "WEB-INF" which contains two files called: "web.xml" and "webfigures.tld"
The .tld file contains information for the tagclass as such:
<tag>
<name>web-figure</name>
<tagclass>com.mathworks.toolbox.javabuilder.webfig ures.jsp.JspWebFigureTagHandler</tagclass>
and the web.xml has the following contents:
<servlet>
<servlet-name>WebFigures</servlet-name>
<servlet-class>com.mathworks.toolbox.javabuilder.webfigures .WebFiguresServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>WebFigures</servlet-name>
<url-pattern>/WebFigures/*</url-pattern>
</servlet-mapping>
I am unable to figure out where to find the "/Webfigures/interface" file. Moreover, I am unable to read the tagclass: "com.mathworks.toolbox.javabuilder.webfigures.jsp. JspWebFigureTagHandler". I do not know MATLAB and so do not know how to go abt. Please help
Similar Threads
-
http status 500
By sudha333 in forum Advanced JavaReplies: 11Last Post: 05-09-2011, 02:41 PM -
http://localhost:8080/helloservice/HelloService?Tester HTTP Status 404 -
By vietnamusa in forum Enterprise JavaBeans (EJB)Replies: 0Last Post: 03-13-2011, 12:02 AM -
HTTP Status 500 -
By gardiann in forum Java ServletReplies: 2Last Post: 12-26-2010, 12:49 PM -
HTTP Status 500 - java.lang.NullPointerException
By hari krishna in forum Java ServletReplies: 6Last Post: 11-26-2010, 01:18 AM -
HTTP Status 405 - HTTP method GET is not supported by this URL
By javanewbie in forum Java ServletReplies: 7Last Post: 11-11-2009, 08:29 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks