Re: custom tag - param passing prob

2007-03-21 Thread Karr, David
: Monday, March 19, 2007 7:03 AM To: JSP-INTEREST@JAVA.SUN.COM Subject: Re: custom tag - param passing prob Hi there, thanks for your reply, I'm using Tomcat 5.0, will that code you supplied work yeah? Cheers, Graeme :) From: Karr, David [EMAIL PROTECTED] Reply-To: A mailing

Re: custom tag - param passing prob

2007-03-21 Thread Graeme McLaren
Hi there, thanks for that. Cheers, Graeme :) From: Karr, David [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference JSP-INTEREST@JAVA.SUN.COM To: JSP-INTEREST@JAVA.SUN.COM Subject: Re: custom tag - param passing prob Date: Wed, 21 Mar 2007 13:41:34

Re: custom tag - param passing prob

2007-03-19 Thread Graeme McLaren
: Re: custom tag - param passing prob Date: Sun, 18 Mar 2007 09:03:47 -0700 MIME-Version: 1.0 Received: from swjscmail2.java.sun.com ([192.18.99.108]) by bay0-mc12-f12.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sun, 18 Mar 2007 09:04:56 -0700 Received: from swjscmail1 (swjscmail1.Sun.COM

Re: custom tag - param passing prob

2007-03-18 Thread Karr, David
@JAVA.SUN.COM Subject: custom tag - param passing prob Hi all, I am building my first custom tag and I want to pass a value to variable around from a jsp to the custom tag: JavaComponents:calendar prevMonth=%= prevMonth % / When I try to to run the JSP I get an error

custom tag - param passing prob

2007-03-07 Thread Graeme McLaren
Hi all, I am building my first custom tag and I want to pass a value to variable around from a jsp to the custom tag: JavaComponents:calendar prevMonth=%= prevMonth % / When I try to to run the JSP I get an error: org.apache.jasper.JasperException: Unable to compile class for JSP An error

Re: custom tag - param passing prob

2007-03-07 Thread Fei Yang
Where did you define the prevMonth between %= and % ? On 3/8/07, Graeme McLaren [EMAIL PROTECTED] wrote: Hi all, I am building my first custom tag and I want to pass a value to variable around from a jsp to the custom tag: JavaComponents:calendar prevMonth=%= prevMonth % / When I try to to

Re: custom tag - param passing prob

2007-03-07 Thread Graeme McLaren
suggestions? Thank you for your reply. Graeme :) From: Fei Yang [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference JSP-INTEREST@JAVA.SUN.COM To: JSP-INTEREST@JAVA.SUN.COM Subject: Re: custom tag - param passing prob Date: Thu, 8 Mar 2007 15:55:01 +1100 MIME

Re: custom tag - param passing prob

2007-03-07 Thread Fei Yang
and reference JSP-INTEREST@JAVA.SUN.COM To: JSP-INTEREST@JAVA.SUN.COM Subject: Re: custom tag - param passing prob Date: Thu, 8 Mar 2007 15:55:01 +1100 MIME-Version: 1.0 Received: from swjscmail2.java.sun.com ([192.18.99.108]) by bay0-mc12-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, 7 Mar

Re: custom tag - param passing prob

2007-03-07 Thread Graeme McLaren
[EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference JSP-INTEREST@JAVA.SUN.COM To: JSP-INTEREST@JAVA.SUN.COM Subject: Re: custom tag - param passing prob Date: Thu, 8 Mar 2007 16:23:41 +1100 MIME-Version: 1.0 Received: from swjscmail2.java.sun.com

Taglib / context-param question

2005-02-09 Thread Jack Lauman
I have the following code in a custom taglib. If I put the hex values of the colors in the context-param area of the web.xml file, how do you call them? context-param param-namecolor1/param-name param-value#FF/param-value /context-param context-param param-namecolor2/param-name

Re: Taglib / context-param question

2005-02-09 Thread Karr, David
Assuming your question is: How do I replace the hard-coded value of #FF in my doEndTag() method with the code to read the init-param, then: pageContext.getServletContext().getInitParam(color1) -Original Message- From: A mailing list about Java Server Pages specification

Dynamic Param Dilemma - serving ads when you have dynamic URL's

2002-11-26 Thread Aurangzeb M. Agha
I've run into a serious problem with our website and the way we construct our dynamic URL's. We're using JSP on a home-grown, Struts-like architecture. Due to the dynamic construction of all of our pages (we have a handful of templates, but all the content is dynamic/DB-driven), and thus the

jsp-file and init-param on iPlanet Webserver

2002-02-13 Thread E. Michael Akerman
I've been able to specify servlet-mapping for a jsp-file on iPlanet Webserver, but it won't send init-param to the ServletConfig of a JSP file, and config.getServletName() returns jsp instead of the servlet-name. Granted the iPlanet WebServer sucks, but I'm stuck with it, does anyone know how

context-param

2001-12-17 Thread Sandra Castellanos
Hello, can anyone tell me where in the web.xml file must appear the tag context-param? I thought it should be inside the web-app one, but it won't work. When I start the web server (tomcat4.0 by the way) it sais that tag is not allowed to be there. thx a lot SC

Re: context-param

2001-12-17 Thread horwat
about the grammar. http://www.jcp.org/aboutJava/communityprocess/final/jsr053/ Justy - Original Message - From: Sandra Castellanos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 17, 2001 7:55 AM Subject: context-param Hello, can anyone tell me where in the web.xml

init-param in web.xml ??

2001-06-18 Thread sufi malak
://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app !-- Database Initialization Servlet Configuration -- servlet servlet-namefastvote/servlet-name servlet-classcom.virtua.fv.FastVoteServlet/servlet-class init-param param-nameconfig.file/param-name param-valuefvdata

Re: init-param in web.xml ??

2001-06-18 Thread Tinou Bao
:12 PM Subject: [JSP-INTEREST] init-param in web.xml ?? I have an application called fvote under tomcat : tomcat\webapps\fvote\WEB-INF\web.xml tomcat\webapps\fvote\fvdata\fv.propertiesand when Invoke the servlet like this : http://mil2wwds10/fvote/servlet/fastvote?object=boothsmessage=LIST

Re: jsp object(Param) and javascript

2001-02-02 Thread Dmitri Namiot
You could check out J2J - Java to Javascript integration tool: http://coldjava.hypermart.net/servlets/j2j.htm ServletShop: java server side programming http://coldjava.hypermart.net Get your own FREE, personal Netscape WebMail

Re: jsp object(Param) and javascript

2001-02-01 Thread Hung Yee
tring." -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 7:43 AM To: [EMAIL PROTECTED] Subject: jsp object(Param) and javascript ok, a little twist, anyone done calling a java object method inside of a javascript with a Parame

jsp object(Param) and javascript

2001-02-01 Thread Yan Zhu
ok, a little twist, anyone done calling a java object method inside of a javascript with a Parameter (which is a javascript variable) ? thanks yan Hung Yee wrote: Here's some more details as to what is happening between jsp code and javascript code:

Re: jsp object(Param) and javascript

2001-02-01 Thread Yan Zhu
Hung Yee wrote: Javascript code on the client cannot access Java objects that were created in the JSP page on the server! but I did. In fact, I have a ejb created on a totally different server, and I got the remote interface, persisted that in http session, and called it from javascript,

Re: jsp object(Param) and javascript

2001-02-01 Thread Dawei Jiang
ay, February 01, 2001 10:08 AM To: [EMAIL PROTECTED] Subject: Re: jsp object(Param) and javascript Javascript code on the client cannot access Java objects that were created in the JSP page on the server! The link that I gave you shows you how to create javascript code using jsp, BUT the js

Re: jsp object(Param) and javascript

2001-02-01 Thread Hung Yee
: Thursday, February 01, 2001 8:46 AM To: [EMAIL PROTECTED] Subject: Re: jsp object(Param) and javascript Hung Yee wrote: Javascript code on the client cannot access Java objects that were created in the JSP page on the server! but I did. In fact, I have a ejb created on a totally different

Re: jsp object(Param) and javascript

2001-02-01 Thread Hans Bergsten
Yan Zhu wrote: Hung Yee wrote: Javascript code on the client cannot access Java objects that were created in the JSP page on the server! but I did. In fact, I have a ejb created on a totally different server, and I got the remote interface, persisted that in http session, and

Re: jsp object(Param) and javascript

2001-02-01 Thread Yan Zhu
object(Param) and javascript Hung Yee wrote: Javascript code on the client cannot access Java objects that were created in the JSP page on the server! but I did. In fact, I have a ejb created on a totally different server, and I got the remote interface, persisted that in http session

Re: jsp object(Param) and javascript

2001-02-01 Thread Dawei Jiang
pe it answer your question Dawei -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Yan Zhu Sent: Thursday, February 01, 2001 12:44 PM To: [EMAIL PROTECTED] Subject: Re: jsp object(Param) and javascript

Re: jsp object(Param) and javascript

2001-02-01 Thread Tosa, Alex
Zhu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 12:44 PM To: [EMAIL PROTECTED] Subject: Re: jsp object(Param) and javascript ok, hmm, I see what you are saying, but it's a bit disappoiting. I really need a way to dynamically pass a javascript parameter to the server object

Re: jsp object(Param) and javascript

2001-02-01 Thread Michael Sweeney
Look into Rhino (http://www.mozilla.org/js/) and BSF (http://oss.software.ibm.com/developerworks/projects/bsf) through which you can expose the Java API to javascript and evaluate js code on the server. .michael. At 12:44 PM 2/1/01 -0600, you wrote: ok, hmm, I see what you are saying, but

Re: jsp object(Param) and javascript

2001-02-01 Thread Hans Bergsten
Michael Sweeney wrote: Look into Rhino (http://www.mozilla.org/js/) and BSF (http://oss.software.ibm.com/developerworks/projects/bsf) through which you can expose the Java API to javascript and evaluate js code on the server. .michael. Not to rain on your parade, but both these products

usebean autocreate Param?

2000-09-01 Thread Hines, Bill
In JSP .9x, I think there was an autocreate param in the BEAN tag to specify whether the bean should be created with the null constructor if it wasn't found in the scope identified by the scope param. I don't see that in any of the descriptions of JSP 1.0 jsp:usebean. Is it automatic now? What

Re: Passing param to a included file in a JSP

2000-08-11 Thread Kanojia Jogesh
To: [EMAIL PROTECTED] Sent: Friday, August 04, 2000 6:28 AM Subject: Passing param to a included file in a JSP hi folks, I'm puzzled about how to pass parameters to a file(also a jsp) that is included in a jsp file using a jsp:include tag any directions will appreciated. thanks and regar

Re: Passing param to a included file in a JSP

2000-08-04 Thread Caspar van Vroonhoven
To: [EMAIL PROTECTED] Subject: Passing param to a included file in a JSP hi folks, I'm puzzled about how to pass parameters to a file(also a jsp) that is included in a jsp file using a jsp:include tag any directions will appreciated. thank

Re: Passing param to a included file in a JSP

2000-08-04 Thread Flak DiNenno
e.g. jsp:include page="my.jsp" jsp:param name="param1" value="%=myparam1%"/ jsp:param name="param2" value="%=request.getParameter(\"param2\")%"/ /jsp:include As you can see, the variable you pass to th

Re: Passing param to a included file in a JSP

2000-08-04 Thread Dowd, Brian
D]] Sent: 04 August 2000 01:58 To: [EMAIL PROTECTED] Subject: Passing param to a included file in a JSP hi folks, I'm puzzled about how to pass parameters to a file(also a jsp) that is included in a jsp file using a jsp:include tag any directions will appreciated. thanks

Re: Passing param to a included file in a JSP

2000-08-04 Thread Dowd, Brian
: Flak DiNenno [SMTP:[EMAIL PROTECTED]] Sent: 04 August 2000 08:38 To: [EMAIL PROTECTED] Subject: Re: Passing param to a included file in a JSP e.g. jsp:include page="my.jsp" jsp:param name="param1" value="%=myparam1%"/

Passing param to a included file in a JSP

2000-08-03 Thread Saket Raizda
hi folks, I'm puzzled about how to pass parameters to a file(also a jsp) that is included in a jsp file using a jsp:include tag any directions will appreciated. thanks and regards -Saket === To unsubscribe: mailto [EMAIL

Re: Error in catching Param Variables

2000-07-31 Thread John Luk
lto:[EMAIL PROTECTED]] Sent: 25 July 2000 10:05 To: [EMAIL PROTECTED] Subject: Error in catching Param Variables Dear All, This is the top part of my jsp. It is giving 500 Internal server error. If I remove the last two sentences (variable catchers), the script executes fine. Any

Error in catching Param Variables

2000-07-25 Thread [EMAIL PROTECTED]
Dear All, This is the top part of my jsp. It is giving 500 Internal server error. If I remove the last two sentences (variable catchers), the script executes fine. Any idea what might be wrong? Thanx Regards, Kaushal. - % response.setContentType("text/vnd.wap.wml"); % ?xml

Re: Error in catching Param Variables

2000-07-25 Thread Matthews,Paul
at a guess it is a compiler error cos string should be String... rgds, Paul -Original Message- From: wap@asl [mailto:[EMAIL PROTECTED]] Sent: 25 July 2000 10:05 To: [EMAIL PROTECTED] Subject: Error in catching Param Variables Dear All, This is the top part of my jsp

Re: how to use forward with dynamic param value

2000-07-17 Thread hua ge
e From: stewart hsiao [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: how to use forward with dynamic param value Date: Sun, 16 Jul 2000 17:20:06 -0700 Hi; I would like to be able to add extra parame

how to use forward with dynamic param value

2000-07-16 Thread stewart hsiao
Hi; I would like to be able to add extra parameter before I forward to a page. The destination page is not necessarily servlet or JSP but could be cold fusion or ASP page. If I do something like this in index.jsp jsp:forward page= "xxx." jsp:param name="userid" value="abc" / /jsp:forward

Re: how to use forward with dynamic param value

2000-07-16 Thread Xing guohong
Hi, jsp:forward page= "xxx." jsp:param name="userid" value="%=myvalue%" / /jsp:forward xgh - Original Message - From: "stewart hsiao" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 17, 2000 8:20 AM Subject: how to use f

Re: param not work

2000-04-21 Thread Arnab Acharya
I can't tell about Forward, but we used session variables and, used getValue and putValue. -Original Message- From: piyush raj jain [SMTP:[EMAIL PROTECTED]] Sent: Friday, April 21, 2000 1:01 PM To: [EMAIL PROTECTED] Subject: Re: param not work hi . how wud u pass

Re: param not work

2000-04-21 Thread Hans Bergsten
s than asking on the mailing list. Hui Du wrote: Hi,gurus: I don't know why param don't work here, it said userid is null. I am using Javawebserver 2.0(trial version) aa.jsp HTMLbody jsp:forward page="bb.jsp" jsp:param name="userid" value="g

Re: param not work

2000-04-21 Thread piyush raj jain
ypes of problems than asking on the mailing list. Hui Du wrote: Hi,gurus: I don't know why param don't work here, it said userid is null. I am using Javawebserver 2.0(trial version) aa.jsp HTMLbody jsp:forward page="bb.jsp" jsp:par

Re: param not work

2000-04-21 Thread Jon Baer
Hans Bergsten wrote: PS.I see a lot of questions on this list about things not working as expected, when it turns out that it's because people try to use features that are not included in the version of the API their product supports. You will save Ill agree but following what a list

Re: param not work

2000-04-20 Thread piyush raj jain
unterminated jsp:forward tag 2.jsp:forward page="bb.jsp" / /jsp:forward same error 3.jsp:param name="userid" value="g" / this works means it work only with empty tags thanx piyush Hui Du wrote: Hi,gurus: I don't know why param don't work here, it said userid is

Re: param

2000-04-04 Thread David Gowe
Hi Try binding the variable to a session using the code: session.putValue("xyz", xyz); This would then be available in the JSP. David - Original Message - From: Hosseinzad, Fred [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 04, 2000 1:48 AM Subject: Re: param

Re: jsp param trouble

1999-12-03 Thread Govind Seshadri
Hi Mario, Try using: param name="MYNAME" value='%=var%' hth, Govind "Pizzonia, Mario Carmelo" wrote: Hi everyone, I'm working with JSP1.0 and I have a trouble with the tag jsp:pluginparam name="MYNAME" value="ANTONIO" The strings myname and a

jsp param trouble

1999-12-02 Thread Pizzonia, Mario Carmelo
Hi everyone, I'm working with JSP1.0 and I have a trouble with the tag jsp:pluginparam name="MYNAME" value="ANTONIO" The strings myname and antonio must be quoted otherwise it falls in compilation error. But I have the need to evaluate a variable with %=var% so : param name=&

Re: Q: set bean param from -OPTION- list

1999-07-05 Thread Richard Dallaway
After rereading your original post (and the spec), I'm inclined to agree that what you're trying should work. But this does not appear to work for me (JRun 2.3.3, Build 152, JDK 1.2). Sounds like a bug. Have you checked the reference implementation? Thanks for the comments. I have now tried

Re: Q: set bean param from -OPTION- list

1999-07-03 Thread Lance Lavandowska
andowska Software Engineer http://www.AgDomain.Com -Original Message- From: Richard Dallaway [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, June 28, 1999 3:07 AM Subject: Re: Q: set bean param from -OPTION- list My example would have been better if I had the sy

Re: Q: set bean param from -OPTION- list

1999-07-03 Thread Foster Bob
In JSP 1.0/1.1, neither setProperty nor getProperty have any provision for indexed properties. Hans Bergsten wrote: I don't agree. In the JSP 1.0 spec, indexed properties are mentioned explicitly for setProperty. The description could be clearer, but I know the intention was to support

Re: Q: set bean param from -OPTION- list

1999-07-03 Thread Foster Bob
public void setFoo(int index, String value) or even something like: public void setFoo(String[] values) ..and expect jsp:setProperty to "do the right thing" and supply me with getParameterValues("foo"). In JSP 1.0/1.1, neither setProperty nor getProperty have any provision for indexed

Re: Q: set bean param from -OPTION- list

1999-06-29 Thread Lance Lavandowska
PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED]; [EMAIL PROTECTED] [EMAIL PROTECTED]; [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, June 28, 1999 11:28 AM Subject: Re: Re: Q: set bean param from -OPTION- list From: "Lance Lavandowska" [EMAIL PROTECTED] To get their individual values

Re: Q: set bean param from -OPTION- list

1999-06-28 Thread Richard Dallaway
My example would have been better if I had the syntax right. Let me try again. With a HTML SELECT list (or set of checkboxes), what is the easiest way to collect the OPTION values with a jsp:useBean? For example: FORM ACTION="/test.jsp" METHOD="POST" SELECT MULTIPLE NAME="foo" OPTION

Q: set bean param from OPTION list

1999-06-26 Thread Anonymous
With a HTML SELECT list, what is the easiest way to collect the OPTION values with a jsp:useBean? For example: SELECT NAME="foo" OPTION VALUE="1" First option OPTION VALUE="2" Second OPTION VALUE="3" Last /SELECT ...I select all three options and submit to a JSP which has the following:

problem with PARAM tag in JSP 0.91

1999-05-12 Thread Richard A. Sand
Hi and sorry for asking a question about a very outdated version. I'm using IBM's WAS which only supports 0.91. I have a bean that I'm trying to instantiate with a jsp page. If I leave out the PARAM tag, it loads, but if I add the PARAM tag, I get "Error getting compiled page. 3,27: no

How do I access the param?

1999-01-02 Thread Willie Wheeler
Hi all, I am using JSP 1.1, and I am doing the following include action: jsp:include page="includee.jsp" flush="true" jsp:param name="id" value="1000-1-1"/ /jsp:include My question: How do I access the parameter in includee.jsp?? The query string is null. I tried

Re: How do I access the param?

1999-01-02 Thread Abraham Kang
Try request.getAttribute("id"); Abraham Kang -Original Message- From: Willie Wheeler [SMTP:[EMAIL PROTECTED]] Sent: Thursday, November 04, 1999 7:12 AM To: [EMAIL PROTECTED] Subject:How do I access the param? Hi all, I am using JSP 1.1, and