jQuery in Action, 3rd edition
The moose likes Struts and the fly likes struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts" Watch "struts" New topic


Vardhan Muthineni

Joined: May 18, 2006
Posts: 8
HI ,
In <html:link> struts tag iam using the action attribute.what i have to give in action value
I have <html:link action="/category">Category page</html:link>
in strits config.xml how i have to give this action
<action path="/category"

<forward name="success" path="/category.jsp"/>

Is this the correct way of using action attribute in html:link tag
can any one suggest me..
tellme the url that i can get html:link action examples
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The code you have written should work. Are you saying that it doesn't?

Consultant, Sima Solutions
Christopher Mikos

Joined: Jan 23, 2006
Posts: 13
I'm having a problem with an augmented version of this example. I am trying to return a string which I build from an ArrayList in my Action. I can return simple text but I cannot get my string built from the ArrayList generated more than once. I get the response the first time but not the second and my code only executes to the point where I do:

I'm not getting any kind of errors in the stack or tomcat logs.

The only thing I see is this message in the Eclipse console when tomcat is shutting down:

INFO: Waiting for 4 instance(s) to be deallocated

It's not always four instances, usually depends on the number of times -1 that I have run the action

I agree. Here's the link: http://aspose.com/file-tools
subject: struts
It's not a secret anymore!