could not deserialize the context attribute .. (configuration: struts 1.1 + web logic 8.1), is it a known bug ?

2003-10-19 Thread Shay Cohen
Hi, I've encountered lately the following exception Could not deserialize context attribute. Reported on the following attribute: Attribute: org.apache.struts.action.REQUEST_PROCESSOR (object: org.apache.struts.tiles.TilesRequestProcessor) After reading old emails

[NEWBIE] Struts and Applets

2003-10-19 Thread Marco Tedone
Hi, I'm just entering the AWT and Applet world in java (in the sense that I'm going to study those technologies). I was wondering if an Action can process information in an Applet. In few words if it would be possible to specify the following?: 1) From within an Applet, a link (by means of a

Re: [NEWBIE] Struts and Applets

2003-10-19 Thread Ted Husted
You might try thinking about it from the other direction. How about if there were a generic component or context object that was used by your business layer. So whatever it is your clients want either Swing application or a web application to do, is handled by your business layer code, which

RE-POST: Access ActionForm data from JSP page

2003-10-19 Thread Sudip Kumar Bhattacharya(HOTPOP)
POSTING AGAIN.. Hi all, I would like to get some fields in my jsp page from the ActionForm and display them as simple text in my web page. The idea is like when the user logs into the system, his username, location and address will be stored in some ActionForm and then on all the pages in the

RE: could not deserialize the context attribute .. (configuration: struts 1.1 + web logic 8.1), is it a known bug ?

2003-10-19 Thread Marc Dugger
I had a somewhat similar issue with Tomcat when it came to serializing a FormFile. I got around this by extending the MultipartRequestHandler and implementing Serializable. It appears that you could do the same with the RequestProcessor. Be sure to add this to your struts-config.xml:

Re: RE-POST: Access ActionForm data from JSP page

2003-10-19 Thread Mark Lowe
You may have taken the trouble to reflect on why there were no responses to your original post.. DynaActionForm theForm = (DynaActionForm) form; Map formMap = theForm.getMap(); ..or using beanutils... Map formMap = BeanUtils.describe( theForm ); session.setAttribute(details,formMap); ... //in

Re: could not deserialize the context attribute .. (configuration: struts 1.1 + web logic 8.1), is it a known bug ?

2003-10-19 Thread Martin Gainty
This is a WL specific issue servlet 2.3 spec disallow non serialized objects in the PageContext so built this into the current release of Weblogic. Later on Matt Heaton remarks: Struts source and it's trying to use objects which aren't serializable as JSP page context attributes Craig

Re: i18n - Chinese charactor problem

2003-10-19 Thread Adam Hardy
What version of mySQL do you have? I believe that complete unicode support is only present in the latest perhaps even beta versions. Adam On 10/18/2003 07:43 PM ZYD wrote: No, UTF-8 does not work. - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List

reading the xml file

2003-10-19 Thread Jiri Chaloupka
Hallo, I thinkin how I can read the xml file from /WEB-INF directory. I found something as InputStream is = servletContext.getResourceAsStream(/WEB-INF/something.xml) but how I can get servletContext?. Or, is t good way to read data, as datasource names, from xml file and store it as instance

Re: i18n - Chinese charactor problem

2003-10-19 Thread Jim Theodoridis
Wich jdbc driver for mySQL are U using? It works fine to me mysql-connector-java-3.0.8 for Greeks - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, October 19, 2003 7:09 PM Subject: Re: i18n - Chinese charactor problem

RE: could not deserialize the context attribute .. (configurat ion: struts 1.1 + web logic 8.1), is it a known bug ?

2003-10-19 Thread Shay Cohen
10nx. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Sunday, October 19, 2003 4:25 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: could not deserialize the context attribute .. (configuration: struts 1.1 + web logic 8.1), is it a known bug ?

Re: AW: AW: Looking up the Struts Datasource

2003-10-19 Thread Wolfgang Woger
Craig R. McClanahan wrote: Philipp Rthl wrote: That's not really what I would like to do. public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {

Oracle 10g Preview Linux [OT]

2003-10-19 Thread Christian Bollmeyer
Hi all, if anybody else is using the Oracle 10g Preview for Struts development and therefore had to live with the browser command line bug until now (the Preview always forgets the browser command line, and when starting OC4J, clicking on the link given in the 'Embedded OC4J' window doesn't work)

RE: reading the xml file

2003-10-19 Thread James Mitchell
Take a look at the DigestingPlugin: http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=digestingpluginb tnG=Google+Search -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Jiri Chaloupka

Re: reading the xml file

2003-10-19 Thread Craig R. McClanahan
Jiri Chaloupka wrote: Hallo, I thinkin how I can read the xml file from /WEB-INF directory. I found something as InputStream is = servletContext.getResourceAsStream(/WEB-INF/something.xml) but how I can get servletContext?. From inside an Action, you can call getServlet().getServletContext().

Re: reading the xml file

2003-10-19 Thread Larry Meadors
Doing it the way you describe will only work from a servlet. If that is ok, stop reading and do it that way. :-) A more general way would be to use a classloader instead. There are many good articles on how to do this (google for 'classloader resource'), but one simple way is this:

Re: AW: AW: Looking up the Struts Datasource

2003-10-19 Thread Craig R. McClanahan
Wolfgang Woger wrote: Craig R. McClanahan wrote: Philipp Rthl wrote: That's not really what I would like to do. public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)

Validator error (Struts nightly build)

2003-10-19 Thread Marc Dugger
I'm receiving the following exception: line 1:30: unexpected char: '0' at org.apache.struts.validator.validwhen.ValidWhenLexer.nextToken(ValidWhenLexe r.java:236) at antlr.TokenBuffer.fill(TokenBuffer.java:69) at antlr.TokenBuffer.LA(TokenBuffer.java:80) at

Re: Oracle 10g Preview Linux [OT]

2003-10-19 Thread Martin Gainty
Christian- I have downloaded JDeveloper 10g and noticed there is no Application Template for Struts? Is this intentional? Vielen Dank, -Martin - Original Message - From: Christian Bollmeyer [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, October 19, 2003

Re: i18n - Chinese charactor problem

2003-10-19 Thread ZYD
MySQL version: 4.1.0-alpha-max-nt, connection url is: drivers=org.gjt.mm.mysql.Driver mysql.url=jdbc:mysql://localhost:3306/CoderPool?user=rootpassword=useUnicode=truecharacterEncoding=UTF-8 mysql-connector-java-3.0.9-stable-bin.jar is in F:\Program Files\Apache Group\Tomcat 4.1\common\lib

Re: i18n - Chinese charactor problem

2003-10-19 Thread ZYD
I use mysql-connector-java-3.0.9-stable-bin.jar, it is in F:\Program Files\Apache Group\Tomcat 4.1\common\lib MySQL version: 4.1.0-alpha-max-nt, connection url is: drivers=org.gjt.mm.mysql.Driver

Re: i18n - Chinese charactor problem

2003-10-19 Thread ZYD
It's said version4.1 supports unicode, my MySQL version: 4.1.0-alpha-max-nt, but I cannot execute the following: CREATE TABLE unicodetable ( myrow VARCHAR(200) ) CHARACTER SET UTF8; ERROR 1115: Unknown character set: 'UTF8' connection url is: drivers=org.gjt.mm.mysql.Driver

Defining Struts in Terms of PofEAA

2003-10-19 Thread Shane Mingins
Hi I was wondering if someone could be so kind as to define the Struts architecture in terms of the patterns in Martin Fowler's Patterns of Enterprise Architecture. Is it possible to define the following elements in the controller layer (from Struts In Action): ActionForwards ActionForm Classes

Re: Defining Struts in Terms of PofEAA

2003-10-19 Thread Martin Gainty
Shane- Take a look at http://martinfowler.com/eaaCatalog/modelViewController.html To quote HyperDictionary: (MVC) A way of partitioning the design of interactive software. The model is the internal workings of the program (the algorithms), the view is how the user sees the state of the model and

RE: Defining Struts in Terms of PofEAA

2003-10-19 Thread Shane Mingins
Hi Martin Thanks, but no it didn't ;-) I am wondering if (for example) the Action Classes would actually be considered an ApplicationController(379) as opposed to an Input Controller which is the term Martin uses for the Controller in the MVC(330) pattern. Or maybe it's a

RE: Defining Struts in Terms of PofEAA

2003-10-19 Thread Peter Abbot
I recall a couple of weeks ago somebody responded to a similar question breaking each component from the struts framework into the matching design pattern(s). Try searching the list archives for it. Pete -Original Message- From: Shane Mingins [mailto:[EMAIL PROTECTED] Sent: Monday, 20

how to set an Alt or title messages on a html:select

2003-10-19 Thread Jonathon Brozny
The site that I am working on has many forms. And to make it easier on the users, I am making descriptions in either the alt attribute or the title attribute of the form, depending on the type. I have found that title works fine for the html:text, and alt works for images, neither of these works

RE: Defining Struts in Terms of PofEAA

2003-10-19 Thread Shane Mingins
Thanks for that Pete. The message you may be referring to was: Hi all, What are the various Design Patterns used in Struts? Links welcome Thanks Regards, Prasenjit Narwade. Does that look like it? The response was from the Struts In Action book i.e. (Appendix A). What I am wanting (if

tag help - wanting to represent a table with a scrollbar, a grid, etc.

2003-10-19 Thread Nick Faiz
Hi, Is anyone aware of a tag library which can provide me with a table within a table, which has a scroll bar? I'm trying to represent a varying collection of reports within a nested html table. I thought I'd see if there was a common, tag orientated solution to this before

RE: [FRIDAY] Free Dog..... (going further OT!)

2003-10-19 Thread Andrew Hill
Ha! You Americans are funny. Over here everything is very high tech. We even have a special gizmo that gives us the power to control office temperature through a local interface. Its this little knob thing mounted on the wall and if you rotate it clockwise the office gets warmer, and if you rotate

question on javascript...

2003-10-19 Thread Jacob Wilson
Hi... This is a basic question... Can I find the index of a select box, if I have the value or the text ??? select option value=A selectedA/option option value=BB/option option value=CC/option /select If I have the value A or B or C -- Will it be possible for me to do something like

RequestProcess

2003-10-19 Thread shaik noorulla
Hi Thanks in advance Struts 1.1 provides RequestProcess class , I want to know what is the uses this class compare to ActionServlet class , Is it more advance than ActionServlet class if any body knows about it please send me the deatils or send the link where i can get more

problem passing the value to html-el:frame

2003-10-19 Thread hari_s
Hi all ..! First I'd like sorry if my English really bad.. Actually this is a basic question, but I get sick with this problem, I have value that I want to display inside of frame, and this is my code html-el:frame page=/halFrame.jsp paramId=ide paramName=halActionForm paramProperty=nama2

RE: question on javascript...

2003-10-19 Thread Kruse, Matt
This is a basic question... Can I find the index of a select box, if I have the value or the text ??? document.formName.optionName.options[C].selected=true -- This won't work!! You need to loop through each option, checking to see it's value and then checking it. var s =