• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • Tiny Java Web Server
  • Bugs

jsp:param within jsp:include not working

Brought to you by: drogatkin
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Code
  • Bugs
  • News
  • Discussion
  • Donate
  • sources
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

  • v1.0_(example)
  • v.101

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#9 jsp:param within jsp:include not working

v1.0_(example)
open
nobody
jsp_include (1)
1
2014-11-27
2014-11-26
M.Rehak
No

Hi all!

I have found that if I use jsp:include with jsp:param, the called JSP does not receive the parameter as it should (more info: http://www.java2s.com/Code/Java/JSP/Passingparametersduringincluding.htm).

I have prepared a trivial helloworld.war file that you can just put to webapp folder of TJWS-106 and run the attached hellow.cmd (please adjust line JDK_TOOLS first) (just extract everything in attached TJWS_jspInclude-bug.zip file to the same folder where you have unpacked TJWS-1.106) - afterwards point your browser to http://localhost/helloworld/t1.jsp .

Then you will see the result produced by the included t0.jsp:

abcx (simple) IS NOT defined

On the other 2 servers where I have tested it (Tomcat 6, Winstone 0.9.10) the result was:

abcx (simple) IS defined

Alternatively, you can also check the output of tsnoop.jsp (http://localhost/helloworld/tsnoop.jsp) - it shows the abcx only in section Request attributes on line javax.servlet.include.query_string - but it is missing in section Request parameters (on the other 2 abovementioned servers I have tested it and it contained "abcx: 1").

1 Attachments
TJWS_jspInclude-bug.zip

Discussion

  • Д Рогаткин

    Д Рогаткин - 2014-11-27

    The problem addressed
    https://github.com/drogatkin/TJWS2/commit/b7c0e36336978e365bb7dd5b16e0e7fdaa88439a

     
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
    • Anonymous
      Anonymous

      Add attachments
      Cancel





Anonymous
Anonymous

Add attachments
Cancel





SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
MongoDB Logo MongoDB