RE: How jsp assigns the variable type for

2004-08-31 Thread Karr, David
Those results seem reasonable. You should assume the value is a string, unless you specifically have an integer type. In your case, the value "1" is a string. Now, if you did "${1}", that might give you an integer. > -Original Message- > From: Starting out [mailto:[EMAIL PROTECTED] >

How jsp assigns the variable type for

2004-08-31 Thread Starting out
i seemed to ask this on tomcat list, anyway here it is i fetched an int type from mysql and assign to variable it seems that its assigning type int since if i String test = (String) pageContext.getAttribute("eid"); i get a cast error but if i the ff String test = (String) pageContext.getA

Re: Processing output as JSP

2004-08-31 Thread Helios Alonso
Exactly. 1) Consider a way to eliminate the compiling thing. Maybe applying transform, saving to a var, and next using some tag to transform the xml (I don't know the posibilities but it seems possible) 2) If you really want to compile but you don't want to make a file (getting a temporary numb

Re: Processing output as JSP

2004-08-31 Thread Martin Cooper
It may be complicated, but it's the only way it's going to work. ;-) That is, short of modifying the container itself... If you think about it, it's not all that surprising. The page compiler generates Java code from the JSP page, and that Java code is compiled into a servlet. What you are asking

Re: Processing output as JSP

2004-08-31 Thread Graeme Andrews
>>Try saving the output to another jsp file (dynamic.jsp) and redirecting the client to that page It would be complicated to save the output to another jsp file and redirect to that because: (a) the output from is only a fragment of an XHTML page (b) in a multiuser environment I would be creat