Re: JSP 2 / fn:replace Question

2004-04-13 Thread Dheil Corona
hi

may be you can put the value of your attribute value to a a string variable
first
so you can use the jsp expression (value="<%=yourvar%>")
so there you can escape the quotes in that variable ..

regards
_dheil




- Original Message -
From: "Eric Noel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 2:51 PM
Subject: JSP 2 / fn:replace Question


> I am using tomcat 5.x/jstl 1.1. How do i replace a single quote with
> blank using jstl 1.1, i tried the ff
>
> 
> ${test}
>
> but it errors
>
> org.apache.jasper.JasperException: /test.jsp(12,0)
> "${fn:replace(test,''','')}" contains invalid expression(s):
> javax.servlet.jsp.el.ELException: Encountered "','", expected one of
> [".", ">", "gt", "<", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=",
> "ne", ")", ",", "[", "+", "-", "*", "/", "div", "%", "mod", "and", "&&",
> "or", "||", "?"]
>
>
> Thanks for your help.
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
>  http://java.sun.com/products/jsp
>  http://archives.java.sun.com/jsp-interest.html
>  http://forums.java.sun.com
>  http://www.jspinsider.com
>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


static method

2003-08-14 Thread Dheil Corona
can i create static method inside the jsp?

like a method that returns boolean

thanks

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: varibles in include --->

2003-07-24 Thread Dheil Corona
i dont think so..

use this type of include:



but the implementation is different .look at your reference.

enjoy jsp!


- Original Message -
From: "vtr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 24, 2003 3:49 PM
Subject: varibles in include --->


Can i use variables in the following instead of "ccx_hall.txt"

<%@ include file="ccx_hall.txt" %>

At present i'm unable to do so...

please help


  V.T.R.Ravi Kumar, Engg.(CCX), BHEL
  Phone Office 01334-285260
  Residence 01334-226121
  Mobile 01332-323570

=
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


how can inlclude a jsp file in .java file

2001-06-13 Thread Dheil Corona

hello,

is there a way to call or include a certain jsp file
in the .java file

thanks

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Use

2001-04-17 Thread Dheil Corona

onother option to do that..
if your html tag is inside the scriplet, and your printing it out using
out.print()
you should escape the double quote with the backlash "\"
or you cannot remove the your double quote at all..

- Original Message -
From: Jewpojaroen Surat <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 9:27 AM
Subject: RE: Use 


> I think may be you will use double code (") ,if you use double code should
> be change it by use single code in JSP tag.
>
>
> -Original Message-
> From: [Lelievre Frederic] [mailto:[EMAIL PROTECTED]]
> Sent: วันอังคารที่ 17 เมษายน 2001 18:24
> To: [EMAIL PROTECTED]
> Subject: Use 
> Importance: High
> Sensitivity: Confidential
>
>
> Hi every body,
>
> when I use  in my JSP, I have an error.
> How can I use this with the JSP and the Bean ?
>
> Please Help.
> Thank.
> > Frédéric LELIEVRE
> > TTE -  (BA / F04 C024)
> >
> > *   +352-44992--2485
> > * [EMAIL PROTECTED]
> >
>
>
> Visit us at http://www.clearstream.com
> Check out current job vacancies at
> http://www.clearstream.com/public/english/e_vacs.htm
>
> IMPORTANT MESSAGE
>
> Internet communications are not secure and therefore Clearstream
> International does not
> accept legal responsibility for the contents of this message.
>
> The information contained in this e-mail is confidential and may be
legally
> privileged. It is
> intended solely for the addressee. If you are not the intended recipient,
> any disclosure,
> copying, distribution or any action taken or omitted to be taken in
reliance
> on it, is
> prohibited and may be unlawful. Any views expressed in this e-mail are
those
> of the
> individual sender, except where the sender specifically states them to be
> the views of
> Clearstream International or of any of its affiliates or subsidiaries.
>
> END OF DISCLAIMER
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how can i have 2 actions..

2000-06-19 Thread Dheil Corona

oh..thanks
but i can't use 2 forms on it..
coz the elements of the form are both use by my two submit button.
i.e. if a check box is check, then its contents are passed to other page on
which submit button is clicked...

what do you think..

-dheil



- Original Message -
From: Lee Elenbaas <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 19, 2000 3:47 PM
Subject: Re: how can i have 2 actions..


> why not using two forms, and submitting the second from the onSubmit event
> of the first. or maybe even submitting both from an onClick of a
button/link
> lee
> [EMAIL PROTECTED]
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dheil Corona
> Sent: Monday, June 19, 2000 10:36 AM
> To: [EMAIL PROTECTED]
> Subject: how can i have 2 actions..
>
>
> hi pipol,
>
> can anyone help with this:
> i have a big problem on form submission..
>
> how can i  manage 2 action in one form
> for ex. sumit1 will go to link1
> and link1 process some parameters passed by the forms elments
> and submit2 will go to link2, same thing its also pass parameters..
>
> thank you..
>
> -dheil
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



how can i have 2 actions..

2000-06-19 Thread Dheil Corona

hi pipol,

can anyone help with this:
i have a big problem on form submission..

how can i  manage 2 action in one form
for ex. sumit1 will go to link1
and link1 process some parameters passed by the forms elments
and submit2 will go to link2, same thing its also pass parameters..

thank you..

-dheil

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



help on this error

2000-05-31 Thread Dheil Corona

hi gurus,

can anyone help on this bug..

When i try to load a page , even it is empty it gives this error page:
my page is totaly empty

(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
nse;)V) Illegal target of jump or branch

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: help on this error

2000-05-22 Thread Dheil Corona

hi Scott,

i check my page weight and i found out that's its around 12K only..
but here's the error i recieved when trying to compile it ..

java.lang.ClassFormatError: (Code of a method longer than 65535 bytes)

what do you think is the best way to do?

thanks
dheil



- Original Message -
From: Scott Stirling <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 23, 2000 1:18 PM
Subject: Re: help on this error


> What's the error message say?  You can't have a method longer than 64k.
> Seems like the JSP container thinks you're trying to exceed that limit.
>
> Scott Stirling
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dheil Corona
> Sent: Monday, May 22, 2000 11:15 PM
> To: [EMAIL PROTECTED]
> Subject: help on this error
>
>
> when i'm loading up my pages
> i got this error..
>
> (Code of a method longer than 65535 bytes)
>
> my main page has codition to get a parameter on the url and include a
local
> jsp on it, if ots true...
>
> but i can't figure out what does it really means..
>
> thanks
>
> dheil
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



help on this error

2000-05-22 Thread Dheil Corona

when i'm loading up my pages
i got this error..

(Code of a method longer than 65535 bytes)

my main page has codition to get a parameter on the url and include a local
jsp on it, if ots true...

but i can't figure out what does it really means..

thanks

dheil

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



could any ony one help me..with this error

2000-04-27 Thread Dheil Corona

i am a beginner in JSP and just testing samples..
i encouter this error while submitting a form data to onother JSP that will
handle the process

"Can't find resource for base name forms, locale en_US
java.util.MissingResourceException: Can't find resource for base name forms,
locale en_US"

what should i do..




dheil

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets