Dear Anonymous (kidding),

If you want an HTML Image button to jump to New.jsp,
why don't you simply go into /pages/count/List.jsp
directly using the onclick function of the and <img>
tag or the <html:img ... /> tag?

Examples:
<html:img src="/images/somepic.jpg"
onclick="window.location='http://www.bu.edu'"/>

In your case the onclick might be:

<html:img src="/images/somepic.jpg"
onclick="window.location='http://myhost.com/pages/count/List.jsp'"/>

OR perhaps an action that hides /pages/count/List.jsp:

<html:img src="/images/somepic.jpg"
onclick="window.location='http://myhost.com/someApp/someAction.do'"/>

Regards,
David

-----Original Message-----
From: lover birds [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 12:50 AM
To: Struts Users Mailing List
Subject: RE: Cannot find bean org.apache.struts.taglib.html.BEAN in any
scope


Hi David,

Thanx for the reply and suggestion, I would change it to my real name.

Basically I wanted to handle the  onclick event of image(a button) on the
List.jsp and direct it to New.jsp.
I am not sure how to do it using struts, so could you suggest me the best
way to do so.

David Friedman <[EMAIL PROTECTED]> wrote:
Dear "lover birds" (do you have a real name you can sign in your email(s)
?),

You didn't list 'validate="true"' in your declaration. Why?
Did you not customize the form validation so it will bounce back to
/pages/count/List.jsp for input? Does your script actually bounce back to
that page if you go directly to /pages/count/New.jsp directly in a new
browser?

Regards,
David

P.S. I read your current email but chose to reply to this older one from
earlier today because it included the example JSP's and action declarations
so you can see what I'm talking about in the above notes.

-----Original Message-----
From: lover birds [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 5:59 AM
To: [EMAIL PROTECTED]
Subject: Cannot find bean org.apache.struts.taglib.html.BEAN in any
scope



Hi folks,

I am getting this error.

"Cannot find bean org.apache.struts.taglib.html.BEAN in any scope"

I am trying something as follows:

input="/pages/count/List.jsp" path="/New" scope="request"/>


content of List.jsp is





New.jsp is absolutely blank:













Click on the New image of the List JSP gives me this error.

I would appreciate help in this regard.

I would like to know the best way to forward to a specific page on an image
click.





---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to