>
> Now for a real JSP in which I am using beans. The following line fails to
> compile, and unfortunately the error
> message scrolls off my DOS window so I cannot see it.
>value="<%= ( (ClubMember) member) .getId() %>" />
> The bit that fails is the expression for the value attri
>
> AFAIK, the answer is no - tags can't be embedded into each other (which is
part of
> the problem
> with the <@! tag - you can't create class level functions that contain HTML).
>
> Someone else may have a solution?
I am not saying this is the best way to do it, but you can create a seperate
>
> In a declaration I have a String variable with a JSP syntax in it like this:
>
> <%!
> public static String blabla = "<%= hi %>";
> %>
>
> Unfortunately it seems like the JSP engine (JSWDK 1.0 EA2) is trying to
> parse this as a JSP expression. This is a bug, right?
>
No, as per the spec. a "
Hi Jen,
The request-time attributes in JSP actions are not fully implemented in the
current release (please see README). It will be fixed with the next release.
Thanks,
Mandar.
> MIME-Version: 1.0
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.291
Dear JSP Enthusiasts,
For many of you who know this and many others who don't, we have made
our reference implementation for JSP1.1 and Servlet 2.2 *open source*
under the code-name "Tomcat", under the Apache umbrella. Please visit
http://jakarta.apache.org for more information. The bits are a
Hi,
JSP engine is agnostic to HTML tags. Therefore it is possible
to have JSP directives inside HTML comments.
What is the bug that you are talking about?
Thanks,
Mandar.
Sonny Kim wrote:
> Hi,
>
> Based on JSP docs, output comment is
>
> Is it possible to add other tag inside the output
Hi Michael,
Don't know if this helps, but you can add parameters
to the request stream using RequestDispatcher's include
and forward methods. For example
rd.include("fooServlet?num1=val1")
will add the parameter "num1" to the request object before
transferring control to fooServlet.
Thanks,
Hi Rowan,
Try putting your jsp files in a different directory. If you are
using JSWDK then it won't serve any content from the "web-inf"
directory.
Hope this helps,
Mandar.
rowan wrote:
> To All in the group:
> Please Help. I have spent 4 hours but to no success in trying to make a
> servlet
Hi,
There are a couple of ways:
1) you can declare the variable using declaraton (instance scope)
<%! String headingText = "Login"; %>
2) you can create the variable in the "request" object and
then access it from the included jsp.
request.setAttribute("headingText", headingText");
And
It does.
Sandeep Yarramreddy wrote:
> hi,
> i have a question on jsp:forward.
> Does the jsp 1.0 spec say that the request parameters are carried on
> from one
> page to another when a jsp:forward is invoked.
> for ex.
> page1.jsp there is some form. action sends it to page2.jsp.
> in page2.jsp
Hi Kavitha,
JSP 1.1 is backward compatible with 1.0, but not with
0.92.
Thanks,
Mandar.
Kavitha Ramasamy wrote:
> Hello,
>
> I found in javawebserver2.0 documentation JSP version is not
> compatible(upward compatibility) with the future versions
> i.e I cannot use my page developed in
11 matches
Mail list logo