You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ramadoss Chinnakuzhandai <rc...@register.com> on 2004/02/19 18:14:41 UTC

Sturts JSP and Javascript

Can anybody provide me sample code of Struts JSP contains Javascript..? or any link to refer how to use JavaScript function inside Struts JSP..?? 


Thanks in advance,

-Ramadoss


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Sturts JSP and Javascript

Posted by Thad Humphries <th...@mindwrap.com>.
It's not much different than Javascript in any JSP.  Cedric Dumoulin's "Tiles 
Advanced Features" (http://www.lifl.fr/~dumoulin/tiles/
tilesAdvancedFeatures.pdf) has several examples that use Javascript.

On Thursday 19 February 2004 12:14, Ramadoss Chinnakuzhandai wrote:
> Can anybody provide me sample code of Struts JSP contains Javascript..? or
> any link to refer how to use JavaScript function inside Struts JSP..??
>...


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Reset method in Form Bean

Posted by Ramachandran <ra...@summitworks.com>.
Hi,

        I am having jsp page , which contains a text box for searching. Here
i am having form bean for getting and setting value.

In this form bean, i use the Reset method for reseting the values for each
request.

But it is not at all reseting the values each time. The previous value is
displayed if we visis the page again.

Even if we logged out and login the same value is appearing...

Any idea?

Help needed

Ram


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Sturts JSP and Javascript

Posted by Mark Lowe <ma...@talk21.com>.
How's this? you can put it in a tile wooo (I hear gasps of amazement) ..

<script language="javascript" type="text/javascript">
<!--
function ajavascriptfunctioninatile() {
	alert("Mellow World!!");
}
//-->
</script>

<a href="javascript:ajavascriptfunctioninatile()">Hit me</a>



On 19 Feb 2004, at 18:14, Ramadoss Chinnakuzhandai wrote:

> Can anybody provide me sample code of Struts JSP contains 
> Javascript..? or any link to refer how to use JavaScript function 
> inside Struts JSP..??
>
>
> Thanks in advance,
>
> -Ramadoss
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org