I don't have much day-to-day experience with JSF, so I couldn't say Martin.
Frank
Martin Gainty wrote:
Frank--
so for the example of action="/search"
following the example of "/greeting.jsp"
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<h:form id="helloForm1">
<!-- later on with the declare of the submit button -->
<h:commandButton id="submit" action="success" value="Submit" />
<!-- where success is defined in /WEB-INF/faces-config.xml as -->
<navigation-rule>
<from-view-id>/greeting.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/response.jsp</to-view-id>
</navigation-case>
</navigation-rule>
Does this look ok?
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message ----- From: "Frank W. Zammetti"
<[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Sunday, June 03, 2007 1:29 PM
Subject: Re: Exception processing Jsp page in my struts application.
I'm guessing your running on Tomcat? If so, can you look for the
stack trace that should accompany this in localhost_log.*... that
should give you more of a clue what's going on (I don't see anything
obvious wrong, but with just the snippet and no stack trace it's tough
to tell)... even if you can find the exception type, that might shed
some light on things.
Frank
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
(2006, Apress, ISBN 1-59059-695-1)
and "JavaScript, DOM Scripting and Ajax Projects"
(2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
vikas rao wrote:
This is the errror:
org.apache.jasper.JasperException: An exception occurred processing
JSP page
/search.jsp at line 17
14: <hr width="100%" noshade="true">
15: <html:errors/>
16:
17: <html:form action="/search" method="post">
18:
19: <table>
20: <tr>
Nothing seems wrong with my line 17!! and my html tag is declared
properly..
and in my struts-config.xml:
<action-mappings>
<action path="/search" type="employee.SearchAction"
name="SearchForm" scope="request" validate="true"
input="/search.jsp">
</action>
</action-mappings>
Wondering what is wrong!!??
Thanks.
Vikas.
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.472 / Virus Database:
269.8.7/829 - Release Date: 6/2/2007 5:26 PM
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
(2006, Apress, ISBN 1-59059-695-1)
and "JavaScript, DOM Scripting and Ajax Projects"
(2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]