problem with forwarding to error-page

2001-06-13 Thread Puneet Vardhan
Hi, I tried using error-page element in web.xml to forward user to a message page within the application if exception occurs, but it doesnt seem to work on websphere and HP-bluestone application servers. Has anyone succesfully used it with any of these containers? Thanks Puneet

How to access Action Mapping instance if session expires

2001-04-18 Thread Puneet Vardhan
Hi, How can I access the action mapping instance if session is expired? I have a global forward in struts-config.xml which points to logon page global-forwards forward name="logon" path="/logon.jsp"/ /global-forwards in session expires I need to

how to initialize image tag

2001-04-04 Thread Puneet Vardhan
Hi, Is there a way to initialize image tag . In my jsp form I have multiple image button and I use html:image tag. If I hide first image button conditionally it gives a null pointer exception as it could not initialize image tag object for the other image buttons.

action class perform method

2001-03-14 Thread Puneet Vardhan
Hi, Method 'perform' in action class needs ActionForm as one of the parameters. I dont have a form and I dont need one as I just need to call perform method from a url . like a href="someaction.do" ... Can I use perform method and ActionMapping inside perfom without having ActionForm

Re: Has any one used struts and log4j successfully?

2001-02-27 Thread Puneet Vardhan
Hi, Is there anyway that I could prevent the call to getInstance of Category in every action class. So I can have instance of Category in base action class and every other class would extend from it. public class baseAction extends Action { static Category cat =