struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe Thiebaud <>
Subject error with parameters
Date Mon, 09 Oct 2000 17:29:37 GMT
Is there a way to use parameterized errors with struts ?

in the example application the file
has several string with a {0] tag, 
(e.g. linkSubscription.noSubscription=No subscription under attribute {0}

but these strings are used only to throw  JspException objects, like in:

	// Print this element to our output writer
	JspWriter writer = pageContext.getOut();
	try {
	} catch (IOException e) {
	    throw new JspException
		(messages.getMessage("", e.toString()));

there is no way currently to have the struts tag ErrorsTag handle parameterized

how do struts users manage that ?


View raw message