Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 14 of 14
Search took 0.01 seconds.
Search: Posts Made By: meetravig
Forum: Java GUI September 21st, 2007, 05:06 AM
Replies: 0
Views: 1,390
Posted By meetravig
Table row background colour changing

I have a class "MyFrame" which is a subclass of "javax.swing.JFrame". In that, I have a table "myTable" and one property "myProperty".

Now, depending on the value of "myProperty", I've to change...
Forum: BOOK: Beginning JavaScript August 8th, 2007, 01:44 AM
Replies: 1
Views: 1,900
Posted By meetravig
Strange Behaviour

Have a quick look at the below HTML code. In this I'm trying to change an image dynamically when I selected through file control. It is working fine when I'm running it as a normal file. But when I'm...
Forum: Struts July 24th, 2007, 10:52 PM
Replies: 6
Views: 3,780
Posted By meetravig
In struts-config, Change the line <action...

In struts-config, Change the line

<action path="/Name" type="strutsapp.*.*.example.NameAction" name="nameForm">

to

<action path="/Name" type="example.NameAction" name="nameForm">

In...
Forum: Struts July 24th, 2007, 07:01 AM
Replies: 6
Views: 3,780
Posted By meetravig
One more thing which I didn't observed earlier...

One more thing which I didn't observed earlier was :

you used one tag called <action-mapping> and </action-mapping> which is not there in struts-config.

Change that to <action-mappings> and...
Forum: Struts July 24th, 2007, 01:32 AM
Replies: 0
Views: 1,563
Posted By meetravig
Problem in Struts Validation

I'm facing a problem with validation in sturts.

The scenario is like this.

I've two fields in a form. Lets say Field1 and Field2.

Field2 is dependent on Field1.

When I'm validating the...
Forum: Struts July 24th, 2007, 01:26 AM
Replies: 6
Views: 3,780
Posted By meetravig
I believe your form bean type example.NameForm is...

I believe your form bean type example.NameForm is proper. Please do check that first.

Second thing is in message-resources tag, you mentioned example/ApplicationResources. Change it to...
Forum: Struts July 21st, 2007, 06:02 AM
Replies: 1
Views: 2,369
Posted By meetravig
You may define your action class in any logical...

You may define your action class in any logical package you wish. Generally developers do define their action classes in sub packages of struts for convenience.
Forum: Pro JSP July 21st, 2007, 05:58 AM
Replies: 1
Views: 1,506
Posted By meetravig
You may write a simple java class which will do...

You may write a simple java class which will do socket communication with what ever server you want to communicate and call it in jsp. Hope this works.
Forum: JSP Basics July 21st, 2007, 05:30 AM
Replies: 4
Views: 1,218
Posted By meetravig
putAttribute method is not present in session...

putAttribute method is not present in session object.

Instead you have to use setAttribute to store a value in session.

The usage is: <%session.setAttribute(String, Object);%>

You can get...
Forum: Java Basics July 21st, 2007, 05:19 AM
Replies: 1
Views: 1,050
Posted By meetravig
JFrame object cannot be a container of JDialog...

JFrame object cannot be a container of JDialog object. It can be a owner. For example, you can show a File Dialog on a button (which is present in a frame) click action. You can not include JDialog...
Forum: Struts July 19th, 2007, 01:36 AM
Replies: 1
Views: 5,540
Posted By meetravig
There is no need of "/" in path. Generally it...

There is no need of "/" in path. Generally it will take from root folder.

Change like this

<action path = "/next"
type = "indexAction"
input = "/pages/Welcome.jsp">
<forward...
Forum: Struts July 19th, 2007, 01:01 AM
Replies: 0
Views: 1,533
Posted By meetravig
Form Bean in Struts

Why object of a form bean is getting created twice?

First time when the JSP is getting loaded

Second time when the JSP is getting submitted to an action.

Is it necessary to instantiate the...
Forum: Pro JSP July 14th, 2007, 01:47 AM
Replies: 4
Views: 4,903
Posted By meetravig
When unexpected close of browser happens,...

When unexpected close of browser happens, onunload may not work. So better to use session-timeout of web.xml.
Forum: Pro JSP July 14th, 2007, 01:34 AM
Replies: 0
Views: 977
Posted By meetravig
File Upload Problem

Hi, I'm facing a problem in file upload. I wrote a form with enctype="multipart/form-data". It is allowing me to upload a file with size less than 10 MB. After that the page even not getting...
Showing results 1 to 14 of 14

 


All times are GMT -4. The time now is 09:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.