Re: Custom tags and scope

2005-09-20 Thread Rahul Akolkar
Hi, I do not have a lot of experience in programming custom tags. Now, having programmed a couple of tags, I think it is kind of strage that I cannot narrow the scope of variables defined in the taghandler down to the body of the custom tag. It would for me clearly gain the purpose of code

Re: Tomcat 5.5.9 and JSP 2.0 runtime expressions in the attribute values of JSTL 1.1

2005-09-13 Thread Rahul Akolkar
On 9/13/05, Seva Popov [EMAIL PROTECTED] wrote: BTW, I understand that I can use a different syntax with the runtime expressions. So, if I change my jsp (not use the xml syntax) it's working fine: %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % %@ taglib prefix=fmt

Re: org.apache.jasper.JasperException using jsp expression inside the c:set /

2005-08-24 Thread Rahul Akolkar
On 8/24/05, Seva Popov [EMAIL PROTECTED] wrote: Hi, The following line: c:set var=admin value=%=request.getParameter(admin)%/ gives me the below exception under Tomcat 5.5.9: org.apache.jasper.JasperException: /test.jsp(11,29) The value of attribute value associated with an

Re: org.apache.jasper.JasperException using jsp expression inside the c:set /

2005-08-24 Thread Rahul Akolkar
On 8/24/05, Seva Popov [EMAIL PROTECTED] wrote: Hi Rahul, Thanks for pointing me to the implicit JSP 2.0 param object. This worked for me perfectly with the JSP 2.0 JSTL URIs: jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; xmlns:c=http://java.sun.com/jsp/jstl/core;

Re: org.apache.jasper.JasperException using jsp expression inside the c:set /

2005-08-24 Thread Rahul Akolkar
On 8/24/05, Seva Popov [EMAIL PROTECTED] wrote: Well, JSTL l.0 spec snip/ /JSTL l.0 spec As you see runtime expressions were quite valid in jstl 1.0 tags. snap/ They still are, but IMO in the JSP 2.0 XML syntax, it gets tricky to use them in attribute values. EL has taken over, and for

Re: Custom tag runtime expression problem

2005-08-18 Thread Rahul Akolkar
On 8/18/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: Hi all, I'm using Tomcat 5.0.29. I've created a custom tag and I need to be able to use runtime expressions for certain attributes. But it isn't working and I'm beating my head on the desk trying to figure out why. Here's my TLD:

Re: [OT] robots.txt

2005-07-14 Thread Rahul Akolkar
Marked OT. On 7/14/05, Eric J. Pastoor [EMAIL PROTECTED] wrote: The msn bot has been hammering one of my webapps for about 2 weeks now. I have a calendar style transaction page that is not password protected. Essentially this calendar goes on forever. This means that the msn bot is basically

Re: CATALINA_BASE

2005-07-12 Thread Rahul Akolkar
On 7/12/05, Kenneth B. Harwood [EMAIL PROTECTED] wrote: snip/ is there a user-list SEARCH form anywhere or do i need to check the archives manually month-by-month? snap/ This is an option [ http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2 ] -Rahul

Re: Tomcat 4.1.37 and 5.0.2?? differences

2005-07-08 Thread Rahul Akolkar
From: Peter Crowther [EMAIL PROTECTED] snip/ From: Mark Benussi [mailto:[EMAIL PROTECTED] Subject: Tomcat 4.1.37 and 5.0.2?? differences snap/ Are Servlet filters supported Yes, on both, I believe. Additionally, after the move, you will be able to apply filters to RequestDispatcher

Re: CSJakharia: Difference between Tocmat 5.5.2 and Tomcat 4.1

2005-07-08 Thread Rahul Akolkar
On 7/8/05, Chirag [EMAIL PROTECTED] wrote: I am undergoing Project development in Tomcat 5.5.2 which has to be converted for another Client in Tomcat 4.1 but I have no idea regarding the improvements/Difference between Both the version and so am confused to say how much time would be required

Re: Tomcat 4.1.37 and 5.0.2?? differences

2005-07-08 Thread Rahul Akolkar
On 7/8/05, Mark Benussi [EMAIL PROTECTED] wrote: Thanks Rahul but in case it wasnt clear I am downgrading from 5 to 4. snip/ Oh, sure, its a two-way street. Then, the obvious statement to make would be, you'd be in a spot if your webapps rely on bits that are servlet 2.4 modulo servlet 2.3 or

Re: Tomcat with EL

2005-06-09 Thread Rahul Akolkar
I suspect you want to use JSP 2.0 (which allows EL expressions in template text). TC 5.0.x (or higher) implements the JSP 2.0 spec. Use a servlet 2.4 web app descriptor (web.xml) for your application and you should be set. -Rahul On 6/9/05, Marian Nedelescu [EMAIL PROTECTED] wrote: Hi, Could I

Re: How could I specify in web.xml that use JSP 2.0

2005-06-09 Thread Rahul Akolkar
On 6/9/05, Marian Nedelescu [EMAIL PROTECTED] wrote: Hi Rahul, What must I write in my web.xml file to specify that I want to use JSP 2.0 ? snip/ Nothing, as long as its a servlet 2.4 web.xml, details in item 1 here [ http://wiki.apache.org/jakarta-taglibs/FrequentlyAskedQuestions ] -Rahul

Re: tomcat newbie : cant make a simple servlet work

2005-06-04 Thread Rahul Akolkar
On 6/4/05, Michael Echavez [EMAIL PROTECTED] wrote: Greetings everyone! I'm a newbie with Tomcat and i've already been trying out a simple server example for about 2 days now and still it wouldnt work. I really hope someone would help me out. snip/ !DOCTYPE web-app PUBLIC -//Sun

Re: struts validation frame work

2005-05-23 Thread Rahul Akolkar
Not all validations can/should be done client-side. -Rahul On 5/24/05, raja buddha [EMAIL PROTECTED] wrote: Hi all In struts why do we need validation frame work we have java script to do validations. Is there any extra advantage of using the validation frame work Regards raj

Re: OT: Good taglib repository - looking for date hadling tags

2005-04-26 Thread Rahul Akolkar
One such repository: http://jakarta.apache.org/taglibs/ -Rahul On 4/26/05, Nikola Milutinovic [EMAIL PROTECTED] wrote: Hi all. This is not exactly a Tomcat question, but since there are so many of us developers (and admins) around, I thought I ask. Is there a good repository of free JSP

Re: digester understanding again...

2005-04-21 Thread Rahul Akolkar
Depends how you designed your classes that the XML is digested into ;-) If you're looking for specific kinds of queries, then the class(es) should be geared to supporting those [aggregation, composition and keying constructs associated with the semantics of the data need to be reflected in the

Re: Precompilation of tag files

2005-04-15 Thread Rahul Akolkar
Bernhard Slominski wrote: Hi, after getting the jsp precompilation finally working, I want also want to do the precompliation for tag files. JSP precompilation should also trigger precompilation for custom tags within the JSP. The precompilation task generates servlets and servlet mappings

Re: org.apache.jasper.JasperException: Could not find ancestor parseTag ???

2005-03-08 Thread Rahul Akolkar
Would help if you posted appropriate snippet from v3getT1ClientV.jsp as well. -Rahul On Tue, 8 Mar 2005 11:07:04 +0100, Philippe Couas [EMAIL PROTECTED] wrote: Hi, I have folloing error message org.apache.jasper.JasperException: Could not find ancestor parseTag snip

Re: getting datasource in a JSP?

2005-03-08 Thread Rahul Akolkar
javax.naming.Context On Tue, 08 Mar 2005 09:32:19 -0500, Darryl Wagoner [EMAIL PROTECTED] wrote: snip I think the main problem is that I haven't found the import for the Context class. snap - To unsubscribe, e-mail: [EMAIL

Re: JSP/Servlet Mailing List?

2005-03-07 Thread Rahul Akolkar
For JSP authoring questions related to JSTL, custom tag libraries (especially those supported by jakarta taglibs), you can post to [EMAIL PROTECTED] If your questions are Jasper or TC deployment specific, you're better off staying here ;-) -Rahul On Mon, 7 Mar 2005 07:56:23 -0500, Anderson, M.

Re: Jsp mapping

2005-03-05 Thread Rahul Akolkar
This example explains as to make mapping filter on servlet: snip How to make mapping with JSP ? Have you tried url-pattern? (instead of servlet-name in the filter mapping) Since I'm all for precompilation, I don't see JSPs differently ;-)

Volunteers for translation

2005-02-25 Thread Rahul Akolkar
Tomcat users - The web is becoming multi-channel. Are you interested in knowing how speech applications are authored? Are you good at translating from English to another language? If so, this might be a good volunteer opportunity to contribute to a fledging jakarta taglibs sandbox tag library.