amul shah

Greenhorn
+ Follow
since Mar 28, 2008
Merit badge: grant badges
For More
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 amul shah

Hi all,

I have an interview with [ company X ].I am working on Java since 2.5 Yrs. can anyone suggest me what all should i prepare to clear this interview.

it will be of great help if any one can help me

thanks
[ May 15, 2008: Message edited by: Ulf Dittmer ]
15 years ago
Hi nikalas,

I tried what ever you said but still i was not able to get the page. Please keep posting some suggesstions.

Thanks
15 years ago
Thanks niklas for you advice i will try it and let you know about same.
15 years ago
Hi all,

I am new to struts framework. I am creating a sample application. I am getting the following error message. i am using Tomcat 5.0 server

The requested resource (/Login.do) is not available

my files are as follow

Struts-config.xml
===================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">

<struts-config>
<action-mappings>
<action path="/Login" type="action.DemoAction" input = "/jsp/common/Login.jsp">
<forward name="Success" path="/jsp/common/Message.jsp">
</forward>
</action>
</action-mappings>
</struts-config>
JPS
========
<html>
<body>
<form name = "LoginForm" action="/Login.do">
UserName<input name="name"><br>
Passwd<input name="passwd"><br>
<input type="submit" value="Go">
</form>
</body>
</html>
ACTION CLASS
================
package com.phr.action;

import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.struts.action.*;
public class DemoAction extends Action
{
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws Exception
{
System.out.println("\nExecution Sucess");

// Call the Business Logic
System.out.println("object : ");
System.out.println("Msg : " );
String name = "amul";
//ModelClass model = new ModelClass();
//String retMessage = model.returnMessage(request,response);
request.setAttribute("Message",name);

return(mapping.findForward("Success"));
}
}

After going to the url i am getting that the resource could not be found. i am now totally confuse as why this is not working.

It will be a great help if anyone can pin poing the problem wiht this. I am using the folder structure as follows

e:
Our project
|
-- PHR
|
---JavaSource
|
---
action
|
--- All java Files
|
--WebContent
|
----
jsp
|
---
Common
|
-- All JSP Files
|
WEB-INF
|
----
classes
lib
All XML Files
action
All Java Files
WebContent
Classes
JSP
Common
All JSP Files
WEB-INF
Classes
lib
All the XML Files as well

[ April 19, 2008: Message edited by: amul shah ]
[ April 19, 2008: Message edited by: amul shah ]
15 years ago
Hi all,

I am trying to find from where exactly can i download MySql Database. Can anyone of you provide me the link for it.

Thanks

Amul
Hi all,

I have 6 buttons on my JSP. I want to implement a functionality of disabling the buttons. In that I don�t have problem implementing the functionality for 4 buttons (On click of any button remaining buttons should be disabled till the request of clicked button is completed. After that they can be enabled). Out of 6 I have 2 buttons. On click of the button a new window opens up and we have converted the mime type of that jsp to an excel format.(Requirement specific)

Now When I click the button all other 5 should be disabled including that. But the excel sheet opens in a new window and as it is an excel sheet I don�t have an option to refresh a parent page there by again enabling the other disabled buttons.

Can there be any way to do this.
[ April 01, 2008: Message edited by: Bear Bibeault ]