RE: move from PHP to Struts

2006-01-05 Thread Bogdan Paduraru
Hi, What would be the best server to use to run a J2ee application made with Struts ? Would be nice to have some free licence options but also those that costs money. My application would connect to a postgresql db, put/get data on/from it within a website which displays the almost the same

simple struts example : HTTP 404

2006-01-05 Thread Rakesh.Bhat
Hi, I have just started writting struts application,however i am getting a HTTP 404 error. Below is my index.jsp %@ taglib prefix=fmt uri=http://java.sun.com/jsp/jstl/fmt; % %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % html head link href=c:url value='/emp.css'/

Re: simple struts example : HTTP 404

2006-01-05 Thread Pazhanikanthan Periasamy
You have not specified how you are accessing it thru your browser. Thanks and regards, Pazhanikanthan. P Project Leader, Caritor (India) Pvt. Ltd., Madras - 600 006 Mob: 9884321672 Extn: 4307 -[EMAIL PROTECTED] wrote: - To: user@struts.apache.org From: [EMAIL PROTECTED] Date:

Re: Validation in ie5

2006-01-05 Thread Niall Pemberton
Kristian, Could you please reply to the mailing lists rather than me directly, thx. I applied a patch to Commons Validator 1.2.0 which resolved an IE5.5 issue http://issues.apache.org/bugzilla/show_bug.cgi?id=37315 ...and I was hoping that would resolve your issue. The second error you

Re: move from PHP to Struts

2006-01-05 Thread Vikrama Sanjeeva
Hi, I want to share my exp. with Bogdan. I m also new to struts. I started it with sound backround in Java, JSP and Servlets. I read various articles on struts and it's benefits and then I deployed Lesson 1 from Rick's tutorial. Initially I face some problems in understanding struts framework

Re: ErrorStyleClass

2006-01-05 Thread Niall Pemberton
Hey, you're welcome. I remembered I set up a page for highlighting errors. It wasn't that good and didn't address your issue properly so I've updated it - might help the next person though. http://www.niallp.pwp.blueyonder.co.uk/strutshighlight.html Niall - Original Message - From:

Need Help in Dispaly Tag

2006-01-05 Thread JEEVANATHAM P. /BPCRP/INFOTECH/VASHI
Hi all, For data grid I am using display Tag. I have added radio button as a first column of my table. My problem is how can I get data when the radio is checked (one row only in which row radio is checked)? Please let me know. Regards, JEEVANANTHAM PARAMASAMY, --

RE: simple struts example : HTTP 404

2006-01-05 Thread Rakesh.Bhat
Yes,sir.I am accessing it thru your browser. Kind regards, Rakesh Bhat PrimeSourcing(tm) The Global IT Services business from i-flex - Add Value Reduce Risk www.iflexsolutions.com/services/services.asp i-flex solutions limited - Bangalore Phone : (080) 5759-6873 Email : Rakesh.Bhat@

Re: Validation in ie5

2006-01-05 Thread Kristian.L.Petersen
Hi, I have replaced : function retrieveFormName(form) { // Please refer to Bugs 31534, 35127, 35294 37315 // for the history of the following code if (form.getAttributeNode) { if (form.getAttributeNode(id) form.getAttributeNode(id).value) {

RE: simple struts example : HTTP 404

2006-01-05 Thread Pazhanikanthan Periasamy
Kindly send the URL thru which u are accessing it from the Browser. Unless we see that we cant debug. Thanks and regards, Pazhanikanthan. P Project Leader, Caritor (India) Pvt. Ltd., Madras - 600 006 Mob: 9884321672 Extn: 4307 -[EMAIL PROTECTED] wrote: - To: user@struts.apache.org

RE: simple struts example : HTTP 404

2006-01-05 Thread Rakesh.Bhat
See after I click on below link in index.jsp a href='c:url value=setupEmployeeForm.do/'Add An Employee/a Below is the url. http://localhost:8080/Emp_App/WEB-INF/setupEmployeeForm.do Kind regards, Rakesh Bhat PrimeSourcing(tm) The Global IT Services  business from i-flex - Add Value

RE: simple struts example : HTTP 404

2006-01-05 Thread Pazhanikanthan Periasamy
http://localhost:8080/Emp_App/WEB-INF/setupEmployeeForm.do WHY does WEB-INF pattern in the URL ? Have you protected all your resources? If not, It should be like http://localhost:8080/Emp_App/setupEmployeeForm.do This should work Thanks and regards, Pazhanikanthan. P Project Leader, Caritor

RE: simple struts example : HTTP 404

2006-01-05 Thread Rakesh.Bhat
Now I changed this,early it was http://localhost:8080/Emp_App/setupEmployeeForm.do This is not working also. Kind regards, Rakesh Bhat PrimeSourcing(tm) The Global IT Services  business from i-flex - Add Value Reduce Risk www.iflexsolutions.com/services/services.asp i-flex solutions

struts tags in JSP's

2006-01-05 Thread Raghuveer
Does there will be any performance issue if i use struts tags like logic tags, when comapred to if condion in scriplet in JSP. Does there will be any impact on request/responce time of use only struts tags in JSP's. -

RE: simple struts example : HTTP 404

2006-01-05 Thread Pazhanikanthan Periasamy
Have u configured your web.xml with the Strust Action Servlet? Have u associated a URL Pattern as *.do? Thanks and regards, Pazhanikanthan. P Project Leader, Caritor (India) Pvt. Ltd., Madras - 600 006 Mob: 9884321672 Extn: 4307 -[EMAIL PROTECTED] wrote: - To:

RE: simple struts example : HTTP 404

2006-01-05 Thread Rakesh.Bhat
Yes sir. Kind regards, Rakesh Bhat PrimeSourcing(tm) The Global IT Services  business from i-flex - Add Value Reduce Risk www.iflexsolutions.com/services/services.asp i-flex solutions limited - Bangalore Phone : (080) 5759-6873 Email :  Rakesh.Bhat@ iflexsolutions.com -Original

Re: struts tags in JSP's

2006-01-05 Thread Pazhanikanthan Periasamy
No for both as both these are performed ast Server level thought u use JSP scriptlets or Struts tags. Thanks and regards, Pazhanikanthan. P Project Leader, Caritor (India) Pvt. Ltd., Madras - 600 006 Mob: 9884321672 Extn: 4307 -Raghuveer [EMAIL PROTECTED] wrote: - To:

RE: simple struts example : HTTP 404

2006-01-05 Thread Pazhanikanthan Periasamy
Are you sure that the Application Server did deploy the webapp and configure the Struts XMLs during startup? Have you configured (in web.xml) to mandatorily validate the Struts Configuration files during startup by the Action Servlet? Thanks and regards, Pazhanikanthan. P Project Leader,

[Shale] Clay TH bug

2006-01-05 Thread hermod.opstvedt
Hi I have discovered a possible bug in Clay with respect to table th tags: This can be verified as follows: Put the following on a page table tbody tr th/th /tr /tbody /table This will give an error:

Re: Validation in ie5

2006-01-05 Thread Niall Pemberton
I can't see any difference between the two version of the retrieveFormName() function you've pasted here. Also can you find out whats on line 1361? Niall - Original Message - From: [EMAIL PROTECTED] Sent: Thursday, January 05, 2006 9:41 AM Hi, I have replaced : function

Re: Validation in ie5

2006-01-05 Thread Kristian.L.Petersen
The diff is : form.attributes[name]; return form.attributes[name]; Line 1361 is : oMasked = eval('new ' + retrieveFormName(form) + '_mask()');

Re: Validation in ie5

2006-01-05 Thread Niall Pemberton
OK thx, I didn't notice the missing return - thats one bug then. The only suggestion I can think of is to add a ; in the eval expression (after mask()) - so something like... replace.. oMasked = eval('new ' + retrieveFormName(form) + '_mask()'); with... oMasked = eval('new ' +

Struts version for websphere 5.1?

2006-01-05 Thread Shivani Sawhney
Hi, I am trying to run a very simple application on struts on WebSphere 5.1 and am getting the following error: SRVE0026E: [Servlet Error]-[]: java.lang.NullPointerException at org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1114) at

Re: Struts version for websphere 5.1?

2006-01-05 Thread Pazhanikanthan Periasamy
I dont think there should be any specific version compatible issues in Struts and WebSphere. What is that you are trying to do which causes this problem? Post the code snippet to nail down if the problem is Struts related or not. Thanks and regards, Pazhanikanthan. P Project Leader, Caritor

Re: external URL in struts app

2006-01-05 Thread Christopher Becker
By proxy action, do you refer to the external url that I have already mentioned? If so, that is what I am trying to circumvent. The external servlet returns a response which I do not wish to display to the user of our application and the format of the response (over which I have no control) does

Re: external URL in struts app

2006-01-05 Thread Dave Newton
Christopher Becker wrote: By proxy action, do you refer to the external url that I have already mentioned? If so, that is what I am trying to circumvent. The external servlet returns a response which I do not wish to display to the user of our application and the format of the response (over

RE: simple struts example : HTTP 404

2006-01-05 Thread Sunil_Sahu
Rakesh, Did you configure the mapping in ActionServlet and URL pattern do. You should have following configuration in your web.xml: !-- Standard Action Servlet Configuration -- servlet servlet-nameaction/servlet-name

RE: simple struts example : HTTP 404

2006-01-05 Thread Sunil_Sahu
Rakesh, I think you should have following doctype in your struts-config.xml !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.2//EN http://struts.apache.org/dtds/struts-config_1_2.dtd; Currently you have following doctype: !DOCTYPE struts-config PUBLIC

RE: simple struts example : HTTP 404

2006-01-05 Thread Ramkumar.Sakthivel
Hi All, The problem is resolved. Thanks a lot for all your input. Thanks and Regards, S.Ramkumar Associate Consultant - Investment Banking PrimeSourcing(tm) Add Value Reduce Risk i-flex solutions limited, Bangalore Ph:+ 91-80- 22086000/57596000- extn 6873 E-Mail:[EMAIL PROTECTED]

Help!!Me

2006-01-05 Thread Shailesh Barde
  Hello! How to load a class from 2 different jars in a java class file using ClassLoader?

Re: simple struts example : HTTP 404

2006-01-05 Thread Dave Newton
[EMAIL PROTECTED] wrote: The problem is resolved. For future reference, it's helpful to include how the issue was resolved: this way the archives maintain a more complete record of problems and resolutions. Dave - To

Re: Validation in ie5

2006-01-05 Thread Kristian.L.Petersen
Hi, I changed the retrieveFormName method so it now lookes like this : function retrieveFormName(form) { var x; if (form.getAttributeNode) { if (form.getAttributeNode(id) form.getAttributeNode(id).value) { x = form.getAttributeNode(id).value; }

RE: simple struts example : HTTP 404

2006-01-05 Thread Ramkumar.Sakthivel
Dave, We put tools.jar under TOMCAT_COMMON\lib folder and it started working. Thanks and Regards, S.Ramkumar Associate Consultant - Investment Banking PrimeSourcing(tm) Add Value Reduce Risk i-flex solutions limited, Bangalore Ph:+ 91-80- 22086000/57596000- extn 6873 E-Mail:[EMAIL PROTECTED]

[OT] [WILDLY-OT] Re: Help!!Me

2006-01-05 Thread Dave Newton
Shailesh Barde wrote: How to load a class from 2 different jars in a java class file using ClassLoader? Um... you want to load a single class from two different jars?! Please try to include something about the nature of your question in the subject header. Dave

Missing message for key

2006-01-05 Thread Gündüz Can Topal
Hey I setup ApplicationResources.properties file incom.trend.struts package in src directory. In which I have title = MY TITLE element. My struts-config line as follows : message-resources parameter=com.trend.struts.ApplicationResources / A jsp page containing following code %@ taglib

Re: simple struts example : HTTP 404

2006-01-05 Thread Rick Reumann
[EMAIL PROTECTED] wrote the following on 1/5/2006 9:03 AM: Rakesh, I think you should have following doctype in your struts-config.xml !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.2//EN http://struts.apache.org/dtds/struts-config_1_2.dtd;

Re: Missing message for key

2006-01-05 Thread Rick Reumann
Gündüz Can Topal wrote the following on 1/5/2006 9:19 AM: I setup ApplicationResources.properties file incom.trend.struts package in src directory. Are you sure the file is being copied over to your com.trend.struts directory in classes? A lot of times people forget to make sure build

Re: Missing message for key

2006-01-05 Thread Dave Newton
Gündüz Can Topal wrote: I setup ApplicationResources.properties file incom.trend.struts package in src directory. Well, the webapp expects the properties file to be on your classpath, not in your source directory. When you create your WAR file or deploy your web application (presumably

Re: The framework I think I want...

2006-01-05 Thread Rick Reumann
Craig McClanahan wrote the following on 1/4/2006 4:24 PM: On 1/4/06, Rick Reumann [EMAIL PROTECTED] wrote: Since I've been working on a rich client .NET app for a while, I've been a bit out of the loop on all the latest 'goings on' in regard to frameworks. (I couldn't keep up with all the

Re: user Digest 5 Jan 2006 04:13:43 -0000 Issue 6352

2006-01-05 Thread David Bowers
Thanks for the reply. My long term goal is to transition to JSF. We are just starting to use it at my client, so it's a bit of a trial run, but I think we will adapt it more full-scale eventually. To start with, I want to use JSF to develop new pages and new functionality. When working on a

Re: The framework I think I want...

2006-01-05 Thread Joe Germuska
At 9:39 AM -0500 1/5/06, Rick Reumann wrote: Craig McClanahan wrote the following on 1/4/2006 4:24 PM: On 1/4/06, Rick Reumann [EMAIL PROTECTED] wrote: Since I've been working on a rich client .NET app for a while, I've been a bit out of the loop on all the latest 'goings on' in regard to

Re: struts tags in JSP's

2006-01-05 Thread Frank W. Zammetti
It isn't unreasonable to think that a taglib will impose a performance impact over straight scriplets because there is extra work involved in executing the tag... the container needs to instantiate the tag class (although maybe there is a pool, I don't know), then populate the properties, then

Re: [struts-faces] forwarding managed-bean event handler

2006-01-05 Thread David Bowers
I forgot to change the subject on my last reply to a digest, so I am reposting with the proper subject. Please disregard the former post and accept my apologies. -- Forwarded message -- Thanks for the reply. My long term goal is to transition to JSF. We are just starting to use

Re: [Shale] Clay TH bug

2006-01-05 Thread Gary VanMatre
From: [EMAIL PROTECTED] Hi I have discovered a possible bug in Clay with respect to table th tags: This can be verified as follows: Put the following on a page Yeap, I agree. That's a bug. Please create a ticket on this one so that we don't loose track of it. Hermod

jar not loaded

2006-01-05 Thread Thibaut
Hi, When I load my struts application with tomcat I have this information : 5 janv. 2006 17:57:25 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/home/toto/workspace/cvdunetV51/WEB-INF/lib/servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.

Re: jar not loaded

2006-01-05 Thread Wendy Smoak
On 1/5/06, Thibaut [EMAIL PROTECTED] wrote: When I load my struts application with tomcat I have this information : 5 janv. 2006 17:57:25 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/home/toto/workspace/cvdunetV51/WEB-INF/lib/servlet.jar) - jar not

Re: Validation in ie5

2006-01-05 Thread Niall Pemberton
Can you submit a bugzilla against Commons Validator for this and then I'll look at trying patching in your suggestion. Thx. http://jakarta.apache.org/commons/validator/issue-tracking.html Niall - Original Message - From: [EMAIL PROTECTED] To: 'user@struts.apache.org' Sent: Thursday,

Re: user Digest 5 Jan 2006 04:13:43 -0000 Issue 6352

2006-01-05 Thread Craig McClanahan
On 1/5/06, David Bowers [EMAIL PROTECTED] wrote: Thanks for the reply. My long term goal is to transition to JSF. We are just starting to use it at my client, so it's a bit of a trial run, but I think we will adapt it more full-scale eventually. To start with, I want to use JSF to develop

Re: Need Help in Dispaly Tag

2006-01-05 Thread Laurie Harper
JEEVANATHAM P. /BPCRP/INFOTECH/VASHI wrote: Hi all, For data grid I am using display Tag. I have added radio button as a first column of my table. My problem is how can I get data when the radio is checked (one row only in which row radio is checked)? Make sure each radio button has

Re: Need Help in Dispaly Tag

2006-01-05 Thread Rick Reumann
JEEVANATHAM P. /BPCRP/INFOTECH/VASHI wrote the following on 1/5/2006 4:27 AM: For data grid I am using display Tag. I have added radio button as a first column of my table. My problem is how can I get data when the radio is checked (one row only in which row radio is checked)? Something

Re: The framework I think I want...

2006-01-05 Thread Tamas Szabo
I'm actually quite happy with what Struts has to offer except for the deal with having to use ActionForms. I'd really like a Struts-like framework but allows me to use POJOs to capture my data and provides a nice way to redisplay that data back to the user if validation fails (ie a POJO that

Re: The framework I think I want...

2006-01-05 Thread Craig McClanahan
On 1/5/06, Tamas Szabo [EMAIL PROTECTED] wrote: I'm actually quite happy with what Struts has to offer except for the deal with having to use ActionForms. I'd really like a Struts-like framework but allows me to use POJOs to capture my data and provides a nice way to redisplay that data

Re: The framework I think I want...

2006-01-05 Thread Michael Jouravlev
On 1/5/06, Tamas Szabo [EMAIL PROTECTED] wrote: I'm actually quite happy with what Struts has to offer except for the deal with having to use ActionForms. I'd really like a Struts-like framework but allows me to use POJOs to capture my data and provides a nice way to redisplay that data

Sending file name containing unicode characters in http file download

2006-01-05 Thread souravm
Hi All, I've an application which can be used for downloading file over web. Now if the file name contains Unicode characters which are not in iso-8859-1 range, the name appearing at the browser (in the download window asking for save) coming as junk. I'm passing the fine name through http

RE: Web Push Technology

2006-01-05 Thread souravm
Raghu/Frank, You are very right in saying that it is a real fun participating in a discussion where architects bring out all different aspects of the problems and solutions with the trade-offs. Now coming back to the topic in hand - 1. I agree with you about the applet route (and its

Re: Missing message for key

2006-01-05 Thread Vasumathi
hi u try like this in jsp page. bean:message key=title / Quoting Gündüz Can Topal [EMAIL PROTECTED]: Hey I setup ApplicationResources.properties file incom.trend.struts package in src directory. In which I have title = MY TITLE element. My struts-config line as follows :

RE: Sending file name containing unicode characters in http file download

2006-01-05 Thread Daniel Blumenthal
Sourav, I'm not sure, but I'd guess that you'd want to encode it as a transportable UTF-8 format on the server side, and decode it on the client side. Assuming that this is, in fact, what you need to do, you can find instructions on doing it here: http://www.w3.org/International/O-URL-code.html