Request for help in posting messages

2000-07-09 Thread Tai

Dear Sir/Ms:

   I already register to JSP-Interest mailing list with this and another
e-mail account [EMAIL PROTECTED] However , I am not able to post messages
successfully with both account. I always get the following error reply. I
would like to request for help to solve my problem sincerely.

Thanks a lot!

Best regards!

Raymond Kong


An error was detected while processing the enclosed message. A list of
the affected recipients follows. This list is in a special format that
allows LISTSERV to automatically take action on incorrect addresses.

-- Error description:
Error-For:  [EMAIL PROTECTED]
Error-Code: 3
Error-Text: 550 5.1.1 [EMAIL PROTECTED]... User unknown

Error-End:  1 error(s) reported

- Undelivered message
-
Date: Sat, 8 Jul 2000 22:54:36 -0700
From: Kong wai meng [EMAIL PROTECTED]
Subject:  Application-scoped instant of object
To:   [EMAIL PROTECTED]

I am using a frameset which contains two JSP pages. THe calling
sequence is that : first populate a selection list in the top JSP page,
after selectiong one option, the bottom one will be called with the
paramenter sent by the top page. Both  use an application-scoped instance of

a DB connection object to share DB connction. If follow this sequences.
everything is fine. However, in the scenario that the populated frame
set is reloaded, I get Internal 500 error. I doubted that application
scoped objects cannot be instantied at the same time, or it is a
implementation bug of Jakarta-Tomcat ( my implementation environment)?

  By the way , there is any alternatives to implement share a DB
connection within all pages and all instancs of an application?

Thanks ahead.

Regards







___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html

===
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: session expired

2000-07-09 Thread Krishnan

use this to extend session.
session.setMaxInactiveInterval()

- Original Message -
From: Robert Nicholson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 09, 2000 1:36 AM
Subject: Re: session expired


 What is the correct way to extend the session then?

  -Original Message-
  From: A mailing list about Java Server Pages specification and reference
  [mailto:[EMAIL PROTECTED]]On Behalf Of Krishnan
  Sent: Wednesday, July 05, 2000 1:24 PM
  To: [EMAIL PROTECTED]
  Subject: Re: session expired
 
 
  Hi,
 
  There are two options,
 
  one : In the begining set the session time out using the following
method.
  session.setMaxInactiveInterval("specify the no of minutes") for
  session not
  to expire set "-1".
 
  two: Use session binding listener class which has two methods
sessionBound
  and sessionUnbound. When the session expires, the sessionUnbound
  method will
  be called, there you can write code either to extend the session or what
  ever the action that you want to perform.
 
  Hope this might help u
  bye
  krish
 
  - Original Message -
  From: Mauro Gagni (EMS) [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, July 05, 2000 4:57 PM
  Subject: session expired
 
 
   Hi All,
  
   I am using tomcat to develop my JSP+benas application. I
  instanciate some
   beans with scope session and I get this problem:
  
   After a while that I leave the browser inactive, the session
information
  is
   gone (I store some data in the session) but the beans are still there
so
   they do not get reinitialized as I would expect.
  
   Is this correct?
  
   Is there a way to free a bean once it has been allocated to a session?
  
   Thanks,
   mauro
  
  
  ==
  =
   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

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



IDE

2000-07-09 Thread Geert Van Damme

We talked about having a poll about which editor to use.
Well, to start with, check out this article:

http://www.javalobby.org/servlet/News?action=displayStoriesxsl=comment.xsl;
format=fullid=5101804

It also showed me that having a poll might not be that good idea.
It doesn't reflect what editor is best, because people don't compare all the
editors. And they just vote for the editor thay're using.
Actually the most important information is which editor you did try, but
didn't like!
So maybe we should do a poll on the worst editor for JSP ;-)
(I have the fealing that VAJ could could get as many votes with the
positive -best editor- as with the negative approach -worst editor. just an
idea ;-)

Geert 'Darling' Van Damme

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



Can you access servlet info through jsp bean?

2000-07-09 Thread keith kwiatek

Hello,

Pardon the newbie question, but as I understand it, when designing jsp applications, 
you have two options:
1) call the jsp page directly, and then reference a bean
2) call a servlet that instantiates the bean for display in a jsp page.

Off-hand I think I like option 1 best, call the jsp page, which references a bean. I 
like the idea of putting everything in a "bean framework" that can then be used by the 
HTML people

QUESTION: Using option #1 above, it seems that I must put all the servlet environment 
stuff into the jsp page (session, get/post) Is this correct? Can someone show me 
how to put it into a bean that can then be referenced by the JSP? Is this a good 
design? If not, what is?

Thanks for any and all help,
Please post and/or email me [EMAIL PROTECTED]
Keith

===
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: Can you access servlet info through jsp bean?

2000-07-09 Thread JSP Insider

Hi Keith
If you are using the bean approach. Passing data from the page is very
simple and quick an example:

jsp:useBean id="ReportBean" scope="request" class="MyPackage.MyBean"/
jsp:setProperty name="ReportBean" property="rowDisplayCount"
param="sle_size"/

The nice thing about this is the Param field directly takes the
output from your query string/ form data being posted to your page
and send the data straight to your bean property.

In fact if you name your property in the bean to match the form field
exactly you
can rewrite the above to look like this

jsp:useBean id="ReportBean" scope="request" class="MyPackage.MyBean"/
jsp:setProperty name="ReportBean" property="sle_size" /


Also note there is wild card approach so I can rewrite once more as the
following

jsp:useBean id="ReportBean" scope="request" class="MyPackage.MyBean"/
jsp:setProperty name="ReportBean" property="*" /

and if you all your form fields name match to your bean property names
This will pump all of the form/query data straight into your bean.


You can also rewrite these to look like the following

jsp:useBean id="ReportBean" scope="request" class="MyPackage.MyBean"/
jsp:setProperty name="ReportBean" property="rowDisplayCount"
param="sle_size"/
/jsp:useBean

The difference in syntax being  that the properties are being sent to the
bean during
JSP pages initialization of the bean


Now I prefer using the first approach since I like being able to see
on my page what’s going in my bean , I find it easier to debug when I can
see everything happening, the wildcard approach can be dangerous since you
are assuming everything you need is aligned and this can make debugging
problems
harder.



Now which approach is better in JSP design. They are both good.
My preferences are base upon available resources and complexity of the web
site.
SO when I am the only Java developer, or when the customer
is light on the Java approach. I like to use beans and JSP. I can
make the beans quickly. They are easy to plug in and out
of your JSP pages. I also prefer this approach on smaller simple sites
since you won't have a huge number of beans to maintain / juggle

If I have access to several serious Java developers then switching
to a more centralize servlet system to handle your site will give you
more options in your site I feel. For extremely Large Sites and More
complicated
processing the servlet approach would be better. With the centralize
servlet approach you can optimize your site to a greater degree and reuse
more
elements and have a finer degree of control on how your site is being
processed.
Now I must also admit I prefer to program smaller sites SO I currently stick
to the first approach.


Casey Kochmer
WWW.JSPInsider.com
[EMAIL PROTECTED]






From: keith kwiatek [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Can you access servlet info through jsp bean?
Date: Sun, 9 Jul 2000 10:15:53 -0400

Hello,

Pardon the newbie question, but as I understand it, when designing jsp
applications, you have two options:
1) call the jsp page directly, and then reference a bean
2) call a servlet that instantiates the bean for display in a jsp page.

Off-hand I think I like option 1 best, call the jsp page, which references
a bean. I like the idea of putting everything in a "bean framework" that
can then be used by the HTML people

QUESTION: Using option #1 above, it seems that I must put all the servlet
environment stuff into the jsp page (session, get/post) Is this
correct? Can someone show me how to put it into a bean that can then be
referenced by the JSP? Is this a good design? If not, what is?

Thanks for any and all help,
Please post and/or email me [EMAIL PROTECTED]
Keith


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
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: JSP - servlet - JSP request scope object passing

2000-07-09 Thread Doug Turner

Could you use the HTML base tag here?  You could have it conditionally
generated to control its value in development, production, etc.

- Original Message -
From: David Wall [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 06, 2000 9:19 PM
Subject: JSP - servlet - JSP request scope object passing


 This is no doubt a common question, but if I have a JSP page, that does =
 a FORM POST to a servlet, and that servlet's job is to do some parameter =
 checking, invoke the correct operations on beans/EJBs, then redirect the =
 user to the correct JSP page to display the results.

 If there's an error, the servlet sends the request back to the calling =
 page with an error set.  If all's okay, it generally takes the person to =
 another JSP, though it may come back to the original JSP with a =
 "success" message.

 This JSP - servlet - JSP must a fairly common use.

 I'm having trouble getting this to work using "request" scoped beans.  =
 When the first JSP is invoked, the request-scoped beans are created =
 until the page is returned.  Then when the user clicks on the submit =
 button, the POST goes to my servlet.  My servlet can create the beans =
 (such as an error response bean, and a page-specific bean that stores =
 the user's input so they don't have to re-enter anything if there's an =
 error), but if it puts them in the request object, a sendRedirect() will =
 cause the beans to be lost (new request).  If I use the =
 requestDispatcher.forward() call, the beans are remembered, but the base =
 URL remains the servlet's URL, not the JSP page that is displayed.

 Aside from using session beans (which easily breaks down if the user is =
 actively moving about your site in two or more windows), how are people =
 handling this?

 Thanks,
 David


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



Re: Can you access servlet info through jsp bean?

2000-07-09 Thread Hans Bergsten

Adding to what Casey said, below, I suggest you also take a look at the Tag
Extension Framework in JSP 1.1. A custom action (tag) gets access to
all servlet objects (request, response, session, context) automatically,
so it can extract all information it needs (parameters, headers, etc.).
It is also invoked automatically, so no scriptlet code is needed to
make it do what you want. Custom actions can of course be combined with
JavaBeans. Here's a simple example:

  %!-- Capture the user input in a bean --%
  jsp:useBean id="user" class="com.mycomp.UserInfoBean" 
jsp:setProperty name="user" property="*" /
  /jsp:useBean

  %!--
Validate the bean data with a custom action. If it's not
valid, forward to an error page, otherwise continue.
  --%
  foo:validateUser name="user" forwardOnError="invalid.jsp" /

  %!-- Save the validated info in a database --%
  foo:saveUser name="user" /

Without the custom actions, the bean would typically have to
implement the validation and saving methods as well, and the page
would look something like this:

  %!-- Capture the user input in a bean --%
  jsp:useBean id="user" class="com.mycomp.UserInfoBean" 
jsp:setProperty name="user" property="*" /
  /jsp:useBean

  %!--
Validate the bean data. If it's not valid, forward to an
error page, otherwise continue.
  --%
  % if (!user.isValid()) %
jsp:forward page="invalid.jsp" /
  % } %

  %!-- Save the validated info in a database --%
  % user.saveData() %


The difference is not striking in this simple example, but the version
with scriptlets is still more error prone. It's easy to miss one of
the parenthesis in the if statement, or the scriptlet with the closing
bracket, especially if you're a page author not used to programming.
A page authoring tool is also better suited to deal with the custom
action alternative and can help with the syntax, making sure all mandatory
attributes are defined, etc.

Hans

-
JSP Insider wrote:

 Hi Keith
 If you are using the bean approach. Passing data from the page is very
 simple and quick an example:

 jsp:useBean id="ReportBean" scope="request" class="MyPackage.MyBean"/
 jsp:setProperty name="ReportBean" property="rowDisplayCount"
 param="sle_size"/

 The nice thing about this is the Param field directly takes the
 output from your query string/ form data being posted to your page
 and send the data straight to your bean property.

 In fact if you name your property in the bean to match the form field
 exactly you
 can rewrite the above to look like this

 jsp:useBean id="ReportBean" scope="request" class="MyPackage.MyBean"/
 jsp:setProperty name="ReportBean" property="sle_size" /

 Also note there is wild card approach so I can rewrite once more as the
 following

 jsp:useBean id="ReportBean" scope="request" class="MyPackage.MyBean"/
 jsp:setProperty name="ReportBean" property="*" /

 and if you all your form fields name match to your bean property names
 This will pump all of the form/query data straight into your bean.

 You can also rewrite these to look like the following

 jsp:useBean id="ReportBean" scope="request" class="MyPackage.MyBean"/
 jsp:setProperty name="ReportBean" property="rowDisplayCount"
 param="sle_size"/
 /jsp:useBean

 The difference in syntax being  that the properties are being sent to the
 bean during
 JSP pages initialization of the bean

 Now I prefer using the first approach since I like being able to see
 on my page what’s going in my bean , I find it easier to debug when I can
 see everything happening, the wildcard approach can be dangerous since you
 are assuming everything you need is aligned and this can make debugging
 problems
 harder.

 

 Now which approach is better in JSP design. They are both good.
 My preferences are base upon available resources and complexity of the web
 site.
 SO when I am the only Java developer, or when the customer
 is light on the Java approach. I like to use beans and JSP. I can
 make the beans quickly. They are easy to plug in and out
 of your JSP pages. I also prefer this approach on smaller simple sites
 since you won't have a huge number of beans to maintain / juggle

 If I have access to several serious Java developers then switching
 to a more centralize servlet system to handle your site will give you
 more options in your site I feel. For extremely Large Sites and More
 complicated
 processing the servlet approach would be better. With the centralize
 servlet approach you can optimize your site to a greater degree and reuse
 more
 elements and have a finer degree of control on how your site is being
 processed.
 Now I must also admit I prefer to program smaller sites SO I currently stick
 to the first approach.

 Casey Kochmer
 WWW.JSPInsider.com
 [EMAIL PROTECTED]

 From: keith kwiatek [EMAIL PROTECTED]
 Reply-To: A mailing list about Java Server Pages specification and
  reference [EMAIL PROTECTED]
 To: 

Jsp welcome file

2000-07-09 Thread Stefano Andreani

I would like to set the http://localhost:8000/myapp/Main.jsp url as welcome
file, but
I can't configure J2EE SDK 1.2.1 to read a jsp file as welcome file: if I
request to my browser the address http://localhost:8000/myapp/ the browser
shows the following error:

Error: 500

/_0005c_0005cMain_0002ejspMain_jsp_5 (wrong name:
_0005c_0005cMain_0002ejspMain_jsp_5)

And the stack trace is:
java.lang.NoClassDefFoundError: /_0005c_0005cMain_0002ejspMain_jsp_6 (wrong
name: _0005c_0005cMain_0002ejspMain_jsp_6)
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:442)
 at org.apache.jasper.runtime.JspLoader.defClass(JspLoader.java:242)


But if I explicitly request the url http://localhost:8000/myapp/Main.jsp the
page is processed and appears without any problem.

This is an abstract of my deployment descriptor:

web-app
...
  servlet
servlet-namewebTierEntryPoint/servlet-name
display-namemainJsp/display-name
descriptioncentral point of entry for the Web app/description
jsp-file/Main.jsp/jsp-file
  /servlet
  servlet-mapping
servlet-namewebTierEntryPoint/servlet-name
url-pattern/Main.jsp/url-pattern
  /servlet-mapping
...
  welcome-file-list
welcome-file/Main.jsp/welcome-file
  /welcome-file-list
...
/web-app

Thanks to all!
Stefano.

===
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: JSP - servlet - JSP request scope object passing

2000-07-09 Thread Shiraz Wasim Zaidi

 This is no doubt a common question, but if I have a JSP page, that does =
 a FORM POST to a servlet, and that servlet's job is to do some parameter =
 checking, invoke the correct operations on beans/EJBs, then redirect the =
 user to the correct JSP page to display the results.

Well why do you want to redirect the user to the correct JSP why not forward
to it.
Redirecting is an expensive method as the response has to be sent to the
client followed
by the request back to the server.

If I use the requestDispatcher.forward() call, the beans are remembered,
but the base
 URL remains the servlet's URL, not the JSP page that is displayed.
It looks like either you are getting the requestDispatcher from
ServletRequest or
you are passing the JSP path in such a way that it is relative to the
current request.
In both cases the path would be relative to the current request.

I think if you get the requestDispatcher  object from ServletContext and
pass the path
relative to root context i.e / then you should be fine i.e your path would
be relative to
your root context not servlet.

For e.g.

Say your servlet URL is
http://www.myserver.com/servlet/myservlet

now from ur servlet you can forward using the following path
getRequestDispatcher("/jsp/myjsp.jsp").forward(req, res);

/ above makes the path relative to ur root context not servlet request.


-Shiraz

===
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: [Re: JSP editor]

2000-07-09 Thread abhishek shodhan

What about Forte 4 Java

Love Always,
Abhishek Shodhan.

Manisha Menon [EMAIL PROTECTED] wrote:
I am using NetObjects Scriptbuilder and it is good.

--- Sanjay Gomes [EMAIL PROTECTED] wrote:
 Multi Edit can be found at multiedit.com
 Yes Geert its a good idea to have a poll on the
 topic
 Btw From where can I download the editor

 Regards
 Sanjay

 From: [EMAIL PROTECTED] (Shashwati
 Panigrahi)
 Reply-To: "[EMAIL PROTECTED]"
 [EMAIL PROTECTED]
 To: 'Sanjay Gomes' [EMAIL PROTECTED]
 Subject: RE: JSP editor
 Date: Thu, 6 Jul 2000 13:15:24 +0530
 
 thanks a lot
 
 -Original Message-
 From:  Sanjay Gomes [SMTP:[EMAIL PROTECTED]]
 Sent:  Thursday, July 06, 2000 06:34 PM
 To:[EMAIL PROTECTED]
 Subject:   RE: JSP editor
 
 At www.multiedit.com
 
 Regards
 Sanjay
  From: [EMAIL PROTECTED] (Shashwati
 Panigrahi)
  Reply-To: "[EMAIL PROTECTED]"
 [EMAIL PROTECTED]
  To: "'[EMAIL PROTECTED]'"
 [EMAIL PROTECTED]
  Subject: RE: JSP editor
  Date: Thu, 6 Jul 2000 12:36:56 +0530
  
  Where can I get MultiEdit from ?
  
 

---
  Shashwati Panigrahi
  Project Leader
  Contech Software Ltd.
  E-3/1,2,3, GIDC Electronics Estate,
  Sector - 25, Gandhinagar - 382 044, INDIA
  Phone : 91 - 2712 - 44989  Ext  035
  Fax : 91 - 2712 - 44468
  Email  : [EMAIL PROTECTED]
  URL: http://www.contechgroup.com
 

---
  Disclaimer: You are requested to carry out  your
 own virus checks before
  opening the contents of this email and its
 attachment, if any. While we
  take every reasonable precaution to minimize this
 risk, we cannot accept
  any liability for damage which you can sustain as
 a result of software
  viruses.
  
  -Original Message-
  From:Sanjay Gomes
 [SMTP:[EMAIL PROTECTED]]
  Sent:Thursday, July 06, 2000 05:38 PM
  To:  [EMAIL PROTECTED]
  Subject: Re: JSP editor
  
  Multiedit is a good one .
  It also does compiling by automatically detecting
 ur compiler directory
 and
  running the Java program using that
  Regards
  Sanjay
  
  
   From: Brad Miley [EMAIL PROTECTED]
   Reply-To: A mailing list about Java Server
 Pages specification and
reference [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: Re: JSP editor
   Date: Wed, 5 Jul 2000 23:33:42 GMT
   
   textpad
  
 


   Get Your Private, Free E-mail from MSN Hotmail
 at
 http://www.hotmail.com
   
  

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


  Get Your Private, Free E-mail from MSN Hotmail at
 http://www.hotmail.com
  
 

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


 Get Your Private, Free E-mail from MSN Hotmail at
 http://www.hotmail.com
 
 



 Get Your Private, Free E-mail from MSN Hotmail at
 http://www.hotmail.com


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


__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

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



Get free email and a permanent address at http://www.amexmail.com/?A=1


Interfacing Microsoft Excel/ Word/ RTF in JSP/Servlets

2000-07-09 Thread Shankar Gopal

Hi

I have a unique requirement to Interface Excel/ Word/ RTF documents in a
data entry screen. I wud always prefer to achieve this in Servlets/JSPs.
The data entry screen has a couple of fields to enter and in addition to
that the user will create a document (either excel/word/RTF) and save this
as a blob attachment in that record.  Please direct me how to achieve this.
Appreciate all your help in advance.

shankar
[EMAIL PROTECTED]
[EMAIL PROTECTED]

===
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: [Re: JSP editor]

2000-07-09 Thread JSP Insider

My two cents on editors, I have used 3 over the past 2 months.

I am currently using Forte.

Forte
**
Good parts:
-Its free.
-Very logical in its arrangements
-Offers all the basic features I would expect from an IDE.
-Handles JSP pages in a nice manner and you can run the JSP
pages straight out of the editor using its own servlet container
-Easy to learn

Bad Parts
- won't generate Jar files for you
- SLOW SLOW SLOW SLOW and oh I did I mention its SLOW?
- the hot metal interface doesn’t work quite the way you would like
in a windows environment which is distracting
- Slow,  sorry but its slow enough to be mentioned twice

Unless you have a fast machine I cannot recommend it. I will probably
won’t stick to this editor unless SUN speeds up its performance.
It really is a nice JAVA IDE and I do like Forte alot, and I want
to keep using it but the slowness and its odd screen habits are too
distracting.

http://www.sun.com/forte/ffj/ce/download.html

IBM Visual Age
**
Good parts
-Very visual, lots of meaty drag and drop style coding with an easy
to understand interface
- Its free if you use under 750 classes
-Has a code repository to die for!
- has a nice java code library to expand your code with

Bad parts
-not intuitive takes a while to get use to
-ITs very visual, I couldn't easily create my own beans from the ground
up, it seemed to force me to use its visual system
-if you use their beans and library objects you can lock yourself
into their IDE for all practical purposes

IN the end I dropped using Visual age since I found it too hard to
code my beans without  Visual Age wanting to use it’s visual design mode.
(I suppose thats why its called VISUAL AGE)  But I still drool for that
repository.


Sybase PowerJ

Good Parts
-Has the most awesome built in help system, very easy and powerful
drag and drop help and coding

Bad Parts
No support for JSP yet.
The debugger is poor at best. In fact,
I never did get the debugger working right in PowerJ

I ended up stopping using PowerJ due to its lack of JSP Support and its lack
of solid Java 1.2 support. You can use Java 1.2 in PowerJ but it still has
some major Ties to vm1.1.8. The next release is supposed to upgrade past
these concerns however. While I find PowerJ to be a solid Java editor, its
not meant for JSP development yet.


My next editor stop over probably will be Jrun, since I like HomeSite and
From what I have seen of it, it is basically HomeSite for Java

Casey Kochmer
www.JSPInsider.com  a new JSP web site :)
[EMAIL PROTECTED]


From: abhishek shodhan [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [Re: JSP editor]
Date: Sun, 9 Jul 2000 23:31:19 EAT

What about Forte 4 Java

Love Always,
Abhishek Shodhan.



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
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: variable passing????

2000-07-09 Thread Xing guohong

a href="../Delete.jsp?value=%=java.net.URLEncoder.encode(val)%

xgh.
- Original Message -
From: "subramanian Athimoolam" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 07, 2000 11:19 PM
Subject: variable passing


 hi friends

 here i am passing variable form one jsp page to another page.
 single string means no problem.  its passing.

 ex.
   value=category
   a href="../Delete.jsp?value=%=val%
 the value will be passing  next page

 suppose the value contain two string means it will give error.
value=category one
   a href="../Delete.jsp?value=%=val%

 it will give error..
 how can i correct it??

 thanks
 subu

 **
 Learnet India Ltd.,
 Bangalore
 **






 
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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



Apache/Servlets Configuration

2000-07-09 Thread Rajendra Patade

hi there,

I am trying to configure Apache server 1.3.12 and Apache JServ 1.1.2
Getting the following error:

This error is logged as soon as I start the Apache Server but the
server start successfully
File : jserv.log and error is
[09/07/2000 23:17:40:680 GMT+05:30] ApacheJServ/1.1.2: Exception creating
the server socket: java.net.SocketException: create (code=10106)
File : error.log and error is
ApacheJServ/1.1.2: Exception creating the server socket:
java.net.SocketException: create (code=10106)

While requesting for data from servlet it throws 500 internal error.
Sometimes also get the error saying apj12 cannot communicate.This get logged
into mod_jserv.log file

Pl. throw some lite.

Rajendra






Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
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: Jsp welcome file

2000-07-09 Thread Ritesh_Srivastava

i suppose that a welcome page should be renamed as Index.jsp and the same
should be made availabel in public_html folder.

 --
 From: Stefano Andreani[SMTP:[EMAIL PROTECTED]]
 Reply To: A mailing list about Java Server Pages specification and
 reference
 Sent: Monday, July 10, 2000 12:35 AM
 To:   [EMAIL PROTECTED]
 Subject:  Jsp welcome file

 I would like to set the http://localhost:8000/myapp/Main.jsp url as
 welcome
 file, but
 I can't configure J2EE SDK 1.2.1 to read a jsp file as welcome file: if I
 request to my browser the address http://localhost:8000/myapp/ the browser
 shows the following error:

 Error: 500

 /_0005c_0005cMain_0002ejspMain_jsp_5 (wrong name:
 _0005c_0005cMain_0002ejspMain_jsp_5)

 And the stack trace is:
 java.lang.NoClassDefFoundError: /_0005c_0005cMain_0002ejspMain_jsp_6
 (wrong
 name: _0005c_0005cMain_0002ejspMain_jsp_6)
  at java.lang.ClassLoader.defineClass0(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:442)
  at org.apache.jasper.runtime.JspLoader.defClass(JspLoader.java:242)


 But if I explicitly request the url http://localhost:8000/myapp/Main.jsp
 the
 page is processed and appears without any problem.

 This is an abstract of my deployment descriptor:

 web-app
 ...
   servlet
 servlet-namewebTierEntryPoint/servlet-name
 display-namemainJsp/display-name
 descriptioncentral point of entry for the Web app/description
 jsp-file/Main.jsp/jsp-file
   /servlet
   servlet-mapping
 servlet-namewebTierEntryPoint/servlet-name
 url-pattern/Main.jsp/url-pattern
   /servlet-mapping
 ...
   welcome-file-list
 welcome-file/Main.jsp/welcome-file
   /welcome-file-list
 ...
 /web-app

 Thanks to all!
 Stefano.

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



Re: [ how to use bean ?] ON Java Wweb Server]]

2000-07-09 Thread Sanjay Gomes

Hi Paras,
Couldnt acces ur mesage earlier
Were u able to solve the problem
Sanjay



From: Paras Sharma [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [ how to use bean ?] ON Java Wweb Server]]
Date: Sun, 2 Jul 2000 15:24:00 SMT

hi  no i including that package  but still
problem is coming

Sanjay Gomes [EMAIL PROTECTED] wrote:
  r u including the required packages in the jsp
  using the JSP:include tag
  Sanjay
  
  Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
 
 
===
  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



Get free email and a permanent address at http://www.netaddress.com/?N=1

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


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
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: Jsp welcome file

2000-07-09 Thread Yasir Feroze Minhas

Hi,
Please check your webserver.xml file in the jswdk directory to make sure
that you have correctly mapped your "myapp" directory for your web
application. If you have not touched that file yet then you can get your
main.jsp file simply by putting it in jswdk\examples\jsp directory.

regards
Yasir

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