Re: Problem with Placing tlds out of WEB-INF

2001-04-05 Thread Ana Narvaez Vila
*.tld's are resources of your aplication so you must put it under your root directory. WEB-INF directory contains your private files, those files will not be serve to the client. If you put the files out of WEB-INF but under your root directory they will be public and visible for anyone. Java

Re: init'ing a session bean in Action

2001-03-29 Thread Ana Narvaez Vila
what you have to lookup is the jndi name. I am using Weblogic and I have a weblogic-ejb-jar.xml where you say the name you want to put to EJB in jndi directory. jndi-namenamexxx/jndi-name ConfigHome home = (ConfigHome) ctx.lookup("namexxx"); Bye "G.L. Grobe" wrote: Probably not

Re: Deactivate URL-rewriting in logoff action.

2001-03-16 Thread Ana Narvaez Vila
to www.altavista.com after logoff action so I don't need new session. action path="/logoff" type="com.company.package.LogoffAction" forward name="finish" path="http://altavista.com" redirect="true" / /action Thaks "Craig R. McCl

Deactivate URL-rewriting in logoff action.

2001-03-15 Thread Ana Narvaez Vila
Logoff action usually invalidates session and sends browser to a index or welcome page, so it is not necesary to rewrite the URL. ActionServlet must have a session, so if there isn't a valid session it creates one. Question is: Is there a way to say to ActionServlet not to create a new session ?

Re: URGENT RE: token issue in hyperlink

2001-03-07 Thread Ana Narvaez Vila
I think you must disable the cookies of your browser "Nanduri, Amarnath" wrote: I was able to see the Token . I am talking about the jsessionid that will be created for a hyperlink. If the html:link tag is used, it automatically re-writes the url to include a jsessionid. I was unable to

Re: simple forward/redirect

2001-03-06 Thread Ana Narvaez Vila
You could define a 'general' ForwardAction that simply makes the forward in its perform. Something like this. public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws ServletMaravediNetException { return

Beans and frames

2001-03-02 Thread Ana Narvaez Vila
I have a JSP page that receives a bean in scope request. That page contains one frameset with two frames; the question is: How can I pass my bean to the 'source' (src) of the frame? bean:define id="myBean" name"com.mycompany.MyClass" scope="request" frameset rows="81%, 19% " border="0"