RE: session trakking in jsp or in Bean

2006-01-12 Thread Fredrik Rubensson
> Marju wrote: > I want to track a session of an input a user enter in my jsp page.The jsp page >is using a bean to execute sql queries.That works wel. > > My question is it advisable to track the session in the jsp page or in the >Bean.Which is better I am not sure I follow you here. The

RE: java.lang.Class.getResourceAsStream() throws ClassCastException

2006-01-11 Thread Fredrik Rubensson
> During initilization of my c3p0 connection pool by hibernate the below printed > exception occurs. The exception causes a failure in the c3p0 initilization and > thus hibernate and my application. > > Does anyone know what might cause this behavour? Seems like it is the catalina class loade

RE: error Ljavax/servlet/http/HttpServletRequest

2006-01-11 Thread Fredrik Rubensson
Hi, > I `m calling a bean from a jsp page that return HttpServletRequest snippet > > HttpServletRequest req= myBean.getMessage(); > out.write(req.getParameter("mess")); > where mess is a variable that was set in the bean > > My problem jsp can`t compile I got the following errors > >jav

RE: Concept for modeling hierarchical data

2006-01-10 Thread Fredrik Rubensson
Florian Lindner wrote: > > Florian Lindner wrote: > > >Hello, > > >I'm searching for the best concept of how to use and save > > >hierarchical data. I have a structure like PC file system with meta > > >data. There a folder objects and files objects of different types. > > >Every object hav

RE: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread Fredrik Rubensson
>> The only thing needed to run on 1.4 is the compatibility package, which >> contains a few class files that are standard in the 1.5 JRE but have to >> be downloaded separately for 1.4. > > It's not class files it contains: it's xml and jmx jars. I haven't quoted out of > context: I know the det

Re: Avoid duplication of database settings

2006-01-10 Thread Fredrik Rubensson
Sorry about the "antispammed" subject in my previous post. >>> I have an application consisting of a web application and some stand >>> alone java clients. Both the web application and the java clients use >>> a database. The problem is that the database configuration is >>> duplicated. > >> If

RE: [SPAM] - Re: Avoid duplication of database settings - Number of numbers in MIME From exceeds maximum threshold

2006-01-10 Thread Fredrik Rubensson
>>> I have an application consisting of a web application and some stand >>> alone java clients. Both the web application and the java clients use >>> a database. The problem is that the database configuration >>> is duplicated. > >> If you are doing it the ant way I recommend using filtering. >

RE: Tomcat IIS-redirector help

2006-01-09 Thread Fredrik Rubensson
> Curious though, I think you mentioned that you added the isapi filter to the web > sites container, on not the web site itself, is this correct? Yepp - I think you should be able to do it either way. If you want the filter to be active for all your web sites you can add it at the top level. T

RE: Tomcat IIS-redirector help

2006-01-09 Thread Fredrik Rubensson
at. - The only part that isn't documented is the one you just managed to do regarding the "Web Services Extensions". All the details is in the official documentation for JK. Follow the link and good luck with the tweaking. Regards, Fredrik Rubensson

RE: JasperException: No tag "xhtml" defined in tag library associated with uri "urn:jsptagdir:/WEB-INF/tags

2006-01-09 Thread Fredrik Rubensson
e of the taglib. The exception misses "tags" while you are downloading "xtags". May be one of those silly things... Hope this helped, Fredrik Rubensson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: jsp cannont find my bean class

2006-01-09 Thread Fredrik Rubensson
ccess it with http://localhost:8080/mygoodapp/jsppage.jsp assuming that you have a default installation of tomcat. Regards, Fredrik Rubensson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [SPAM] - Avoid duplication of database settings - Number of numbers in MIME From exceeds maximum threshold

2006-01-09 Thread Fredrik Rubensson
need on file I guess.) If you are using Maven there is some more support for filtering although the ant task still needs to be called explicilty. Regards, Fredrik Rubensson - To unsubscribe, e-mail: [EMAIL PROTECTED] For

IIS connector (JK-1.2.15) fails to call Tomcat - returns 404

2006-01-03 Thread Fredrik Rubensson
ch ajp13w -> /vbc [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_isapi_plugin.c (845): check if [/vbc] is points to the web-inf directory [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_isapi_plugin.c (863): [/vbc] is a servlet url - should redirect to ajp13w Any help would be highly appreicated. Regards, Fredrik Rubensson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]