RE: strut-config.xml parse error issue - Urgent!!

2004-07-13 Thread Ashutosh Satyam
Thnx a million Erik. It worked but still couldn't make out how DTD is enforcing this particular behaviour. :-) Ashutosh -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 10:31 AM To: Struts Users Mailing List Subject: Re: strut-config.xml parse e

Re: Declarative Exception handling question

2004-07-13 Thread Hubert Rabago
Just to clarify for archive searchers. The and work with declarative programming. These tags were introduced to provide the programmer more control over the formatting of the messages, compared to what provide. For example, require HTML tags to be present in the message itself in the applica

Re: strut-config.xml parse error issue - Urgent!!

2004-07-13 Thread Erik Weber
In your action mapping, put your exception elements *before* your forward elements, not after. Cheers, Erik Ashutosh Satyam wrote: Hi, I have a struts based web application. Recently I updated my struts config file to handle exceptions declaratively. Below is the snippet of the struts config fil

strut-config.xml parse error issue - Urgent!!

2004-07-13 Thread Ashutosh Satyam
Hi, I have a struts based web application. Recently I updated my struts config file to handle exceptions declaratively. Below is the snippet of the struts config file.

Re: Declarative Exception handling question

2004-07-13 Thread Erik Weber
Thanks Hubert. If you see my last post, you'll see that I solved the problem without having to write any Java code -- I did it all declaratively and with tags. Nowhere in my code do I create ActionMessages instances -- I am trying to let Struts do this for me, and stick with declarative program

Re: Declarative Exception handling question

2004-07-13 Thread Erik Weber
OK I solved the problem. The problem was that the html:errors tag that is pulling messages from the default bundle apparently renders errors.header and error.footer if *any* error message is stored as a request attribute, no matter what bundle that error message might come from. This seems wron

RE: Can html:checkbox take only yes/true/on as value?

2004-07-13 Thread Shilpa Vaidya
Hi prashant One of my edit pages faced this kinda stufff... checked <%} else{%> <%}%> value="Y"> value="Y" <%} else{%> value=""<%}%> perhaps this will work as it encloses the check box ...its prepoulated value...at the same time...a hidden field which sets the new value...incase we cl

Re: Browser's refresh problem

2004-07-13 Thread Hubert Rabago
Any chance that you just forget the resetToken() call? http://husted.com/struts/catalog.html (search for "resetToken") --- Ding Lei <[EMAIL PROTECTED]> wrote: > On Tue, Jul 13, 2004 at 08:12:23AM -0700, Hubert Rabago wrote: > > --- Ding Lei <[EMAIL PROTECTED]> wrote: > > > > > > Hi Hubert, > > >

Re: Declarative Exception handling question

2004-07-13 Thread Hubert Rabago
For validation errors, do the usual, using the saveErrors to pass them to the JSP: // validation error ActionMessages actionMessages = new ActionMessages(); actionMessages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("illegal.username", username)); saveErrors(request, actionMessages)

Re: Browser's refresh problem

2004-07-13 Thread Ding Lei
On Tue, Jul 13, 2004 at 08:12:23AM -0700, Hubert Rabago wrote: > --- Ding Lei <[EMAIL PROTECTED]> wrote: > > > > Hi Hubert, > > Thanks for your reply first .. but: > > > > On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote: > > > This is really how it's designed to work. For a form to

RE: How to extract columnNames values

2004-07-13 Thread Indra Gunawan
I have found a class in Spring framework ... BeanWrapperImpl which is useful but we have to use it in condition : we have to include Pojo always in ql for example we can't query only column names like userid, username we have to do it using Pojo itself like Person, User. Then we pass the

Re: Declarative Exception handling question

2004-07-13 Thread Erik Weber
Well, this didn't work, the header and footer from the default bundle are rendered even though there are no form validation errors, despite that the displayed error message is from the other bundle! Perhaps the errors.header and errors.footer are "inherited" from the default bundle if they are

RE: How to extract columnNames values

2004-07-13 Thread David Friedman
Indra, I believe you want the latest verion of Hibernate which has some Metadata available which should have the column names. I've never used it so you might want to check out the hibernate forums on hibernate.org. Regards, David -Original Message- From: Indra Gunawan [mailto:[EMAIL PR

Re: Declarative Exception handling question

2004-07-13 Thread Erik Weber
Seemingly a simple way to accomplish this would be to put the form validation error messages into one properties file, and to define errors.header and errors.footer for that file, and to put the non-form validation error messages into a different properties file, and to *not* define errors.head

popup with dynamic controls

2004-07-13 Thread Christina Siena
I'm developing a complex UI and need some help with managing dynamic controls in a popup. There is a main screen and a popup. The main screen displays data in table format: - in column one, a checkbox so the user can select which row they want to operate on - in column two, a date range i.e. fr

Declarative Exception handling question

2004-07-13 Thread Erik Weber
I am using the Validator plugin to do my form validation, and so with the tag placed at the top of my content area, the form validation messages are presented, with the header and footer defined by errors.header and errors.footer. In the traditional manner, the form validation output looks som

Re: Can html:checkbox take only yes/true/on as value?

2004-07-13 Thread Wendy Smoak
From: <[EMAIL PROTECTED]> > In regular HTML checkbox, the value of the checkbox can practically be > anything. Does the struts html:checkbox limit us to just yes/true/on > values? No, you can have anything you want as the value. It might default to yes or true, I haven't tried it. > If I have a

RE: Can html:checkbox take only yes/true/on as value?

2004-07-13 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 1:44 PM > To: [EMAIL PROTECTED] > Subject: Can html:checkbox take only yes/true/on as value? > I have searched high and low and found no clear explanation. Try husted.com/struts

Can html:checkbox take only yes/true/on as value?

2004-07-13 Thread Prashanthi . Pokala
Hi, In regular HTML checkbox, the value of the checkbox can practically be anything. Does the struts html:checkbox limit us to just yes/true/on values? If I have a list of records that I get from the database and I want to display it with a checkbox at the left, the value of the checkbox

RE: webapp deployment

2004-07-13 Thread Jim Barrows
> -Original Message- > From: Phyl [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 13, 2004 3:25 PM > To: Struts Users Mailing List > Subject: Re: webapp deployment > > > > > I'm using Tomcat 4.1.29 in the development machine and Tomcat > 4.0.3 in > the webserver. > > I wonder if th

Re: webapp deployment

2004-07-13 Thread Phyl
yep, load-on-startup is declared. i'm using it this way: action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml [...] 1 Phyl Erik Weber wrote: Make sure you have load-on-startup declared in web.xml! I h

Re: webapp deployment

2004-07-13 Thread Phyl
Tomcat is running with Apache web server, but in a Red hat linux system. I think the reason war deployment isn't available is somehow related to the way accounts provided by my hosting company are managed. I'm not sure though. Phyl [EMAIL PROTECTED] wrote: Are you using Tomcat in-process wit

Re: webapp deployment

2004-07-13 Thread Phyl
I'm using Tomcat 4.1.29 in the development machine and Tomcat 4.0.3 in the webserver. I wonder if this problem might have to be with the way is declared in server.xml. This is the way I have it in the development machine: - server.xml - [...

RE: How Flexible are Struts and El Tags?

2004-07-13 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 13, 2004 2:53 PM > To: Struts Users Mailing List > Subject: How Flexible are Struts and El Tags? > > > Using the standard JSP tags, we can pretty do much do > anything on a page, e.g.: > > <%

RE: Form action relative path

2004-07-13 Thread Jim Barrows
> -Original Message- > From: toto2004b2000 [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 7:08 AM > To: [EMAIL PROTECTED] > Subject: Re: Form action relative path > > > I've tried everything like this but it doesn't work... If you're trying to get outside the application scope

Please HELP with HARD problem: STRUTS-tags VS Proxy, Weblogic loadbalancing, and BASE tag

2004-07-13 Thread Lukas Latz
Hi List, I'm badly stuck with a STRUTS web-app that runs fine on Tomcat, but refuses to bahave nicely in production, where a Netscape Proxy on port 80 maps to a Netscape Webserver on port 8080, which in turn, with Weblogic plugin, does loadbalancing to 2 Weblogic machines on port 7001. As I don't

Re: Form action relative path

2004-07-13 Thread toto2004b2000
I've tried everything like this but it doesn't work... --- In [EMAIL PROTECTED], "atta-ur rehman" <[EMAIL PROTECTED]> wrote: > How about: > > > > ATTA > > - Original Message - > From: "toto2004b2000" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, July 07, 2004 1:34 A

How Flexible are Struts and El Tags?

2004-07-13 Thread Michael McGrady
Using the standard JSP tags, we can pretty do much do anything on a page, e.g.: <% List list = new TreeList(); list.add("first"); list.add("second"); Iterator iter1 = list.iterator(); while(iter2.hasNext()) { List list = someMapA.get(iter.next()); lIterator iter2 = list.iterator();

Filters, listeners and struts-config.xml

2004-07-13 Thread Jim Barrows
I've just googled to see how to get a filter to grab info from struts-config.xml, and haven't been able to find anything on it. I had assumed that it would have been a nice idea to have a StrutsFilter, just to be able to access the global forwards. Have I missed something? Is this a 1.2 feature

Re: validation wierdness possibly related to multiple struts config files

2004-07-13 Thread Bill Siggelkow
Are you using Struts 1.2 or the nightly build? I had this issue the other day and I think I got around it by using the new element instead of -- simply change arg0 to arg in your validation.xml. Or you can try using the new position attribute: Bill Siggelkow Bryan Hunt wrote: I have the foll

OT:Re: FW: Lesbian & gays Mpeg

2004-07-13 Thread Bryan Hunt
Well that won the prize for most OT message .. It beat the hibernate/linux/coffee machine questions --b malcolm wrote: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -

validation wierdness possibly related to multiple struts config files

2004-07-13 Thread Bryan Hunt
I have the following jsp page snip= : etc etc etc =snip I have 4 struts config files default.xml,client.xml,admin.xml,sales.xml They are declared as so in my web.xml file. snip= config /WEB-INF/str

FW: Lesbian & gays Mpeg

2004-07-13 Thread malcolm
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

FW: Lesbian & gays Mpeg

2004-07-13 Thread malcolm
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Validator confusion

2004-07-13 Thread nikhil walvekar
Hi,all in class org.apache.commons.validator.Field There are two member fileds. indexedProperty protected java.lang.String indexedProperty - indexedListProperty protected java.lang.String indexedListProperty - indexedListPrope

Re: Please HELP with HARD problem: STRUTS-tags VS Proxy, Weblogic loadbalancing, and BASE tag

2004-07-13 Thread Craig McClanahan
Lukas Latz wrote: Hi List, Sent this yesterday, but it seemed to not get through to the list. My apologies if it's come through already. : I'm badly stuck with a STRUTS web-app that runs fine on Tomcat, but refuses to bahave nicely in production, where a Netscape Proxy on port 80 maps to a Netscape

Re: Which validator approach to use

2004-07-13 Thread Craig McClanahan
Rick Reumann wrote: Bill Siggelkow wrote: Good point, Rick. Isn't this the sort of thing that JSF allows? Not sure haven't looked at JSF yet:) Plan to at some point. Craig? Of course, you can bind a validation to an action mapping using the ValidatorActionForm -- however this still forces your b

performance

2004-07-13 Thread Lionel
Hi all are there any performance increases between struts revisions ? 1.0 vs 1.1 vs 1.2 thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Browser's refresh problem

2004-07-13 Thread Hubert Rabago
--- Ding Lei <[EMAIL PROTECTED]> wrote: > > Hi Hubert, > Thanks for your reply first .. but: > > On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote: > > This is really how it's designed to work. For a form to be resubmitted, > the > > user will have to regenerate the form, maybe by go

RE: How to extract columnNames values

2004-07-13 Thread Robert Taylor
You might want to address the Hibernate mailing list as this is not really a Struts question...or at the very least prepend the subject with [OT]. robert > -Original Message- > From: Indra Gunawan [mailto:[EMAIL PROTECTED] > Sent: Friday, June 11, 2004 2:27 AM > To: 'Struts Users Mailing

logic:iterate fails on (large) collection - solved

2004-07-13 Thread Trygve Hardersen
Hello again Problem solved, it was, of course, a data error, caused by a message key not found in the ApplicationResources file. Sorry to have bothered you with a non-problem question, and many thanks for the quick and useful replies. That's (among other things) what makes the Java community so gre

How to extract columnNames values

2004-07-13 Thread Indra Gunawan
Dear Hibernate Users, I want to write a component or hopefully find one if there is any that can create a Swing table model based on query results . I could achieve this using resultset metadata (jdbc brute force way) . And I want to use Hibernate to do the same . But the difficulty is Hibernate

Re: Browser's refresh problem

2004-07-13 Thread Ding Lei
Hi Hubert, Thanks for your reply first .. but: On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote: > This is really how it's designed to work. For a form to be resubmitted, the > user will have to regenerate the form, maybe by going back two pages, to the > page that was shown *before

Re: Check for forward

2004-07-13 Thread Emmanouil Batsis
Bill Siggelkow wrote: Create a custom RequestProcessor that extends the Struts RequestProcessor. In the custom class override the processForwardConfig method to do whatever you want. Although not an API call, this is exactly what I needed. Thanks to all who answered. Manos -

Re: Initialization stuff

2004-07-13 Thread Bill Siggelkow
Martin, I would not override the ActionServlet -- the plug-in approach is much better and not hard at all. Here is a simple plug in and the Martin I. Levi wrote: Is this a better solution than mine? On Tue, 2004-07-13 at 14:06, Paul McCulloch wrote: You can do this by creating a class which impl

Re: Which validator approach to use

2004-07-13 Thread Rick Reumann
Bill Siggelkow wrote: Good point, Rick. Isn't this the sort of thing that JSF allows? Not sure haven't looked at JSF yet:) Plan to at some point. Craig? Of course, you can bind a validation to an action mapping using the ValidatorActionForm -- however this still forces your business objects to e

RE: Initialization stuff

2004-07-13 Thread Martin I. Levi
Yeah, but I just need to do initialization when the application starts, the validator and tiles are working all the time when requests come and go. Perhaps is a good solution also, but is mine wrong or discouraged? Thats what i really would like to know. On Tue, 2004-07-13 at 13:58, Matthias Wesse

Re: Initialization stuff

2004-07-13 Thread Emmanouil Batsis
Martin I. Levi wrote: Is this a better solution than mine? Although I often use servlets for initialization, Paul's suggestion is better because ServletContextListener was designed exactly for initialization/finalization purposes. Using the right tool for the job is a good practice even if you g

Validator confusion

2004-07-13 Thread nikhil walvekar
Hi,all in class org.apache.commons.validator.Field There are two member fileds. indexedProperty protected java.lang.String indexedProperty - indexedListProperty protected java.lang.String indexedListProperty - indexedListPrope

Re: Check for forward

2004-07-13 Thread Bill Siggelkow
Create a custom RequestProcessor that extends the Struts RequestProcessor. In the custom class override the processForwardConfig method to do whatever you want. Emmanouil Batsis wrote: Bill Siggelkow wrote: You can use container-managed security to restrict access to URLs -- IIRC direct request

RE: Initialization stuff

2004-07-13 Thread Martin I. Levi
Is this a better solution than mine? On Tue, 2004-07-13 at 14:06, Paul McCulloch wrote: > You can do this by creating a class which implements > javax.servlet.ServletContextListener. > > This requires a container supporting Servlet 2.3. > > Paul > > > -Original Message- > > From: Martin

Re: Check for forward

2004-07-13 Thread Emmanouil Batsis
Bill Siggelkow wrote: You can use container-managed security to restrict access to URLs -- IIRC direct requests (or redirects) to the resources is restricted, but forwards are not. True, as Michael also suggests (WEB-INF is by default protected by the container). However, I need some more flexib

Validator confusion

2004-07-13 Thread nikhil walvekar
Hi,all in class org.apache.commons.validator.Field There are two member fileds. indexedProperty protected java.lang.String indexedProperty - indexedListProperty protected java.lang.String indexedListProperty - indexedListPrope

Re: logic:iterate fails on (large) collection

2004-07-13 Thread Bill Siggelkow
Oops -- my bad -- the JSP comments are balanced <%-- --%> Bill Siggelkow wrote: It is not the size of the collection you are having the problem with but more likely it is data-related. Make sure you view the source that gets generated -- that will usually clue you into the offending data. Hmm --

Re: Which validator approach to use

2004-07-13 Thread Bill Siggelkow
Good point, Rick. Isn't this the sort of thing that JSF allows? Of course, you can bind a validation to an action mapping using the ValidatorActionForm -- however this still forces your business objects to extend this form and it doesn't solve the populate problem. As far as the problem of migr

multiple struts-config.xml and validator.xml files for dealing with "stories"

2004-07-13 Thread Mark Shifman
Ted Husted wrote: For a large, heavy-duty-input data-driven web application, I would recommend C. C) [Conventional class] is NOT used, data form validation is defined within the validation.xml and handled by struts, the Action class (or some surrogate) then enforces all business rules. I

Re: logic:iterate fails on (large) collection

2004-07-13 Thread Bill Siggelkow
It is not the size of the collection you are having the problem with but more likely it is data-related. Make sure you view the source that gets generated -- that will usually clue you into the offending data. Hmm -- I noticed that you are using HTML comments around some of your tags. Keep in

Re: Which validator approach to use

2004-07-13 Thread Rick Reumann
Bill Siggelkow wrote: I would concur with Ted -- I have worked with Struts apps that take approach (B) -- that is, using the business object as the Form -- not only does this bind your business object to the Struts API -- more importantly, you have to make sure that all the field types are strin

Re: logic:iterate fails on (large) collection

2004-07-13 Thread Michael McGrady
At 05:24 AM 7/13/2004, you wrote: This is the page code: <%@ include file="/common/taglibs.jsp"%> As you can see, this is not enough info. You might want to substitute escape characters for the html? - To unsubscribe, e-mail:

Re: Check for forward

2004-07-13 Thread Bill Siggelkow
You can use container-managed security to restrict access to URLs -- IIRC direct requests (or redirects) to the resources is restricted, but forwards are not. Emmanouil Batsis wrote: Michael McGrady wrote: You can add information to your forwards, but, since they are your forwards, why would yo

Re: Check for forward

2004-07-13 Thread Michael McGrady
There are all sorts of ways to do this. One good one is to put all your jsp pages inside WEB-INF. At 04:44 AM 7/13/2004, you wrote: Michael McGrady wrote: You can add information to your forwards, but, since they are your forwards, why would you? I would like to protect resources from direct ac

RE: logic:iterate fails on (large) collection

2004-07-13 Thread Matthias Wessendorf
only a quick hint. did you look into displaytags ? -->http://displaytag.sourceforge.net/ i usem them for iterating. since they create HTML as well hope it helps (abit...) > -Original Message- > From: Trygve Hardersen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 13, 2004 2:25 PM >

logic:iterate fails on (large) collection

2004-07-13 Thread Trygve Hardersen
Hello there This is driving me mad, any help or hints are much appreciated. I have a page that iterates through a collection of simple objects, and lists them for users to select some of them (checkbox), edit a property and submit the results (much like an inbox). This works great, when the list ha

Re: Which validator approach to use

2004-07-13 Thread Bill Siggelkow
I would concur with Ted -- I have worked with Struts apps that take approach (B) -- that is, using the business object as the Form -- not only does this bind your business object to the Struts API -- more importantly, you have to make sure that all the field types are strings or booleans. If no

RE: Initialization stuff

2004-07-13 Thread Paul McCulloch
You can do this by creating a class which implements javax.servlet.ServletContextListener. This requires a container supporting Servlet 2.3. Paul > -Original Message- > From: Martin I. Levi [mailto:[EMAIL PROTECTED] > Sent: 13 July 2004 12:47 > To: Struts Users Mailing List > Subject: In

RE: Initialization stuff

2004-07-13 Thread Matthias Wessendorf
Perhaps you can write a Plugin that is the way how tiles and Validator gets init. http://struts.apache.org/api/org/apache/struts/action/PlugIn.html regards > -Original Message- > From: Martin I. Levi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 13, 2004 1:47 PM > To: Struts Users Ma

Initialization stuff

2004-07-13 Thread Martin I. Levi
Hi! I would like to call an initialization class when my web application is loaded in the container to perform some extra init tasks. How should I do this? My idea was to subclass the ActionServlet and override the init method, is this ok or is there a better way to do this? Any help is welcome.

Declarative Exception Handling

2004-07-13 Thread Ashutosh Satyam
Hi All, If I'm going by the Declarative Exception handling approach, either by configuring in the struts-config.xml file or by using the exception element of , how do I replace parameter values for the key pointing to the message resource property file. + --

Re: Check for forward

2004-07-13 Thread Emmanouil Batsis
Michael McGrady wrote: You can add information to your forwards, but, since they are your forwards, why would you? I would like to protect resources from direct access (i.e. non forwarded requests), and was wondering if there is a more standard way to do it besides forcing everyone in my team t

Validator confusion

2004-07-13 Thread nikhil walvekar
Hi,all in class org.apache.commons.validator.Field There are two member fields. indexedProperty protected java.lang.String indexedProperty - indexedListProperty protected java.lang.String indexedListProperty Please tell me differnce between the two. In validat

Re: Check for forward

2004-07-13 Thread Michael McGrady
You can add information to your forwards, but, since they are your forwards, why would you? I don't understand the practical reach of this question. At 03:56 AM 7/13/2004, you wrote: Is there a way to "know" whether the HttpServletRequest I am processing (in my action or whatever) was forward

RE: Check for forward

2004-07-13 Thread ravi.vedala
My 2 cents : Add an attribute and decide from that !! -Original Message- From: Emmanouil Batsis [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 4:26 PM To: Struts Users Mailing List Subject: Check for forward Is there a way to "know" whether the HttpServletRequest I am proces

Check for forward

2004-07-13 Thread Emmanouil Batsis
Is there a way to "know" whether the HttpServletRequest I am processing (in my action or whatever) was forwarded and thus is not a direct or redirected request? Thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Please HELP with HARD problem: STRUTS-tags VS Proxy, Weblogic loadbalancing, and BASE tag

2004-07-13 Thread Lukas Latz
Hi List, Sent this yesterday, but it seemed to not get through to the list. My apologies if it's come through already. : I'm badly stuck with a STRUTS web-app that runs fine on Tomcat, but refuses to bahave nicely in production, where a Netscape Proxy on port 80 maps to a Netscape Webserver on po

Re: Which validator approach to use

2004-07-13 Thread Ted Husted
For a large, heavy-duty-input data-driven web application, I would recommend C. > C)  [Conventional class] is NOT used, data form validation is defined within the > validation.xml and handled by struts, the Action class (or some > surrogate) then enforces all business rules. I've had deep discuss

Problems in deploying struts-documentation.war in weblogic6.1 sp2

2004-07-13 Thread alok . garg
Hello, I am trying to deploy the struts-documentation.war that comes with struts 1.1 on weblogic 6.1 sp2. It does not deploy the application and it gives the following error: <> <101158> java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang