You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2008/07/21 16:55:05 UTC

[jira] Resolved: (WW-2235) Duplicate requests issued by browser

     [ https://issues.apache.org/struts/browse/WW-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2235.
---------------------------------

    Resolution: Won't Fix

I don't see any way of fixing this, unless the form tag places something in the stack when validation is enabled, so the dojo plugin avoids requesting the same file. Considering that that file is a few bytes long, it will be cached, and this will happen only when js validation is enabled and dojo is used, I don't think it is worth the trouble.

> Duplicate requests issued by browser
> ------------------------------------
>
>                 Key: WW-2235
>                 URL: https://issues.apache.org/struts/browse/WW-2235
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.1.0
>         Environment: Firefox with the Firebug plugin
>            Reporter: Benjamin McCann
>            Assignee: Musachy Barroso
>             Fix For: 2.1.3
>
>
> /struts/xhtml/validation.js and /struts/utils.js are requested twice in the page below.
> <%@ taglib prefix="s" uri="/struts-tags"%>
> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> 	<head>
> 		<title>Test</title>
> 		<sx:head />
> 	</head>
> 	<body>
> 		<s:form name="test" action="Test" validate="true">
> 		</s:form>
> 	</body>
> </html>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.