<light>
In JSP 1.0 there was no standard for which packages should be imported
automatically by the container when processing your JSPs into servlets. So in
JRun 2.3.3, a sensible set of packages were automatically available because we
imported them. I know java.util.* and java.io.* were both imported
automatically, for example. I don't recall what else.
In JRun 3.0, JSP 1.1 and 1.0 are supported. But in 1.0 there _is_ a standard
set of packages defined to be imported automatically by the container when
processing JSPs into servlets. This is a narrow set of packages, including only
all packages under javax.servlet. So no java.util.* imported automatically
anymore. Hence your compiler exceptions.
</light>
Scott Stirling
West Newton, MA
P.S. Your sig says Wipro is CMM level 5. Impressive. What do you guys do?
> -----Original Message-----
> From: Aravind Kumar LNS [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 25, 2000 11:27 PM
> To: JRun-Talk
> Subject: Vector fails in Jrun 3.0 and not in Jrun 2.3.3
>
>
> I am not sure if u have received my earlier mail on the same subject
> .Hence i am resending
> it
> -------
> I have a jsp page that has an embedded java code like this "Vector totalVect =
> wizardBean.getTotalList()" .This piece of code works fine in Jrun
> 2.3.3 but fails on
> Jrun 3.0 .It says
> "javax.servlet.ServletException: Compilation error occured:
> Found 2 errors in JSP file:
> :35: Error: Type Vector was not found.
> :35: Error: The type of the left-hand side in this assignment,
> "Vector", is not compatible
> with the type of the right-hand side expression, "java/util/Vector"."
> When i verified the JRun generated java files ,the one that is
> generated by Jrun 2.3.3 has
> an import java.util.* statement while the other one generated by Jrun
> 3.0 does not import
> this .
>
> PS: i have not explicitly imported any JAVA PACKAGE in my JSP page.
>
> Kindly throw some light on this
>
> Thanx
> Aravind
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.