Poonam Vetal

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

Recent posts by Poonam Vetal

Mohana Rao Sv wrote:Use simple theme and apply your own style's by default it uses xhtml.

Struts Themes




Hey, thank you so much, Its working.
Bye
12 years ago
Hi all,

I have written code for login as,
<s:form action="login" method="POST">

<s:textfield name="userName" label="UserName" Value="Email Address" />
<s:password name="password" label="Password" value="******" />
<s:submit value="Login">
</s:submit>
</s:form>

I want to put vertical space between two text boxes also the label and text box on two different lines.

Please Help.

Thanks.
12 years ago

Joe Ess wrote:Assuming that you have the iText.jar file in WEB-INF/lib, that looks fine.
What is the contents of WEB-INF/lib?
What is the complete stack trace from the server log? I suspect that you may be missing an iText dependency.


Hi Joe,

Thank You so much.I was so stupid I have just included the itext JARs as a Externel Jar in classpath and haven't included in WEB-INF/lib.

Now the error is gone but still not getting the output but thank you so much.gn
12 years ago

Joe Ess wrote:How are you getting your web app on the server? Do you create a WAR and copy it somewhere the server can see it?
You would probably get a lot out of reading the Tomcat Application Developer's Guide.


Hi Joe,

I'm using the Ant script for the WAR files.
The scripting is like this,
build.xml


build.properties
12 years ago

Joe Ess wrote:Then your problem is either packaging or deploying the application. How are you accomplishing that?


Sorry Joe, I'm not getting what you have asked? I'm deploying application using tomcat server 6.0 on port 8080 and MySQL as http://localhost:8080/project name/

and packaging Hierarchy is like,

edu.cummins.cts.domain
Question.java
edu.cummins.cts.dto
QuestionDTO.java
edu.cummins.cts.persistence
GenericDAO.java
QuestionDAO.java
edu.cummins.cts.persistence.impl
AbstractGenericDaoImpl.java
QuestionDAOImpl.java
edu.cummins.cts.service
QuestionService.java
edu.cummins.cts.service.impl
QuestionDAOImpl.java
edu.cummins.cts.web
QuestionDAOImpl.java
12 years ago

Joe Ess wrote:Why are you using both iText-2.1.5 and itextpdf-5.1.1 ?
You probably don't need the *-javadoc and -sources JAR files.


Thanks Joe, I removed the itext-2.1.5 n *-javadoc and -sources JAR files
still showing same error java.lang.NoClassDefFoundError: com/itextpdf/text/pdf/parser/RenderListener
12 years ago
Hi all,

I am trying to Parse a PDF file to text file and store it into the MySQL database using Struts2 and Hibernate.
For PDF parsing I am using itext API.Its not running Showing java.lang.NoClassDefFoundError: com/itextpdf/text/pdf/parser/RenderListener

jars used are-
iText-2.1.5
itextpdf-5.1.1
itextpdf-5.1.1-javadoc
itextpdf-5.1.1-sources
itext-xtra-5.1.1
itext-xtra-5.1.1-javadoc
itext-xtra-5.1.1-sources

Now I'm just trying to convert Pdf to text file the code is-
Question.java


QuestionDTO.java

QuestionDAO.java


QuestionDAOImpl.java


QuestionService.java




QuestionServiceImpl.java



GenericDAO.java


AbstractGenericDaoImpl.java


pdfAction.java


12 years ago
Hello every one,
I am developing a project using struts2 and hibernate but I am very new to struts2.

I have started with login module but facing problems.

Please Help.

Thank You.
12 years ago