Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Yellaiah Gopireddy

Greenhorn
+ Follow
since Mar 24, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Yellaiah Gopireddy

Tomcat 5.5
|
webapps
|
DatePrj
|
WEB-INF
|
web.xml
classes
|
web
|
dateServlet.class

is this looks like your folder structure??If no,put your folder structure like this.
[ October 18, 2008: Message edited by: Yellaiah Gopireddy ]
9 years ago
Yes....This is one kind of tabglib URI declaration, declaring taglib URI in TLD file itself.

-YGR
do you know JDBC concepts? if yes you can use same kind of implementation for struts based application also or else go through the JDBC topics by that you can come to know how to access database from your applications.

~~YGR
[ September 21, 2008: Message edited by: Yellaiah Gopireddy ]
9 years ago
Thank you Bear Bibeault.
9 years ago
Hi,

I am building one web application using struts1.1. I wanted to redirect to one error page if session gets timed out and implemented in programmatic way using servlet API as I couldn't find solution in a declarative way.

I have gone through the previous posts but all of those explained programmatic way... And I couldn't find any tag in web.xml for my requirement.


can we achieve this in a declarative way. If yes, could you please explain it.

Thanks in advance.

~YGR
[ September 20, 2008: Message edited by: Yellaiah Gopireddy ]
9 years ago
1. set your compiler settings
right click in package explorer--> build path --> configure build path
--> java compiler

2.right click on your java file --> runas --> run...
enter your arguments details in 'arguments' tab

-YGR
please post your code and exception or problem details which you are facing.

~YGR
Hi santhosh,

Lot of ground work involved in transforming your data from server to client. All this implementation is with servers(web servers/app servers). This may vary from one server to another. If you want to get it in full details you will have to go through server APIs which is not really required to work with servlets.

-YGR
9 years ago
Hi Jackie,

are you trying to access a web service?

if yes, try to understand your WSDL. It gives you required information to access webservice. You can easily find detailed information about WSDL on net.

Thanks,
YGR
9 years ago
karthik,

Why can't you use Axis as SOAP Engine for you?
I am not much aware about SOAP API, but i am using Axis in my project to implement webservices.

Thanks,
Yella
10 years ago
Refer java.net.HttpURLConnection class implementation. Using this you can implement your requirement.
11 years ago
Hi Napur,
I hope with small change in your web.xml will solve your small

<web-app>
<servlet>
<servlet-name>HelloServlet</servlet-name>
<servlet-class>HelloServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloServlet</servlet-name>
/****upto this no problem*************/

You defined url pattern for your servlet like below
<url-pattern>/HelloServlet/*</url-pattern>

instead of this try to write like below
<url-pattern>/HelloServlet</url-pattern>

/*****below this also fine************/
</servlet-mapping>
<welcome-file-list>
<welcome-file>welcome.html</welcome-file>
</welcome-file-list>
</web-app>
11 years ago