I get the same problem using Forte. It just doesn't seem to support
the <jsp:forward ...> </jsp:forward> syntax.
Options seem to be setting attributes manually before
the forward, using some intermediary object (like a Hashtable bean with
request
or session scope) to store objects - both of which seem overkill for
simple parameters. There are probably other solutions I've not thought of.
Fingers crossed for a Forte update addressing this soon :>
-Duncan
-----Original Message-----
From: Rogerio Saran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 27, 2000 12:11 AM
To: [EMAIL PROTECTED]
Subject: jsp:forward with parameters
I am not shure if my problem is jsp or netbeans related, so I sent this to
EAP interest also.
The question: how to make a jsp:forward call with parameters?
The following code, extracted from
http://java.sun.com/products/jsp/tags/11/syntaxref11.fm9.html is generating
a compilation error in Forte4j 842 with internet plug-ins:
// Code
<jsp:forward page="/servlet/login">
<jsp:param name="username" value="jsmith" />
</jsp:forward>
// Compiler Output
JSP/forward.jsp [14:34] Unterminated <jsp:forward tag
I am using JDK 1.3 on a win32 machine. The referred line is the first line
in the listed code.
Forte jsp compiler behaves as the open tag/close tag of forward is invalid.
When I try a single tag with /> termination it works pretty well.
Is this a compiler problem or adherence to an older languagem specification?
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets