Re: exception in jsp file

2009-02-18 Thread benjamin haimerl
hi, do you have a jsp called: ajust_005fcpe1.jsp in your project? it looks like a null pointer on this jsp take a look at tomcat/work/../yourApp where all the jsp's should be dropped as a java class.. then you should see where the null pointer came from. ben elyes sallem wrote: Hello, i

Re: Problem with default value

2009-03-04 Thread benjamin haimerl
hi i would use html:optionsCollection if you want to use the "selected=selected" feature form.jsp: <%@ page language="java" pageEncoding="UTF-8"%> <%...@page import="java.util.ArrayList"%> <%...@page import="java.util.Collection"%> <%...@page import="java.util.Vector"%> <%...@page import="org.apa

Re: identify action

2009-03-14 Thread benjamin haimerl
://host:port/context/start.do (if the action servlet is configured (by web.xml) to *.do) take a look in your struts-config.xml (/WEB-INF/struts-config.xml next to the deployment descriptor web.xml) search for .. the class ->your.package.action.StartAction<- is what you were searching for Be

Re: Need help using

2009-03-16 Thread benjamin haimerl
exceptions greetings benjamin haimerl hermann.x@jpmchase.com wrote: I am having trouble getting two links to work. The links render properly but when I click on the links, it doesn't forward to the appropriate page. I am not getting any exceptions on the server either. What am I missing?

Re: Need help using

2009-03-16 Thread benjamin haimerl
logging to my action classes and it looks like the classes are even being called. This leads me to believe that the configuration is not correct... but I have looked over my config many times and I don't see anything wrong with it. Any ideas? Thanks for your help! benjamin haimerl

Re: How to avoid validation if request was done by GET method?

2009-03-26 Thread benjamin haimerl
hi boraldo a very simple way should be: Action: YourActionConnetedToTheFormAction extends Action..{ execute(..){ String qString = request.getQueryString(); if(qString!=null && paramsFound(...)) // *paramsFound() = check if your formParams were given by query String } else { //check if your

Re: How to avoid validation if request was done by GET method?

2009-03-27 Thread benjamin haimerl
d properly that ActionSupport.validate method that you used here performs the same validation as validation interceptor ? How can I see if there were validation errors ? benjamin haimerl wrote: hi boraldo a very simple way should be: Action: YourActionConnetedToTheFormAction exte

Re: problem in Struts

2009-03-27 Thread benjamin haimerl
hi, the index.jsp you post in here, does not have a link to search.jsp just 2 lines of text. So i cant reproduce the error you described. For example this index.jsp presents a link to search.jsp and it works: (of course html:link will work too) <%@ taglib uri="http://struts.apache.org/tags-html