basic problem in java

2004-04-17 Thread birendar . waldiya
Hi, this may be a slightly silly question for people working on struts etc but im facing it and i dont have the clue why im getting it.. can anyone suggest me why im getting proble.. while compiling a java program my javac is unable to resolve the standard java classes like java.io.*

Re: Locale=true in html:html tag

2004-04-17 Thread Craig McClanahan
Stjepan Brbot wrote: Craig McClanahan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] You don't need it at all if you're willing to let the user's language selection in the browser control everything (which is the default behavior). If you want to offer a change Language control,

Re: Struts for fatclient-server applications

2004-04-17 Thread Craig McClanahan
Andrew Petro wrote: Struts could be used for the server portion of your client-server application -- the server could be implemented as a standard web application, perhaps providing XML to the client. The client would play the role of the web browser -- be the web browser -- in interacting with

Retaining Textbox values even after form submit

2004-04-17 Thread Nilesh
In my Struts application I am implementing Search, It is working fine with the relevant results being displayed. In the result page I again have the same SearchForm. The user can search any number of times because he is always provided with SearchForm. I want to retain (display ) the last

Re: Converting DTO into formBean and vice versa

2004-04-17 Thread Adam Hardy
String - java.sql.Date is possible with BeanUtils. Write a plugin to register a Converter with ConvertUtils at app startup. Actually I believe there are skeleton classes for LocaleBeanUtils to do what you want, but they haven't been programmed yet. Perhaps you should check on jakarta about their

Pls help on request parameter

2004-04-17 Thread sougata
Hi Guys, I am facing a problem.I have a country drop down.I am showing the corresponding country details from the drop downs options selected.Now I have a country name like Nepal Bhutan When I am trying to get the value of the country name using request.getParameter(country) it is showing only

Re: Pls help on request parameter

2004-04-17 Thread birendar . waldiya
User URLEncoder and URLDecoder to encode decode the variable wher the paramater are having character etc .. BTW Nepal Bhutan aret ow separate country. Birendar Singh Waldiya sougata [EMAIL PROTECTED] 17-04-04 05:16 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED]

Re: [OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-17 Thread Erik Price
On Apr 14, 2004, at 4:24 AM, Christian Bollmeyer wrote: Finally! http://otn.oracle.com/software/products/jdev/index.html (249MB) -- Chris No MacOSX version? :( -- Erik Price http://erikprice.com/ - To unsubscribe, e-mail:

RE: javascript -check all

2004-04-17 Thread Kruse, Matt
but i ahve a jsp using struts that has a table with rows.each row has a check box.I have a checkbox at the top of the table, clicking which, i want all below checkboxes to be checked..has anyone implemented this code.. I have a javascript library which makes this functionality very easy to

Re: Pls help on request parameter

2004-04-17 Thread Prashanth.S
hi... this is because when u forward to next page ur request parameter will go as country=nepalbhutan but it will be interpreted as country=nepalbhutan where country and bhutan becomes 2 name pairs...so urlencode that value and than decode it cheers prashanth sougata [EMAIL PROTECTED]

Re: Strange problem with the validator.

2004-04-17 Thread Nathan Maves
No ... it was the fact that I was missing the resource=false attribute. So the validator was looking for the var:maxLength key in the application.properties which of course is not there. Nathan On Apr 17, 2004, at 6:02 AM, Erik Price wrote: But what was it, for the sake of the archives? It

RE: basic problem in java

2004-04-17 Thread David Friedman
What is your CLASSPATH variable set to and is java installed in c:\biren\java? Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, April 17, 2004 2:47 AM To: Struts Users Mailing List Subject: basic problem in java Hi,

Detrmining which module from within JSP

2004-04-17 Thread Josh Holtzman
Hello, Can anyone suggest a means to determine the current struts application module from within a JSP? Would it be possible to use a Bean or Logic tag to make this determination? Thanks again for any suggestions. Regards, Josh Holtzman American Data Company [EMAIL

Re: [OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-17 Thread Christian Bollmeyer
On Saturday 17 April 2004 14:13, Erik Price wrote: On Apr 14, 2004, at 4:24 AM, Christian Bollmeyer wrote: Finally! http://otn.oracle.com/software/products/jdev/index.html (249MB) -- Chris No MacOSX version? :( Hi Erik, though MacOS X is not an officially supported platform, it

Re: tiles and custom RequestProcessor

2004-04-17 Thread Dean A. Hoover
Sorry, I should probably have included the exception: javax.servlet.ServletException: TilesPlugin : Specified RequestProcessor not compatible with TilesRequestProcessor org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.java:360)

Re: JSTL + isUserInRole

2004-04-17 Thread Christian Bollmeyer
On Friday 16 April 2004 21:58, Paulo Alvim wrote: Hi! Is it possible to test isUserInRole using JSTL 1.0 (like the struts logic present role tag)? Thanks in Advance... Alvim. Hi, AFAIK that's not possible in plain JSTL, so your options are either to use scriptlets or stick to the logic

Re: html:form

2004-04-17 Thread Christian Bollmeyer
On Saturday 17 April 2004 05:13, as as wrote: Hi Has anyone implemented two html:form in a same jsp.. I wish to do this to implement two tables.each table displaying values in a row, of a bean... so there are two beans... for some reason, it gives me error saying it cnat find getter for

RE: Retaining Textbox values even after form submit

2004-04-17 Thread Khalid K.
You can presist the lastSearchTerm in HttpSession and update your form object with it. In Action something like If(session.getAttribute(lastSearchTerm) != null) myform.setSearchTerm((String) session.getAttribute(lastSearchTerm)); -Original Message- From: Nilesh [mailto:[EMAIL

RE: Struts Application Security within the Controller Layer

2004-04-17 Thread Josh Holtzman
Joe, Your suggestion sounds interesting, but I'm not sure if I fully understand it. Correct me if I'm wrong. You suggest extending the ActionMapping class and adding the fields to this class that I will need for checking the user group that may access this path/resource. Let's say this is a

Re: Struts Application Security within the Controller Layer

2004-04-17 Thread Niall Pemberton
You don't need to add additional XML elements to the Action in the struts-config.xml to use a custom ActionMapping If you create your own custom ActionMapping with an additional securityLevel property: public class MyActionMapping extends ActionMapping { protected String securityLevel;

Re: Retaining Textbox values even after form submit

2004-04-17 Thread Craig McClanahan
Nilesh wrote: In my Struts application I am implementing Search, It is working fine with the relevant results being displayed. In the result page I again have the same SearchForm. The user can search any number of times because he is always provided with SearchForm. I want to retain (display )

Re: Detrmining which module from within JSP

2004-04-17 Thread Craig McClanahan
Josh Holtzman wrote: Hello, Can anyone suggest a means to determine the current struts application module from within a JSP? As long as you have correctly gone through an action first, the ModuleConfig object for the selected module has been stored as a request attribute under the key

A better exception-handling strategy?

2004-04-17 Thread Frank Burns
I want to have a consistent display of exceptions that occur in my Struts-based applciation. For exceptions that occur in my Action classes, I use the declarative exception handling mechanism and forward to a set of exception pages that I have created. However, the declarative exception handling

Re: A better exception-handling strategy?

2004-04-17 Thread Craig McClanahan
Frank Burns wrote: I want to have a consistent display of exceptions that occur in my Struts-based applciation. For exceptions that occur in my Action classes, I use the declarative exception handling mechanism and forward to a set of exception pages that I have created. However, the declarative

what should i do to set the session in the pageContext in a Action class?

2004-04-17 Thread Ricky Lee
hi, thanks for reading.. i have a problem about set the seesion(pageContext) in the action class.. i know that set the seesion in the request, just like request.getSession().setAttribute(login_username,userForm.getUsername()); and in the JSP page, we can use the code to get the seesion: