aspose file tools
The moose likes Struts and the fly likes Using struts-tags in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using struts-tags in jsp" Watch "Using struts-tags in jsp" New topic

Using struts-tags in jsp

Ana Belen Morales

Joined: Sep 16, 2008
Posts: 1

I have the next problem, and I'm a little desperate :S

I have included a jsp with javascript in my source jsp:

<c:import url="/myJavascript.jsp" />

Code in myJavascript.jsp:

function addButton() {
myNode.innerHTML = '<s:submit value="Aceptar" method="myMethod" />';

But when the page is rendered, it looks like the server doesn't understand the tag.
There is any solution for doing something like that?

Any help will be appreciated!!
jQuery in Action, 2nd edition
subject: Using struts-tags in jsp