Ranjan Pwar

Greenhorn
+ Follow
since Dec 12, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ranjan Pwar

what should be the <path> in <tag-file> in tld if tag file is put in jar
I put this:/WEB-INF/lib/forTags.jar/tags/miniTags/Header.tag and it is
showing exception:

please help me with this.

One more thing if i give this (above) in my tld in which my simple tags
are also described ,when i am trying to access my tags from jsp it is showing same exception.Why?
How to correct this?
page 510 of HFSJ

Q Can you combine Tag Files and TLDs for custom tags in the same directory?

A Yes. In fact, if you make a TLD that references your Tag Fles, the Container will consider both Tag Files and custom tags mentioned in the same TLD as belonging to the same library.



Please help me to understand it.
I also got the same twice problem but i just uninstall it and then reinstall it and the problem got solved.
I thind you do the same.
how do we give <path> in <tag-file> in tld. I have made a jar file with
my tag file in it and put it under /WEB-INF/lib.Please tell me what should
i provide to my <path> in <tag-file>. I tried this:
/WEB-INF/lib/forTags.jar/tags/miniTags/Header.tag but it is showing exception.
If in my errorpage i don't give page directive with isErrorPage attribute
even at that it is working.Is it possible.
I have given this in my web.xml:

<error-page>
<exception-type>java.lang.ArithmeticException</exception-type>
<location>/airthmeticPage.jsp</location>
</error-page>

<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/exceptionPage.jsp</location>
</error-page>

According to HFSJ pg-470 heading (Declaring an error page for more explicit
exception) if we have both this declaration , any exception other
than ArithmeticException will still end up at "exceptionPage.jsp".

But when i run my application the page in which arithmeticexception
occured is showing exceptionPage.jsp instead of airthmeticPage.jsp.
when i remove the <error-page> element with <location> "/exception.jsp" then
it is showing \airthmeticPage.jsp.
I trid it in Tomcat5.5.27 and sun server

Please help me!
with c:set we can use expression as value of value attribute but when i try this it is showing exception:
( Attribute value application.getAttribute("userLevel") is quoted with " which must be escaped when used within the value)

<c:set var="userLevel" scope="session" value="<%= application.getAttribute("userLevel") %>" />
my web.xml:========


<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">

<servlet>
<servlet-name>Ch Submit</servlet-name>
<servlet-class>Submit</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>Ch Submit</servlet-name>
<url-pattern>/Submit.do</url-pattern>
</servlet-mapping>


<context-param>
<param-name>mainEmail</param-name>
<param-value>likewecare@wickedlysmart.com</param-value>
</context-param>

</web-app>

====
when i deployed my another application by placing it under tomcat/webapps/ dir , i am getting same exception when trying to run it from /manager
12 years ago
I have installed tomcat v5.5 but when i deployed my application by putting it under tomcat\webapp dir and try to run it from browser , it is showing error (resource not found)
12 years ago
Thank you very much for providing such useful notes.
could any body tell me why we cannot use <jsp aram> with include directive
Could anybody tell me how the null behaves for Relational expressions in
EL Expression.

I did some of experiments whose results are:

${false eq null} <br>==========false

${90 gt null} <br>=============false

${true != null} <br>============true

I'm not able to understand how null behaves for Relational expressions
Hi!
I know its ridiculous but could you people tell me how to purchase this enthuware from its site.

I know i have to click buyit button and after submitting the details for credit card etc they will give me orderID. But i don't know what to do after that. Do i have to click the downloadit after purchasing it and they will give me license id after purchasing it?

Could anybody tell me the whole procedure.