Re: setProperty

2002-05-29 Thread SERHAT INAN

Where is the location of the config parameters? How can I access
them? What is the syntax for adding new parameters? (Especially
for Tomcat)

Thank You
Serhat

-Original Message-
From: Vikramjit Singh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 6:55 AM
To: [EMAIL PROTECTED]
Subject: Re: setProperty


failureBean.setUsername(config.getInitParameter("username"))

Regards,
Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-1031


-Original Message-
From: Eric Cho [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 27, 2002 2:03 PM
To: [EMAIL PROTECTED]
Subject: setProperty


Hello,

What is the equivalent of the following jsp code in a servlet?




Thanks,
Eric




**
The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or
the
sender immediately and do not disclose the contents to any one or make
copies.

** eSafe scanned this email for viruses, vandals and malicious content **

**

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 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 FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com


Bu e-posta ve ilisikteki dosyalar gizlidir ve sadece gonderilen birey ya da
kurumun kullanimi icindir. Bu mesajda kullanilan ifadeler, kurumumuzun tum
politikalarini temsil etmeyebilir. Bu nedenle sozkonusu e-posta bilgileri
kurumumuza karsi kullanilamaz ve butunuyle kurumumuzu baglayici olamaz. Bu
mesaji yanlislikla aldiysaniz, lutfen gondericiye bildiriniz ve
sisteminizden siliniz. Basari Holding hakkinda bilgi almak icin lutfen web
sitemizi ziyaret ediniz. ( http://www.basari.com.tr )
Bu e-posta bilinen tum bilgisayar viruslerine karsi korunmaktadir.

This e-mail and any attached files with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
The statements or expressions used in this message may not represent our
organization policy and therefore cannot be binding for or used against
Basari Holding Inc. If you have received this message accidentally, please
notify the sender immediately and delete it from your system. To get more
information about Basari Holding, please visit our web site. (
http://www.basari.com.tr )
This e-mail is protected against all known computer viruses.

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Case sensitive url

2002-05-29 Thread piyush jain

I do find that diffrence in the servlet generated. but how do i
avoid the diffenece and do it according to the requirement?


On Tue, 28 May 2002 Sabari Arasu (CTC) wrote :
>It seems I specified classpath instead of package name.
>
> Regards,
> A.G.Sabari Arasu
> Assistant Systems Engineer,
> TATA Consultancy Services,
> Ambattur,
> Chennai,
> India.
>
>
>
> > -Original Message-
> > From: Sabari Arasu (CTC) [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 28, 2002 6:27 PM
> > To:   [EMAIL PROTECTED]
> > Subject:  Re: Case sensitive url
> >
> > Hi,
> >
> > See the jsp1 servlet generated by the server. It may have
>Order in his
> > classpath. If it has Order in his classpath, jsp can be
>accessed only thru
> > Order/jsp1.jsp.
> >
> > Regards,
> > A.G.Sabari Arasu
> > Assistant Systems Engineer,
> > TATA Consultancy Services,
> > Ambattur,
> > Chennai,
> > India.
> >
> > > -Original Message-
> > > From: piyush jain [SMTP:[EMAIL PROTECTED]]
> > > Sent: Tuesday, May 28, 2002 9:51 AM
> > > To:   [EMAIL PROTECTED]
> > > Subject:  Case sensitive url
> > >
> > > Hi Friends,
> > >
> > > I am facing  peculiar problem, though menial but thought
>worth
> > > discussing.
> > >
> > > I have 2 jsps in folder "Order" (pl note case). 1st jsp can
>be
> > > called http://server/order/jsp1.jsp, without giving
>"Order"
> > > without matching case. The other jsp is called using
> > > http://server/Order/jsp1.jsp. here if i dont match case of
> > > "Order", it gives class not found error in error log, ie it
>doesnt
> > > work.
> > >
> > > If anybody knows the reason for the same? some coding specs
>that
> > > has to be taken care about?
> > >
> > > regards,
> > > Piyush.
> > > _
> > > Click below to visit monsterindia.com and review jobs in
>India or
> > > Abroad
> > > http://monsterindia.rediff.com/jobs
> > >
> > >
> >
>==
> > > =
> > > 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://archives.java.sun.com/jsp-interest.html
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> > >  http://www.jguru.com/faq/index.jsp
> > >  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 FAQs on JSP/Servlets can be found at:
> >
> >  http://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  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 FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

_
Click below to visit monsterindia.com and review jobs in India or
Abroad
http://monsterindia.rediff.com/jobs

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: pb vith tomcat 4.0.3

2002-05-29 Thread MAZZOTTI Thierry FTT/DSD

I have check my web.xml

with 4.0.1 all is ready but nothing working out with tomcat 4.0.3






29/05/02 05:43:54, subbu <[EMAIL PROTECTED]> a écrit:

>check your web.xml
>
>- Original Message -
>From: "MAZZOTTI Thierry FTT/DSD" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, May 28, 2002 7:38 PM
>Subject: pb vith tomcat 4.0.3
>
>
>> when i try to launch tomcat 4.0.3, this message appear
>>
>> ERROR reading java.io.ByteArrayInputStream@763f5d
>> At Line 16 /web-app/servlet/
>>
>> can you help me ?
>>
>>
>===
>> 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://archives.java.sun.com/jsp-interest.html
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>>  http://www.jguru.com/faq/index.jsp
>>  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 FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> 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 FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Case sensitive url

2002-05-29 Thread Sabari Arasu (CTC)

Can u send the servlet generated?

Regards,
A.G.Sabari Arasu
Assistant Systems Engineer,
TATA Consultancy Services,
Ambattur,
Chennai,
India.


> -Original Message-
> From: piyush jain [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 29, 2002 1:06 PM
> To:   [EMAIL PROTECTED]
> Subject:  Re: Case sensitive url
>
> I do find that diffrence in the servlet generated. but how do i
> avoid the diffenece and do it according to the requirement?
>
>
> On Tue, 28 May 2002 Sabari Arasu (CTC) wrote :
> >It seems I specified classpath instead of package name.
> >
> > Regards,
> > A.G.Sabari Arasu
> > Assistant Systems Engineer,
> > TATA Consultancy Services,
> > Ambattur,
> > Chennai,
> > India.
> >
> >
> >
> > > -Original Message-
> > > From: Sabari Arasu (CTC) [SMTP:[EMAIL PROTECTED]]
> > > Sent: Tuesday, May 28, 2002 6:27 PM
> > > To:   [EMAIL PROTECTED]
> > > Subject:  Re: Case sensitive url
> > >
> > > Hi,
> > >
> > > See the jsp1 servlet generated by the server. It may have
> >Order in his
> > > classpath. If it has Order in his classpath, jsp can be
> >accessed only thru
> > > Order/jsp1.jsp.
> > >
> > > Regards,
> > > A.G.Sabari Arasu
> > > Assistant Systems Engineer,
> > > TATA Consultancy Services,
> > > Ambattur,
> > > Chennai,
> > > India.
> > >
> > > > -Original Message-
> > > > From: piyush jain [SMTP:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, May 28, 2002 9:51 AM
> > > > To:   [EMAIL PROTECTED]
> > > > Subject:  Case sensitive url
> > > >
> > > > Hi Friends,
> > > >
> > > > I am facing  peculiar problem, though menial but thought
> >worth
> > > > discussing.
> > > >
> > > > I have 2 jsps in folder "Order" (pl note case). 1st jsp can
> >be
> > > > called http://server/order/jsp1.jsp, without giving
> >"Order"
> > > > without matching case. The other jsp is called using
> > > > http://server/Order/jsp1.jsp. here if i dont match case of
> > > > "Order", it gives class not found error in error log, ie it
> >doesnt
> > > > work.
> > > >
> > > > If anybody knows the reason for the same? some coding specs
> >that
> > > > has to be taken care about?
> > > >
> > > > regards,
> > > > Piyush.
> > > > _
> > > > Click below to visit monsterindia.com and review jobs in
> >India or
> > > > Abroad
> > > > http://monsterindia.rediff.com/jobs
> > > >
> > > >
> > >
> >=
> =
> > > > =
> > > > 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://archives.java.sun.com/jsp-interest.html
> > > >  http://java.sun.com/products/jsp/faq.html
> > > >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> > > >  http://www.jguru.com/faq/index.jsp
> > > >  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 FAQs on JSP/Servlets can be found at:
> > >
> > >  http://archives.java.sun.com/jsp-interest.html
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> > >  http://www.jguru.com/faq/index.jsp
> > >  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 FAQs on JSP/Servlets can be found at:
> >
> >  http://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  http://www.jspinsider.com
>
> _
> Click below to visit monsterindia.com and review jobs in India or
> Abroad
> http://monsterindia.rediff.com/jobs
>
> ==
> =
> 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://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

SocketException via Tomcat 3.2

2002-05-29 Thread SERHAT INAN

I use Jbulder5 with Tomcat 3.2 for servlet/JSP run/debug. From time to time
I get the following exception.
How to avoid that? Or is it normal to get it seldomly?


Regards
Serhat



2002-05-29 12:14:39 - ContextManager: SocketException reading request,
ignored - java.net.SocketException: Connection reset by peer: JVM_recv in
socket input stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:86)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
at
org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestAdapter.
java:115)
at
org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServletInpu
tStream.java:106)
at
org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputS
tream.java:128)
at
javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138)
at
org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(HttpReques
tAdapter.java:129)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:195)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)


Bu e-posta ve ilisikteki dosyalar gizlidir ve sadece gonderilen birey ya da
kurumun kullanimi icindir. Bu mesajda kullanilan ifadeler, kurumumuzun tum
politikalarini temsil etmeyebilir. Bu nedenle sozkonusu e-posta bilgileri
kurumumuza karsi kullanilamaz ve butunuyle kurumumuzu baglayici olamaz. Bu
mesaji yanlislikla aldiysaniz, lutfen gondericiye bildiriniz ve
sisteminizden siliniz. Basari Holding hakkinda bilgi almak icin lutfen web
sitemizi ziyaret ediniz. ( http://www.basari.com.tr )
Bu e-posta bilinen tum bilgisayar viruslerine karsi korunmaktadir.

This e-mail and any attached files with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
The statements or expressions used in this message may not represent our
organization policy and therefore cannot be binding for or used against
Basari Holding Inc. If you have received this message accidentally, please
notify the sender immediately and delete it from your system. To get more
information about Basari Holding, please visit our web site. (
http://www.basari.com.tr )
This e-mail is protected against all known computer viruses.

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



[no subject]

2002-05-29 Thread Gendre Rui

set JDBC-INTEREST DIGEST

==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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



How to check valid date?

2002-05-29 Thread sdgkhsf

Hi,
How to check date (from input form) is valid date or not? (ie. 30 Feb
2003 is not valid date).
Tks.
--
  sdgkhsf
  [EMAIL PROTECTED]

--
http://fastmail.fm
 - Win a free email account: click here!

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



count form elements

2002-05-29 Thread Ronny Van der Perre [Smart IT Systems]

How can I count how many form elements are submitted ?

I am looking for the JSP-equivalent of the ASP "Request.Form.Count"



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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: How to check valid date?

2002-05-29 Thread Jose Andrés Pérez

Take a look at java.util.Calendar
Probably you are looking for the getActualMaximum method

Jose Andrés

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of sdgkhsf
> Sent: miércoles, 29 de mayo de 2002 15:18
> To: [EMAIL PROTECTED]
> Subject: How to check valid date?
>
>
> Hi,
> How to check date (from input form) is valid date or not? (ie. 30 Feb
> 2003 is not valid date).
> Tks.
> --
>   sdgkhsf
>   [EMAIL PROTECTED]
>
> --
> http://fastmail.fm
>  - Win a free email account: click here!
>
> ==
> =
> 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://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  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 FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: count form elements

2002-05-29 Thread Jose Andrés Pérez

I think that there is not any utility in Java that can give you the number
of forms. Otherwise, you can control it defining a hidden input and set it
using javascript.


> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ronny Van der Perre
> [Smart IT Systems]
> Sent: miércoles, 29 de mayo de 2002 15:24
> To: [EMAIL PROTECTED]
> Subject: count form elements
>
>
> How can I count how many form elements are submitted ?
>
> I am looking for the JSP-equivalent of the ASP "Request.Form.Count"
>
>
>
> 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://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  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 FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Fw: Re: count form elements

2002-05-29 Thread Luis Javier Beltrán

This code can help get the number of parameters passed (that could be
equivalent to the number of valid form elements submitted):

java.util.Enumeration enum = request.getParameterNames();

int c=0;

for ( ; enum.hasMoreElements(); enum.nextElement() )
  ++c;


Luis Javier

- Original Message -
From: "Jose Andrés Pérez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 29, 2002 8:38 AM
Subject: Re: count form elements


> I think that there is not any utility in Java that can give you the number
> of forms. Otherwise, you can control it defining a hidden input and set it
> using javascript.
>
>
> > -Original Message-
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Ronny Van der Perre
> > [Smart IT Systems]
> > Sent: miércoles, 29 de mayo de 2002 15:24
> > To: [EMAIL PROTECTED]
> > Subject: count form elements
> >
> >
> > How can I count how many form elements are submitted ?
> >
> > I am looking for the JSP-equivalent of the ASP "Request.Form.Count"
> >
> >
> >
> > 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://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  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 FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  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 FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: count form elements

2002-05-29 Thread Peter Dolukhanov

Scan through them carefully though, as I know things like the Submit
button count as an element and possibly some other unnecessary things.

Regards,
Peter Dolukhanov

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]] On Behalf Of Luis Javier Beltrán
Sent: 29 May 2002 18:27
To: [EMAIL PROTECTED]
Subject: Fw: Re: count form elements

This code can help get the number of parameters passed (that could be
equivalent to the number of valid form elements submitted):

java.util.Enumeration enum = request.getParameterNames();

int c=0;

for ( ; enum.hasMoreElements(); enum.nextElement() )
  ++c;


Luis Javier

- Original Message -
From: "Jose Andrés Pérez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 29, 2002 8:38 AM
Subject: Re: count form elements


> I think that there is not any utility in Java that can give you the
number
> of forms. Otherwise, you can control it defining a hidden input and
set it
> using javascript.
>
>
> > -Original Message-
> > From: A mailing list about Java Server Pages specification and
reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Ronny Van der Perre
> > [Smart IT Systems]
> > Sent: miércoles, 29 de mayo de 2002 15:24
> > To: [EMAIL PROTECTED]
> > Subject: count form elements
> >
> >
> > How can I count how many form elements are submitted ?
> >
> > I am looking for the JSP-equivalent of the ASP "Request.Form.Count"
> >
> >
> >
> > 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://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  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 FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  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 FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 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 FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: count form elements

2002-05-29 Thread Richard Yee

Ronny,
Take a look at the Servlet API Javadocs:
http://java.sun.com/products/servlet/2.3/javadoc/index.html

You will need to use the request.getParameterNames() method to get an
enumeration of the form parameters and then count them.

ie.

Enumeration eNames = request.getParameterNames();
int elementCount = 0;
while (eNames.hasMoreElements()) {
 elementCount++;
 eNames.nextElement();
}

the getParameterNames() method returns an enumeration of all of the names
of the request parameters. To get the values, you need to use
getParameter(String name) or getParameterValues(String name) if the
parameter name has multiple values.

Regards,

Richard


At 03:24 PM 5/29/2002 +0200, Ronny Van der Perre [Smart IT Systems] wrote:
>How can I count how many form elements are submitted ?
>
>I am looking for the JSP-equivalent of the ASP "Request.Form.Count"
>
>
>
>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://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  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 FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: RadioButtons

2002-05-29 Thread Elahi, Eiram N

 Dear wonderful Helpers

I am stuck with radio buttons.  I am writing a JSP with a corresponding Bean
class which, contains the implementation.  The calculation I need to
inmplement is the multiplication of the values assigned to radiobuttons.
So, the user selects Radio button (no more than 3), the values are then
multiplied by each other and displayed in the JSP.
My calculation is not working and I have rattled my brains thinking about
this..  Any help would be most appreciated.

Eiram

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: RadioButtons

2002-05-29 Thread Peter Claesson (EUS)

Is the calculation started by submitting a form? or do you expect dynamic
HTML update?

The first is handled through "regular" JSP. The second you need to complement
the calculated value with dynamic HTML, or DOM.

Maybe you can elaborate some...

/Peter

-Original Message-
From: Elahi, Eiram N [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 5:05 PM
To: [EMAIL PROTECTED]
Subject: Re: RadioButtons


 Dear wonderful Helpers

I am stuck with radio buttons.  I am writing a JSP with a corresponding Bean
class which, contains the implementation.  The calculation I need to
inmplement is the multiplication of the values assigned to radiobuttons.
So, the user selects Radio button (no more than 3), the values are then
multiplied by each other and displayed in the JSP.
My calculation is not working and I have rattled my brains thinking about
this..  Any help would be most appreciated.

Eiram

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 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 FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: directive : How do you nicely handle the "404 N ot F ound" ?????

2002-05-29 Thread BMS Robot Email

Thank you Hans for your suggestion.

We took some time to get JSTL going with our J2EE application running with
Orion.
1. We were able to do it only after we changed the two tags in c.tld, as
shown below.
 was changed to 
and everywhere it referred to
 was changed to 
Have we done the right thing or was it a symptom of some other error?

2. After we did the above change, we tried your solution but it resulted in
the following error

Syntax error in source
/view_1.jsp.java:531: 'catch' without 'try'.
catch(Throwable t)
^
/view_1.jsp.java:543: 'try' without 'catch' or 'finally'.
if(__tag0.doEndTag() == Tag.SKIP_PAGE) return;
^
/view_1.jsp.java:544: 'catch' without 'try'.
catch(Throwable t)
^
/view_1.jsp.java:577: 'catch' without 'try'.
catch(Throwable t)
^
/view_1.jsp.java:810: 'try' without 'catch' or 'finally'.
}
 ^
/view_1.jsp.java:810: '}' expected.
}
 ^
6 errors, 1 warning

Would you be able to give us some help?

with regards
Gamini de Alwis
mailto:[EMAIL PROTECTED]
Software Developer
Business Manager Software
Tel  (03) 9813 3022. Fax  (03) 9882 5887
website http://www.bmsoft.com.au
Try our latest web orders demo by clicking
http://jdemo.bmsoft.com.au/eorders1/



-Original Message-
From: Hans Bergsten [mailto:[EMAIL PROTECTED]]
Sent: Friday, 24 May 2002 1:26 PM
To: [EMAIL PROTECTED]
Subject: Re:  directive : How do you nicely handle the "404
Not F ound" ?


BMS Robot Email wrote:
> Hello
>
> I want to #include a JSP page to present optional additional image files
etc
> for a stock catalog application. The #include filename & path are
> constructed on the fly from stock/session information and the file may not
> exist at the time of generating the page, in which case I would like to
use
> a "default" JSP for the image path etc.
>
> Currently this works fine when the JSP exists, however when it does not
> exist I am getting "404 Not Found" as part of the generated page - is
there
> anyway in which the "404 Not Found" can be suppressed / replaced ?

Not with , but the recently approved JSP Standard Tag
Library (JSTL) includes  and  actions that can be
combined like this to do what you want:


   
 
   
   
 <%-- An exception or 404 resulted from the import --%>
 
   

For more about JSTL and the Reference Implementation, currently
in Beta, see:

   

Hans
--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
JavaServer Pageshttp://TheJSPBook.com

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 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 FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: directive : How do you nicely handle the "404 N ot F ound" ?????

2002-05-29 Thread Hans Bergsten

Since you had to rename the TLD elements, it means that the version of
Orion that you use only supports JSP 1.2 while JSTL requires JSP 1.2.
I'm not sure if there's a later version of Orion that support the JSP 1.2
specification, but I would be surprised if there wasn't.

Trying to run JSTL in a JSP 1.1 container will likely lead to problems
since some of the JSTL actions rely on features introduced in JSP 1.2,
so it's not something I can recommend. The error you describe, however,
is most likely caused by an unrelated syntax error in the JSP page (e.g.
missing the end curly bracket in a scripting element).

Hans

BMS Robot Email wrote:
> Thank you Hans for your suggestion.
>
> We took some time to get JSTL going with our J2EE application running with
> Orion.
> 1. We were able to do it only after we changed the two tags in c.tld, as
> shown below.
>  was changed to 
> and everywhere it referred to
>  was changed to 
> Have we done the right thing or was it a symptom of some other error?
>
> 2. After we did the above change, we tried your solution but it resulted in
> the following error
>
> Syntax error in source
> /view_1.jsp.java:531: 'catch' without 'try'.
> catch(Throwable t)
> ^
> /view_1.jsp.java:543: 'try' without 'catch' or 'finally'.
> if(__tag0.doEndTag() == Tag.SKIP_PAGE) return;
> ^
> /view_1.jsp.java:544: 'catch' without 'try'.
> catch(Throwable t)
> ^
> /view_1.jsp.java:577: 'catch' without 'try'.
> catch(Throwable t)
> ^
> /view_1.jsp.java:810: 'try' without 'catch' or 'finally'.
> }
>  ^
> /view_1.jsp.java:810: '}' expected.
> }
>  ^
> 6 errors, 1 warning
>
> Would you be able to give us some help?
>
> with regards
> Gamini de Alwis
> mailto:[EMAIL PROTECTED]
> Software Developer
> Business Manager Software
> Tel  (03) 9813 3022. Fax  (03) 9882 5887
> website http://www.bmsoft.com.au
> Try our latest web orders demo by clicking
> http://jdemo.bmsoft.com.au/eorders1/
>
>
>
> -Original Message-
> From: Hans Bergsten [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 24 May 2002 1:26 PM
> To: [EMAIL PROTECTED]
> Subject: Re:  directive : How do you nicely handle the "404
> Not F ound" ?
>
>
> BMS Robot Email wrote:
>
>>Hello
>>
>>I want to #include a JSP page to present optional additional image files
>
> etc
>
>>for a stock catalog application. The #include filename & path are
>>constructed on the fly from stock/session information and the file may not
>>exist at the time of generating the page, in which case I would like to
>
> use
>
>>a "default" JSP for the image path etc.
>>
>>Currently this works fine when the JSP exists, however when it does not
>>exist I am getting "404 Not Found" as part of the generated page - is
>
> there
>
>>anyway in which the "404 Not Found" can be suppressed / replaced ?
>
>
> Not with , but the recently approved JSP Standard Tag
> Library (JSTL) includes  and  actions that can be
> combined like this to do what you want:
>
>
>
>  
>
>
>  <%-- An exception or 404 resulted from the import --%>
>  
>
>
> For more about JSTL and the Reference Implementation, currently
> in Beta, see:
>
>
>
> Hans
> --
> Hans Bergsten   [EMAIL PROTECTED]
> Gefion Software http://www.gefionsoftware.com
> JavaServer Pageshttp://TheJSPBook.com
>
> ===
> 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://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  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 FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>


--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
JavaServer Pageshttp://TheJSPBook.com

===
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 

Re: directive : How do you nicely handle the "404 N ot F ound" ?????

2002-05-29 Thread Hans Bergsten

Hans Bergsten wrote:
> Since you had to rename the TLD elements, it means that the version of
> Orion that you use only supports JSP 1.2 while JSTL requires JSP 1.2.

Oops. I meant "only supports JSP 1.1 while JSTL requires JSP 1.2."

> I'm not sure if there's a later version of Orion that support the JSP 1.2
> specification, but I would be surprised if there wasn't.
>
> Trying to run JSTL in a JSP 1.1 container will likely lead to problems
> since some of the JSTL actions rely on features introduced in JSP 1.2,
> so it's not something I can recommend. The error you describe, however,
> is most likely caused by an unrelated syntax error in the JSP page (e.g.
> missing the end curly bracket in a scripting element).
>
> Hans
>
> BMS Robot Email wrote:
>
>> Thank you Hans for your suggestion.
>>
>> We took some time to get JSTL going with our J2EE application running
>> with
>> Orion.
>> 1. We were able to do it only after we changed the two tags in c.tld, as
>> shown below.
>>  was changed to 
>> and everywhere it referred to
>>  was changed to 
>> Have we done the right thing or was it a symptom of some other error?
>>
>> 2. After we did the above change, we tried your solution but it
>> resulted in
>> the following error
>>
>> Syntax error in source
>> /view_1.jsp.java:531: 'catch' without 'try'.
>> catch(Throwable t)
>> ^
>> /view_1.jsp.java:543: 'try' without 'catch' or 'finally'.
>> if(__tag0.doEndTag() == Tag.SKIP_PAGE) return;
>> ^
>> /view_1.jsp.java:544: 'catch' without 'try'.
>> catch(Throwable t)
>> ^
>> /view_1.jsp.java:577: 'catch' without 'try'.
>> catch(Throwable t)
>> ^
>> /view_1.jsp.java:810: 'try' without 'catch' or 'finally'.
>> }
>>  ^
>> /view_1.jsp.java:810: '}' expected.
>> }
>>  ^
>> 6 errors, 1 warning
>>
>> Would you be able to give us some help?
>>
>> with regards
>> Gamini de Alwis
>> mailto:[EMAIL PROTECTED]
>> Software Developer
>> Business Manager Software
>> Tel  (03) 9813 3022. Fax  (03) 9882 5887
>> website http://www.bmsoft.com.au
>> Try our latest web orders demo by clicking
>> http://jdemo.bmsoft.com.au/eorders1/
>>
>>
>>
>> -Original Message-
>> From: Hans Bergsten [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, 24 May 2002 1:26 PM
>> To: [EMAIL PROTECTED]
>> Subject: Re:  directive : How do you nicely handle the "404
>> Not F ound" ?
>>
>>
>> BMS Robot Email wrote:
>>
>>> Hello
>>>
>>> I want to #include a JSP page to present optional additional image files
>>
>>
>> etc
>>
>>> for a stock catalog application. The #include filename & path are
>>> constructed on the fly from stock/session information and the file
>>> may not
>>> exist at the time of generating the page, in which case I would like to
>>
>>
>> use
>>
>>> a "default" JSP for the image path etc.
>>>
>>> Currently this works fine when the JSP exists, however when it does not
>>> exist I am getting "404 Not Found" as part of the generated page - is
>>
>>
>> there
>>
>>> anyway in which the "404 Not Found" can be suppressed / replaced ?
>>
>>
>>
>> Not with , but the recently approved JSP Standard Tag
>> Library (JSTL) includes  and  actions that can be
>> combined like this to do what you want:
>>
>>
>>
>>  
>>
>>
>>  <%-- An exception or 404 resulted from the import --%>
>>  
>>
>>
>> For more about JSTL and the Reference Implementation, currently
>> in Beta, see:
>>
>>
>>
>> Hans
>> --
>> Hans Bergsten   [EMAIL PROTECTED]
>> Gefion Software http://www.gefionsoftware.com
>> JavaServer Pageshttp://TheJSPBook.com
>>
>> ===
>>
>> 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://archives.java.sun.com/jsp-interest.html
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>>  http://www.jguru.com/faq/index.jsp
>>  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 FAQs on JSP/Servlets can be found at:
>>
>>  http://archives.java.sun.com/jsp-interest.html
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>>  http://www.jguru.com/faq/index.jsp
>>  http://www.jspinsider.com
>>
>
>
> --
> Hans Bergsten   [EMAIL PROTECTED]
> Gefion Software http://www.gefionsoftware.com
> JavaServer Pag

Re: Separation of HTML and Java work in a JSP

2002-05-29 Thread Mihail Marinov

Hello,

>Hi everybody,
>
>I'm a bit confused about the way JSPs should be programmed. Which is the
>correct way to separate HTML design from Java logic? should a person be
>responsible for the HTML and another person should take this result and
>program the logic? but the presentation changes depending on the parameters
>passed, so all these posibilities should be programmed by the designer?
>I think the most practical way is that a person should know about design and
>Java. Is this right?

Maybe there is another way of doing this - a model very similar to the accustomed 
desktop development where highly customizable frameworks take care of the html 
generation and provide extra facilities - like events for example. One such attempt I 
know of is TICL (http://www.kobrix.com/).

Regards.

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com