Help coderanch get a
new server
by contributing to the fundraiser

Joshi Avadhut

Greenhorn
+ Follow
since May 13, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Joshi Avadhut

Hi,

I am new to using DBCP..I am using more than one datasources for the application and I want to obtain the connection object of particular datasource.. In this case do I need to write my ConnectionManager class or it is provided by DBCP. How do I handle this..please help.




Avadhut Joshi
Thanks buddy..its done I got my mistake it was not physically deployed..thanks a lot..I was stick in this for two days like a blind man.. thanks again..
15 years ago
D:\Workspace\strutsAjaxDemo\src\Libraries\
15 years ago
where should I check physical deployment. please help.
15 years ago
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: File "/struts-dojo-tags" not found
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:160)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:431)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:494)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
org.apache.jasper.compiler.Parser.parse(Parser.java:138)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)


15 years ago
I feel so as I have added it in library and it is showing in it..

is there any other way to check it.
15 years ago
autocompleter.jsp
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<%@ taglib uri="/struts-tags" prefix="s"%>

<html>
<head>
<title>Struts 2 Autocompleter Example!</title>
<sx:head parseContent="true"/>


</head>
<body>
<h1>Struts 2 Auto completer Example!</h1>
<s:label name="stateName" value="Select State Name:" />
<sx:autocompleter list="state" name="StateName"/>
</body>
</html>




<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>

<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
15 years ago
Thanks for this.

As per document I made changes
1. added jar
2. changed the tags

still getting following error

org.apache.jasper.JasperException: File "/struts-dojo-tags" not found

Sorry for bothering. Please help.

Thanks & Regards,

Avadhut Joshi
15 years ago
I used <s:head theme="ajax" />
15 years ago
Hi,

autocompleter and datetimepicker not working in Struts 2.

the error given as unknown tag or tag not defined

is this problem is due to some library file. I am using

struts2-core-2.1.6.jar
standard.jar
ognl-2.6.11.jar
jstl.jar
freemarker-2.3.8.jar
commons-logging-1.0.4.jar
commons-fileupload-1.2.1.jar
xwork-2.1.2.jar


Please help.

Thanks & Regards,

Avadhut Joshi

15 years ago
Hi,

I want to use MS-SQL Server 2000 as database in my application along with Struts 2 & hibernate 3 (in eclipse 3.4 with Tomcat 6).

I am new to this. How should I go ahead in this. Can you please help.. if you have got any link of example then please pass it on.

Thanks & Regards,

Avadhut Joshi
15 years ago
Thanks friends. This was my first doubt and happy that all you helped.

added following jars and it worked

xwork-2.1.2 (instead of xwork-2.0.1)
struts2-core-2.1.6 (instead of struts2-core-2.0.6)

Thanks again.
15 years ago
1. freemarker-2.3.8
2. jstl
3.ognl-2.6.11
4.standard
5.struts2-core-2.0.6
6.xwork-2.0.1

15 years ago


Hi

I am new to Struts 2. I tried to run a sample code in Eclipse 3.4 (which is working in NetBeans). Its giving following error

java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher

Note:
I have searched on net for the same and did check following
1. web.xml
2. all required jars
3. tomcat version 5.5 instead of 6
4. eclipse 3.1

Still I have not got the success. Is there anyone who can help me out please.

Thanks & Regards,

Avadhut Joshi

15 years ago