This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 160423 - <jsp:param value=""/> issue
Summary: <jsp:param value=""/> issue
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: REGRESSION
: 119648 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-17 07:12 UTC by shurabhrastogi
Modified: 2010-01-11 07:25 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shurabhrastogi 2009-03-17 07:12:46 UTC
when we use <jsp:include> tag in <jsp:forword> tag and provide runtime parameter in value attribute then it shows me red
line in last few character. Code i we is like this 
 
<jsp:forward page="index.jsp">
    <jsp:param name="var" value="<%=repuest.getParameter("sub")%>"/>
</jsp:forward>
Comment 1 Marek Fukala 2009-03-27 14:41:27 UTC
The EL inside jsp attribute value is not lexed as EL.
Comment 2 Marek Fukala 2009-03-27 14:51:18 UTC
I ment scriptlet expression, not EL sorry.
Comment 3 Petr Jiricka 2009-11-04 17:21:14 UTC
This is quite nasty, and it looks like this hasn't been working for a while. It does not work in NB 6.5 either. It used
to work in NB 5.5.
Comment 4 Marek Fukala 2009-11-04 17:31:42 UTC
It's funny how we are connected, I am working on the fix right now. Part of it is already pushed. OTOH I seriously doubt
it ever worked, at least since we have lexerized the jsp module. I am just writing the support for it.
Comment 5 Petr Jiricka 2009-11-04 17:38:54 UTC
Wow, thanks a lot! I verified that it did work in NB 5.5, but that's a long time ago.
Comment 6 Marek Fukala 2009-11-04 17:54:24 UTC
Ohh, that is a mystery to me since I am sure there wasn't a code which would handle that in JspLexer. The only
possibility is that there is a forgotten piece of code which used to create the embedding dynamically. Or of course it's
possible that 5.5 is only syntax based which I couldn't belive. It seemed to me that we have the jsp lexer for very long
time... In any case, the fix is almost done so users can rejoice. ;-)
Comment 7 Marek Fukala 2009-11-04 18:01:02 UTC
fixed in web-main#3887c54a72b4 and 32313fab67b7
Comment 8 Quality Engineering 2009-11-05 10:17:21 UTC
Integrated into 'main-golden', will be available in build *200911050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3887c54a72b4
User: Marek Fukala <mfukala@netbeans.org>
Log: #160423 - <jsp:param value=""/> issue
Comment 9 Marek Fukala 2009-11-05 15:57:36 UTC
*** Issue 119648 has been marked as a duplicate of this issue. ***
Comment 10 Jindrich Sedek 2010-01-11 07:25:01 UTC
NetBeans IDE Dev (Build 201001110200)