Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8378217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:52:46+00:00 2026-06-09T15:52:46+00:00

Hi am having a annoying issue.Look at the following code, In the code I

  • 0

Hi am having a annoying issue.Look at the following code, In the code I have 2 links which appear based on conditions checked by the custom tag . The issue is when I see the HTML source of this page,the second anchor appears 700 lines(empty lines) after the first. Anyone pls help me solve this.Thanks in advance..

<a href="${contextPath}/rts/reports/listOfReports.do"> rts</a>
<s:userHasAccess functionId="<%=ReportsConstants.CFS_LOAD_PLANNING_FNCT_ID%>">             
<jsp:attribute name="yes">
<a href="${contextPath}/lprt/reports/listOfReports.do">lprt</a>

The custom tag does a privilege check and return true or false.

update:
HTML Source:

<a href="/ptp/rts/reports/listOfReports.do"> rts</a> //700 blank lines
<a href="/ptp/lprt/reports/listOfReports.do">lprt</a>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:52:48+00:00Added an answer on June 9, 2026 at 3:52 pm

    This worked after adding the trim white space direcitve in the web.xml.

    <jsp-property-group>     
    <url-pattern>*.do</url-pattern>     
    <trim-directive-whitespaces>true</trim-directive-whitespaces>   
    </jsp-property-group> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having an annoying issue. I have a script which uses the $_GET
We are having an annoying issue with Firefox and cookies. We have the following
I'm having an annoying rendering issue with IE my code is CSS : div
I am having this most annoying issue when I try to rebuild my solution
I have been having this annoying problem when trying to implement a picture gallery
Im having rather an annoying problem. I have a class called Person and a
Good morning, I'm having a really annoying issue with Highcharts, such that the x-axis
I seem to be having very annoying problems, I have found a brilliant paginations
Ok this is a really annoying bug that I have been having issues with
I have been having an issue with Visual Studio 2010 that is driving me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.