Re: Classes in WEB-INF/classes not visible to JSP pages

2002-07-12 Thread Vel

Hi Larry and RS,

Thanks for your feedback.

I did try importing the unpackaged classes, but with jdk 1.4 it gives an 
error that '.' is not found in the import statement, meaning i have to 
package.

I will do it hereafter, but for my older applications i can not use 
4.x.x and should be satisfied with 3.x.x and jdk 1.3, sad.

May i know the reason behind packaging the jsps into org.apchae.jsp?, if 
it isn't there it would be cool!

Thanks again
vel


[EMAIL PROTECTED] wrote:

With Tomcat 4.x.x, you need import unpackged classes as well.

RS





Larry Meadors [EMAIL PROTECTED] on 07/11/2002 09:36:05 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:[EMAIL PROTECTED]
cc:

Subject:Re: Classes in WEB-INF/classes not visible to JSP pages

I do not know if I would consider this a bug. There was a related post
just yesterday. If I understood it correctly, esentially, your jsp gets
compiled as being in the org.apache.jsp package. Unless you explicitly
import your unpackaged classes, they are expected to be in the
org.apache.jsp package as well.

Drink the Kool-Aid...package your classes.

Larry

[EMAIL PROTECTED] 

I could not compile jsp pages which handle classes found in
WEB-INF/classes directory, 'class not found'. The classes are not
packaged but when packaged, the jsp pages works fine. The thing is, it
adds org.apache.jsp package to the class name?


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


.




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Classes in WEB-INF/classes not visible to JSP pages

2002-07-12 Thread rsequeira


I don't use JDK1.4. But if you get an error while importing classes without
a package name, it may be a bug. And if you can confirm that you should
probably file it with Sun. As for you packaging your classes, any specific
reason for you to package you classes in org.apache.jsp? I think what Larry
meant was you create you own package name.

RS





Vel [EMAIL PROTECTED] on 07/12/2002 05:40:14 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:Re: Classes in WEB-INF/classes not visible to JSP pages

Hi Larry and RS,

Thanks for your feedback.

I did try importing the unpackaged classes, but with jdk 1.4 it gives an
error that '.' is not found in the import statement, meaning i have to
package.

I will do it hereafter, but for my older applications i can not use
4.x.x and should be satisfied with 3.x.x and jdk 1.3, sad.

May i know the reason behind packaging the jsps into org.apchae.jsp?, if
it isn't there it would be cool!

Thanks again
vel


[EMAIL PROTECTED] wrote:

With Tomcat 4.x.x, you need import unpackged classes as well.

RS





Larry Meadors [EMAIL PROTECTED] on 07/11/2002 09:36:05 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:[EMAIL PROTECTED]
cc:

Subject:Re: Classes in WEB-INF/classes not visible to JSP pages

I do not know if I would consider this a bug. There was a related post
just yesterday. If I understood it correctly, esentially, your jsp gets
compiled as being in the org.apache.jsp package. Unless you explicitly
import your unpackaged classes, they are expected to be in the
org.apache.jsp package as well.

Drink the Kool-Aid...package your classes.

Larry

[EMAIL PROTECTED] 

I could not compile jsp pages which handle classes found in
WEB-INF/classes directory, 'class not found'. The classes are not
packaged but when packaged, the jsp pages works fine. The thing is, it
adds org.apache.jsp package to the class name?


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]


.




--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Classes in WEB-INF/classes not visible to JSP pages

2002-07-11 Thread Vel

Hi

I could not compile jsp pages which handle classes found in 
WEB-INF/classes directory, 'class not found'. The classes are not 
packaged but when packaged, the jsp pages works fine. The thing is, it 
adds org.apache.jsp package to the class name?

While a servlet works without a hitch, is it a mandatory step that all 
classes must be packaged or is it a bug in JSP compiler? If so, i will 
file a bug.

Thanks in advance.

I am having Tomcat 4.0.4 under JDK 1.4.0.

rgds
vel


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Classes in WEB-INF/classes not visible to JSP pages

2002-07-11 Thread Larry Meadors

I do not know if I would consider this a bug. There was a related post
just yesterday. If I understood it correctly, esentially, your jsp gets
compiled as being in the org.apache.jsp package. Unless you explicitly
import your unpackaged classes, they are expected to be in the
org.apache.jsp package as well.

Drink the Kool-Aid...package your classes.

Larry

 [EMAIL PROTECTED] 
I could not compile jsp pages which handle classes found in
WEB-INF/classes directory, 'class not found'. The classes are not
packaged but when packaged, the jsp pages works fine. The thing is, it
adds org.apache.jsp package to the class name?


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Classes in WEB-INF/classes not visible to JSP pages

2002-07-11 Thread rsequeira


With Tomcat 4.x.x, you need import unpackged classes as well.

RS





Larry Meadors [EMAIL PROTECTED] on 07/11/2002 09:36:05 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:[EMAIL PROTECTED]
cc:

Subject:Re: Classes in WEB-INF/classes not visible to JSP pages

I do not know if I would consider this a bug. There was a related post
just yesterday. If I understood it correctly, esentially, your jsp gets
compiled as being in the org.apache.jsp package. Unless you explicitly
import your unpackaged classes, they are expected to be in the
org.apache.jsp package as well.

Drink the Kool-Aid...package your classes.

Larry

 [EMAIL PROTECTED] 
I could not compile jsp pages which handle classes found in
WEB-INF/classes directory, 'class not found'. The classes are not
packaged but when packaged, the jsp pages works fine. The thing is, it
adds org.apache.jsp package to the class name?


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]